/* ======================================================
   PREMIUM HEADER STYLES - LUXURY & SOPHISTICATED
   ====================================================== */

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 12px rgba(44, 110, 73, 0.15), inset 0 0 10px rgba(44, 110, 73, 0.05); }
  50% { box-shadow: 0 8px 24px rgba(44, 110, 73, 0.25), inset 0 0 20px rgba(44, 110, 73, 0.1); }
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(5deg); }
}

@keyframes shimmer {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

@keyframes borderFlow {
  0% {
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(44, 110, 73, 0.4), 0 0 0 0px rgba(44, 110, 73, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(44, 110, 73, 0.5), 0 0 20px rgba(207, 175, 107, 0.4);
  }
  100% {
    box-shadow: 0 0 20px rgba(44, 110, 73, 0.4), 0 0 0 2px rgba(207, 175, 107, 0.6);
  }
}

@keyframes ctaPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.site-header {
  background: linear-gradient(135deg, var(--color-secondary) 0%, rgba(207, 175, 107, 0.08) 100%);
  border-bottom: 2px solid var(--color-border);
  box-shadow: 
    0 8px 32px rgba(44, 110, 73, 0.08),
    0 2px 8px rgba(44, 110, 73, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
  overflow: hidden;
}

.site-header[data-scroll-active="true"] {
  box-shadow: 
    0 16px 48px rgba(44, 110, 73, 0.15),
    0 4px 12px rgba(44, 110, 73, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, rgba(246, 243, 234, 0.99) 0%, rgba(207, 175, 107, 0.1) 100%);
  backdrop-filter: blur(15px);
}

.header-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 800px 600px at right 20%, rgba(44, 110, 73, 0.02), transparent),
    radial-gradient(ellipse 600px 400px at left 80%, rgba(207, 175, 107, 0.02), transparent);
  pointer-events: none;
  animation: gradientShift 25s ease-in-out infinite;
  background-size: 200% 200%;
}

.header-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 50px;
  position: relative;
  z-index: 1;
}

/* ======================================================
   BRAND SECTION - PREMIUM
   ====================================================== */

.brand {
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.brand-link:hover {
  transform: translateY(-3px);
}

.brand-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-bamboo) 0%, var(--color-soft-green) 100%);
  border-radius: 16px; /* corner radius */
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.brand-icon-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 14px;

  /* Base color + radial texture */
  background-color: var(--card-bg-color); /* #fceecf */
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
  background-blend-mode: overlay;

  animation: pulseGlow 3s ease-in-out infinite;
}

.brand-link:hover .brand-icon-wrapper {
  box-shadow: 0 12px 32px rgba(44, 110, 73, 0.35);
  transform: scale(1.08) rotate(-5deg);
}

/* .brand-icon {
  width: 90%;
  height: 90%;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
} */
.brand-icon {
  width: 120%; 
  height: 120%;
  padding: 0;    
  object-fit: contain;
    position: relative;
}

.brand-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--color-dark);
  margin: 0;
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--color-dark), var(--color-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.brand-subtitle {
  font-size: 11px;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin: 0;
  opacity: 0.9;
}

/* ======================================================
   NAVIGATION MENU - PREMIUM
   ====================================================== */

.main-navbar {
  display: flex;
  gap: 36px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  position: relative;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.4s ease;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-bamboo));
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(207, 175, 107, 0.4);
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

/* ======================================================
   HEADER ACTIONS & BUTTONS - PREMIUM
   ====================================================== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.btn-premium {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-soft-green) 100%);
  color: white;
  box-shadow: 
    0 12px 32px rgba(44, 110, 73, 0.25),
    0 0 0 1px rgba(207, 175, 107, 0.3),
    inset 0 1px 2px rgba(44, 110, 73, 0.25); /* replaced white */
  position: relative;
}

.btn-premium::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 30%, rgba(44, 110, 73, 0.35), transparent 60%);
  border-radius: 10px;
  pointer-events: none;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(44, 110, 73, 0.35), transparent); /* replaced white */
  transition: left 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}

.btn-premium:hover::before {
  left: 100%;
}

.btn-premium:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 
    0 20px 48px rgba(44, 110, 73, 0.35),
    0 0 30px rgba(207, 175, 107, 0.5),
    0 0 0 2px rgba(207, 175, 107, 0.4);
  animation: ctaPulse 0.6s ease-in-out;
}

.btn-premium:active {
  transform: translateY(-2px) scale(0.98);
}

.btn-text {
  position: relative;
  z-index: 3;
  font-family: 'Inter', sans-serif;
}

.btn-icon {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 3;
  font-weight: 700;
  font-size: 16px;
}

.btn-premium:hover .btn-icon {
  transform: translateX(4px);
}

/* ======================================================
   MOBILE MENU TOGGLE - PREMIUM
   ====================================================== */

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  transition: all 0.3s ease;
}

.burger-line {
  width: 26px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 3px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-menu-toggle[aria-expanded="true"] .burger-line-1 {
  transform: rotate(45deg) translate(12px, 12px);
}

.mobile-menu-toggle[aria-expanded="true"] .burger-line-2 {
  opacity: 0;
  transform: translateX(-10px);
}

.mobile-menu-toggle[aria-expanded="true"] .burger-line-3 {
  transform: rotate(-45deg) translate(10px, -10px);
}

/* ======================================================
   HEADER DIVIDER - PREMIUM
   ====================================================== */

.header-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-border) 20%, var(--color-border) 80%, transparent);
  margin: 0;
  position: relative;
  z-index: 1;
}

.header-scroll-indicator {
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-bamboo), var(--color-primary));
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.site-header[data-scroll-active="true"] .header-scroll-indicator {
  opacity: 1;
}

/* ======================================================
   RESPONSIVE DESIGN
   ====================================================== */

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
    gap: 16px;
    padding: 12px 0;
  }

  .main-navbar {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0;
    border-top: 1px solid var(--color-border);
  }

  .main-navbar.active {
    display: flex;
  }

  .nav-link {
    padding: 12px 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .header-actions {
    order: 2;
  }

  .brand-name {
    font-size: 20px;
  }

  .brand-subtitle {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .header-container {
    width: 95%;
  }

  .brand-icon-wrapper {
    width: 48px;
    height: 48px;
  }

  .brand-icon {
    font-size: 24px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-link {
    gap: 12px;
  }

  .nav-link {
    font-size: 14px;
  }

  .btn-premium {
    padding: 10px 20px;
    font-size: 13px;
  }
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 110, 73, 0.3);
}

