/* ============================================
   KHANA PEENA - UNIFIED GLOBAL CSS
   Single source of truth for all pages
   ============================================ */

:root {
  --color-bg: #0a0a0a;
  --color-surface: #111111;
  --color-surface-light: #1a1a1a;
  --color-gold: #c9a96e;
  --color-gold-light: #e4cc8f;
  --color-gold-dark: #a07d45;
  --color-text: #f5f5f5;
  --color-text-muted: #a0a0a0;
  --color-border: rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

/* ============ HEADER ============ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: none;
  background: transparent;
}

.header.scrolled {
  padding: 0.9rem 4rem;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
    /* border removed to avoid duplicate line with mobile nav */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: #f5f5f5;
  min-width: fit-content;
}

.header-logo-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid #c9a96e;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
  transition: all 0.4s ease;
}

.header-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.header-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #f5f5f5;
}

.header-logo-text span {
  color: #c9a96e;
}

.header-logo:hover .header-logo-icon {
  background: rgba(201, 169, 110, 0.08);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.header .header-nav a {
  color: #cfc5af;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.header .header-nav a::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 6px;
  background: #c9a96e;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.header .header-nav a:hover {
  color: #f5e5b1;
}

.header .header-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  padding: 0.75rem 1.75rem;
  background: transparent;
  border: 1px solid #c9a96e;
  color: #c9a96e;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.header-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 110, 0.15), transparent);
  transition: left 0.5s ease;
}

.header-cta:hover::before {
  left: 100%;
}

.header-cta:hover {
  background: #c9a96e;
  color: #0a0a0a;
  box-shadow: 0 0 30px rgba(201, 169, 110, 0.3);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: #c9a96e;
  transition: all 0.3s ease;
}

/* ============ DROPDOWN MENUS ============ */
.header-nav .has-dropdown {
  position: relative;
}

.header-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 169, 110, 0.1);
  border-radius: 8px;
  min-width: 240px;
  list-style: none;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
}

.header-nav .has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-nav .dropdown li {
  list-style: none;
}

.header-nav .dropdown a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #cfc5af;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  text-decoration: none;
}

.header-nav .dropdown a:hover {
  background: rgba(201, 169, 110, 0.1);
  color: #f5e5b1;
  padding-left: 1.8rem;
}

.dropdown-arrow {
  display: inline-block;
  font-size: 0.6rem;
  margin-left: 0.4rem;
  transition: transform 0.3s ease;
}

.header-nav .has-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* ============ HERO SECTIONS ============ */
.hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding: 2rem 4rem 4rem;
  background: var(--color-bg);
}

.hero-inner,
.hero-content {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-eyebrow::before {
  content: '';
  width: 42px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.7;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-title em {
  font-style: italic;
  color: var(--color-gold);
}

.hero-desc,
.hero-copy p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-highlights li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--color-text);
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.7rem 0.8rem;
  border-radius: 16px;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}

.hero-highlights li::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.3rem;
  font-size: 1rem;
}

.hero-highlights strong {
  color: var(--color-gold);
  font-weight: 600;
}

/* ============ RESPONSIVE BREAKPOINTS ============ */

/* TABLET: 1200px and below */
@media (max-width: 1200px) {
  .header {
    padding: 1rem 2rem;
  }

  .header-logo-icon {
    width: 100px;
    height: 100px;
  }

  .header-logo-text {
    font-size: 1.3rem;
  }

  .header-nav {
    gap: 2rem;
  }

  .header .header-nav a {
    font-size: 0.7rem;
  }
}

/* TABLET MEDIUM: 1024px and below */
@media (max-width: 1024px) {
  .header {
    padding: 0.8rem 1.5rem;
  }

  .header-logo-icon {
    width: 90px;
    height: 90px;
  }

  .header-logo-text {
    font-size: 1.2rem;
  }

  .header-nav {
    gap: 1.5rem;
  }

  .header .header-nav a {
    font-size: 0.65rem;
  }

  .header-cta {
    padding: 0.6rem 1.5rem;
    font-size: 0.75rem;
  }
}

/* MOBILE: 768px and below */
@media (max-width: 768px) {
  .header {
    padding: 0.8rem 1rem;
    justify-content: space-between;
  }

  .header-logo-icon {
    width: 90px;
    height: 90px;
  }

  .header-logo-text {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-nav {
    position: fixed;
    top: var(--header-height, 72px);
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0;
    border-bottom: none;
    z-index: 999;
    transform: none; /* reset desktop centering transform on mobile */
  }

  .header-nav.active {
    max-height: 80vh;
    overflow-y: auto;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
  }

  .header-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }

  .header-nav > li:last-child {
    border-bottom: none;
  }

  .header-nav a {
    padding: 1rem 2rem !important;
    display: block !important;
    color: #cfc5af;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  /* center the visible label while keeping the dropdown arrow at the right */
  .header-nav a {
    text-align: center;
    position: relative;
  }

  /* hide the nav-inserted CTA on desktop by default; shown only on mobile */
  .header-nav .nav-cta { display: none; }

  .header-nav a:hover {
    background: rgba(201, 169, 110, 0.08);
    color: #f5e5b1;
  }

  .header-nav a::after {
    display: none;
  }

  /* ===== MOBILE DROPDOWN STYLING ===== */
  .header-nav .has-dropdown > a {
    /* keep anchor as block so text can be centered; arrow positioned absolutely */
    display: block !important;
    padding-right: 3.5rem; /* reserve space for the arrow */
  }

  .header-nav .dropdown-arrow {
    transition: transform 0.3s ease;
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.6rem;
    margin: 0;
  }

  /* Rotate arrow when dropdown is active */
  .header-nav .has-dropdown.dropdown-active > a .dropdown-arrow {
    transform: rotate(180deg);
  }

  /* Hide dropdown by default */
  .header-nav .dropdown {
    position: static;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    transform: none;
    background: rgba(255, 255, 255, 0.02);
    border: none;
    border-radius: 0;
    min-width: auto;
    margin-top: 0;
    margin-left: 0;
    padding: 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  /* Show dropdown when parent has active class */
  .header-nav .has-dropdown.dropdown-active .dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 500px;
    padding: 0.5rem 0;
  }

  .header-nav .dropdown li {
    list-style: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  }

  .header-nav .dropdown a {
    padding: 0.7rem 2rem 0.7rem 3.5rem !important;
    font-size: 0.75rem;
    background: none;
    color: #b5aca0;
    display: block !important;
  }

  .header-nav .dropdown a:hover {
    background: rgba(201, 169, 110, 0.1);
    color: #f5e5b1;
    padding-left: 3.7rem !important;
  }

  .header-cta {
    display: none;
  }

  /* Show CTA inside the mobile nav at the bottom */
  .header-nav .nav-cta {
    display: block;
    border: none;
  }

  .header-nav .nav-cta .nav-cta-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    margin: 0.6rem 1.25rem;
    padding: 0.9rem 1.1rem;
    text-align: center;
    border-radius: 8px;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    min-height: 44px;
    width: calc(100% - 2.5rem);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
  }

  /* ===== HERO MOBILE ===== */
  .hero {
    /* Make hero reliably fill viewport minus header for mobile devices */
    min-height: calc(100vh - var(--header-height, 72px));
    padding: 1.25rem 1.5rem 3rem;
    display: flex;
    align-items: flex-start;
  }

  .hero-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    margin-bottom: 1rem;
  }

  .hero-eyebrow {
    font-size: 0.7rem;
    margin-bottom: 0.8rem;
  }

  .hero-desc,
  .hero-copy p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero-highlights {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-image {
    min-height: 300px;
  }

  /* Slider controls should sit above the fold on mobile */
  .slider-controls {
    bottom: 2.25rem;
    gap: 0.6rem;
    left: 50%;
    transform: translateX(-50%);
  }

  .slider-dot {
    width: 34px;
    height: 4px;
    background: rgba(255,255,255,0.12);
    border-radius: 4px;
  }

  .slider-dot::after { height: 100%; }

  .hero-image img {
    max-width: 100%;
  }
}

/* SMALL MOBILE: 480px and below */
@media (max-width: 480px) {
  .header {
    padding: 0.7rem 0.8rem;
  }

  .header-logo-icon {
    width: 60px;
    height: 60px;
  }

  .header-nav a {
    padding: 0.8rem 1.5rem !important;
    font-size: 0.7rem;
  }

  .header-nav .dropdown a {
    padding: 0.6rem 1.5rem 0.6rem 2.8rem !important;
    font-size: 0.65rem;
  }

  .header-nav .dropdown a:hover {
    padding-left: 3rem !important;
  }

  /* ===== HERO EXTRA SMALL MOBILE ===== */
  .hero {
    padding: 7rem 1rem 2rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }

  .hero-eyebrow {
    font-size: 0.65rem;
  }

  .hero-desc,
  .hero-copy p {
    font-size: 0.9rem;
  }

  .hero-highlights li {
    font-size: 0.7rem;
    padding: 0.6rem 0.6rem;
  }
}

/* ============ FOOTER ============ */
.footer {
  background: #111111;
  padding: 5rem 4rem 2rem;
  border-top: 1px solid rgba(201, 169, 110, 0.1);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #f5f5f5;
}

.footer-logo img {
  height: 90px;
  width: auto;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-logo span {
  color: #c9a96e;
}

.footer-tagline {
  color: #a0a0a0;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  font-weight: 300;
}

.footer-links h4 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a96e;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-links p {
  color: #a0a0a0;
  font-size: 0.9rem;
  line-height: 1.8;
  font-weight: 300;
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
  color: #a0a0a0;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

@media (max-width: 1200px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 3rem 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-top {
    gap: 1rem;
  }
}
