/* ===================================================
   AADYA PALACE — SHARED STYLES
   Banarasi Plum & Gold Boutique Aesthetic
=================================================== */

/* ── Google Fonts: Cormorant Garamond + Jost ── */

:root {
  /* Colors */
  --plum: #7A1E5C;
  --plum-dark: #5a1443;
  --plum-light: rgba(122,30,92,0.15);
  --gold: #C5A059;
  --gold-light: rgba(197,160,89,0.2);
  --cream: #F9F7F2;
  --bg: #F9F7F2;
  --bg-dark: #0F0A08;
  --bg-alt: #F2EDE6;
  --ink: #1A1208;
  --ink-light: #4a3d2e;
  --white: #ffffff;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --space-xs: clamp(1rem, 3vw, 1.5rem);
  --space-sm: clamp(1.5rem, 4vw, 2.5rem);
  --space-md: clamp(1.5rem, 5vw, 4rem);
  --space-lg: clamp(3rem, 8vw, 7rem);

  /* Nav height */
  --nav-h: 72px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── Reset & Base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0; padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ── Selection ── */
::selection {
  background: var(--plum);
  color: var(--cream);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb { background: var(--plum-light); border-radius: 2px; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.5s var(--ease), backdrop-filter 0.5s, box-shadow 0.5s;
}

.nav.scrolled {
  background: rgba(122,30,92,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 40px rgba(10,5,3,0.3);
}

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.nav-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}
.logo-text-fallback {
  display: none;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1;
}
.logo-text-fallback span {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 300;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(249,247,242,0.8);
  padding: 0.5rem 1rem;
  transition: color 0.3s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 1rem; right: 1rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hamburger */
.nav-hamburger {
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
@media (min-width: 900px) { .nav-hamburger { display: none; } }
.nav-hamburger span {
  display: block;
  height: 1px;
  background: var(--cream);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(11.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-11.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--plum-dark);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu ul {
  text-align: center;
  margin-bottom: 3rem;
}
.mobile-menu ul li a {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 300;
  color: var(--cream);
  padding: 0.4rem 2rem;
  transition: color 0.3s;
  position: relative;
}
.mobile-menu ul li a:hover,
.mobile-menu ul li a.active { color: var(--gold); }
.mob-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.mob-contact a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: rgba(249,247,242,0.5);
  transition: color 0.3s;
}
.mob-contact a:hover { color: var(--gold); }

/* ── BUTTONS ── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  transition: background 0.3s, transform 0.2s;
  cursor: pointer;
  border: none;
}
.btn-gold:hover {
  background: #d4b068;
  transform: translateY(-1px);
}

.btn-plum {
  display: inline-flex;
  align-items: center;
  background: var(--plum);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  transition: background 0.3s, transform 0.2s;
  cursor: pointer;
  border: none;
}
.btn-plum:hover {
  background: var(--plum-dark);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--plum);
  color: var(--plum);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  cursor: pointer;
}
.btn-outline:hover {
  background: var(--plum);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(249,247,242,0.3);
  color: rgba(249,247,242,0.7);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  transition: border-color 0.3s, color 0.3s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-outline-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── COMMON SECTION COMPONENTS ── */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--plum-light);
}
.section-label.light {
  color: rgba(197,160,89,0.7);
  border-bottom-color: rgba(197,160,89,0.2);
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-heading.light { color: var(--cream); }
.section-heading em { font-style: italic; color: var(--plum); }
.section-heading.light em { color: var(--gold); }

.body-text {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.5vw, 0.98rem);
  font-weight: 300;
  color: var(--ink-light);
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.gold-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 1rem;
}

.coming-soon-notice {
  display: flex;
  align-items: center;
  margin: 1.5rem 0 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  font-style: italic;
  color: var(--ink-light);
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  position: relative;
  height: clamp(45vh, 60vh, 70vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: 0;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12,8,6,0.85) 0%,
    rgba(12,8,6,0.4) 50%,
    rgba(122,30,92,0.2) 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--space-md) clamp(2.5rem,6vh,4rem);
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}
.page-hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.05;
}
.page-hero-title em { font-style: italic; color: var(--gold); }

/* ── FOOTER ── */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(3rem, 6vh, 5rem) var(--space-md) 0;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(249,247,242,0.08);
}
@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1.5fr;
    align-items: start;
  }
}
.footer-logo {
  height: 45px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  margin-bottom: 1rem;
}
.footer-logo-fallback {
  display: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 1rem;
}
.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(249,247,242,0.4);
  font-style: italic;
  line-height: 1.6;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-nav ul li a {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(249,247,242,0.5);
  transition: color 0.3s;
}
.footer-nav ul li a:hover { color: var(--gold); }
.footer-contact p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(249,247,242,0.55);
  margin-bottom: 0.6rem;
  line-height: 1.6;
}
.footer-contact a {
  color: rgba(249,247,242,0.55);
  transition: color 0.3s;
}
.footer-contact a:hover { color: var(--gold); }
.footer-addr { color: rgba(249,247,242,0.3) !important; font-size: 0.75rem !important; margin-top: 0.8rem; }
.footer-bottom {
  padding: 1.5rem 0;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-bottom p {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(249,247,242,0.2);
}

/* ── DIVIDER ── */
.gold-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}
.gold-divider.center { margin: 1.5rem auto; }

/* ── AMENITY CHIPS ── */
.amenity-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.amenity-chip {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--plum);
  border: 1px solid var(--plum-light);
  padding: 0.4rem 0.9rem;
  transition: background 0.3s, color 0.3s;
}
.amenity-chip:hover {
  background: var(--plum);
  color: var(--cream);
}

/* ── UTILITY ── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.pt-nav { padding-top: var(--nav-h); }
