/* =====================================================
   HEADER – SALTANAT HOME CONCEPT
   Clean • Professional • Responsive
===================================================== */

/* ===============================
   HEADER BASE
================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.header-container {
  max-width: 1300px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ===============================
   LOGO
================================ */
.site-logo a {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #0f5c4c;
}

.site-logo span {
  color: #ac8a17;
}

/* ===============================
   RIGHT SIDE (LANG + HAMBURGER)
================================ */
.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ===============================
   NAVIGATION
================================ */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  position: relative;
  font-weight: 500;
  padding-bottom: 4px;
  color: #333;
}

/* ACTIVE UNDERLINE */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #ac8a17;
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.current-menu-item > a::after {
  width: 100%;
}

/* ===============================
   LANGUAGE SWITCHER (POLYLANG)
================================ */
.lang-switcher ul {
  display: flex;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lang-switcher li a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #0f5c4c;
  padding: 6px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.lang-switcher li a:hover {
  background: rgba(172,138,23,0.15);
}

.lang-switcher .current-lang a {
  color: #ac8a17;
  border-bottom: 2px solid #ac8a17;
}

/* ===============================
   HAMBURGER
================================ */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}

/* ===============================
   MOBILE / TABLET
================================ */
@media (max-width: 992px) {

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    display: none;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  }

  .main-nav.active {
    display: block;
    animation: slideDown 0.35s ease;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .lang-switcher {
    order: -1;
  }
}


.lang-switch{
  display:flex;
  gap:8px;
  align-items:center;
}

.lang-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:34px;
  min-width:44px;
  padding:0 10px;
  border-radius:999px;

  text-decoration:none;
  font-weight:900;
  font-size:12px;
  letter-spacing:.08em;

  color:#fff;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  transition: .18s ease;
}

.lang-btn:hover{
  transform: translateY(-1px);
  border-color: rgba(198,162,74,0.55);
}

.lang-btn.is-active{
  background: var(--gold);
  color: #0b2d1f;
  border-color: rgba(198,162,74,0.75);
}


/* ===============================
   ANIMATION
================================ */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
