/* ✅ Hero Section with fade layers */
header#hero {
  position: relative;
  height: 90vh; /* keep or adjust as you like */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-shadow: 1px 1px 4px black;
  text-align: center;
  overflow: hidden;
}

/* background layers */
#hero::before,
#hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1s ease-in-out;
}

#hero::before {
  z-index: 1;
  opacity: 1;
  background-image: var(--bg-before);
}

#hero::after {
  z-index: 2;
  opacity: 0;
  background-image: var(--bg-after);
}

/* during fade */
#hero.fade::before { opacity: 0; }
#hero.fade::after { opacity: 1; }

/* fallback */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

header h1 {
  font-size: 3rem;
  z-index: 3;
  position: relative;
}

/* ✅ Font Awesome self-hosted */
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  src: url('../webfonts/fa-brands-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  src: url('../webfonts/fa-solid-900.woff2') format('woff2');
}

.fab {
  font-family: 'Font Awesome 6 Brands';
  font-weight: 400;
}

.fas {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

/* Icons */
.fa-facebook::before { content: "\f09a"; }
.fa-instagram::before { content: "\f16d"; }
.fa-whatsapp::before { content: "\f232"; }
.fa-envelope::before { content: "\f0e0"; }

/* ✅ Remove underline from social icons */
.social-icons a,
.social-icons a:link,
.social-icons a:visited,
.social-icons a:hover,
.social-icons a:active {
  text-decoration: none !important;
}

/* ✅ Language Switch */
.lang-switch {
  position: absolute; 
  top: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 4;
}

.lang-switch button {
  background: rgba(255,255,255,0.8);
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.lang-switch button:hover {
  background: #f0f0f0;
}

/* ✅ Active button highlight (Option B) */
.lang-switch button.active {
  background-color: #ff6600;
  color: white;
  border-color: #d45500;
}

/* ✅ Language content toggle */
.lang-content {
  display: none;
}
.lang-content.active {
  display: block;
}


