/* === Base === */

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;  
  font-size: 20px;
  text-shadow: 0.25px 0.25px 0.75px rgba(0,0,0,0.5);
  height: 100%;
  /* This is the fix: ensures the body's background doesn't hide our image */
  background-color: transparent; 
}

.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/background2.jpg') no-repeat center center;
  background-size: cover;
  z-index: -1; /* This ensures the background stays behind your content */
}

h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
}

/* === Landing === */

.landing {
  min-height: 100dvh; 
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  box-sizing: border-box;
}

.landing-content {
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  filter: brightness(0) invert(1);
  height: 300px;
  margin-bottom: 0.5rem;
}

#herotext {
  font-family: 'Raleway', sans-serif;
  font-size: 2.5rem;
  font-weight: 300;
  background: linear-gradient(180deg, #FFFFFF 60%, #B0B0B0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  animation: fadeInText 1.5s ease-in-out;
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === Language Switcher Flags === */

.language-switcher { 
  margin-top: 1rem; 
}

.language-options { 
  display: flex; 
  gap: 0.75rem; 
  justify-content: center; 
  align-items: center; 
}

.lang-flag {
  width: 30px; 
  height: 30px; 
  border-radius: 50%; 
  padding: 0; 
  border: none;
  background: none; 
  cursor: pointer; 
  transition: transform 0.3s ease; 
  position: relative;
}

.lang-flag img { 
  height: 100%; 
  width: 100%; 
  object-fit: cover; 
  border-radius: 50%; 
}

.lang-flag:hover { 
  transform: scale(1.1); 
}

.lang-flag.active { 
  transform: scale(1.2); 
  box-shadow: 0 0 10px #3E5B4D;
}

/* === Blur Box === */

.blur-box {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  margin: 7rem auto;
  max-width: 1000px;
  width: 90%;
}

/* === Footer === */

footer {
  text-align: center;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  margin-top: 2rem;
}

/* === Mobile & Responsive === */

@media (max-width: 768px) {
  /* This rule is no longer needed with the new background container method */
  /* body {
    background-attachment: scroll;
  }
  */
  
  .blur-box { 
    padding: 1rem; 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.4); 
  }
}
