/* ============================================================
   PARADIGM SUPERSTAR — paradigmsuperstar.com
   Luxury Landing Page Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@200;300;400;500&display=swap');

/* ─── CSS Custom Properties ─────────────────────────────── */
:root {
  --cream:        #F5F2EE;
  --warm-white:   #FAFAF8;
  --gold:         #A38E72;
  --gold-light:   #C4AA87;
  --gold-dark:    #8A7260;
  --charcoal:     #2C2A27;
  --warm-grey:    #9A9590;
  --border:       #E0D8CE;
  --overlay:      rgba(44, 42, 39, 0.45);

  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'Jost', 'Helvetica Neue', sans-serif;

  --transition:   0.4s 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; }

body {
  font-family: var(--sans);
  font-weight: 300;
  background: var(--warm-white);
  color: var(--charcoal);
  overflow-x: hidden;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ─── Typography ─────────────────────────────────────────── */
.serif { font-family: var(--serif); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.2;
}

/* Section heading pattern */
.section-eyebrow {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-body {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--warm-grey);
  line-height: 1.85;
  max-width: 52ch;
}

/* Gold divider with star */
.star-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.star-divider::before,
.star-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-light));
}

.star-divider::after {
  background: linear-gradient(to left, transparent, var(--gold-light));
}

.star-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Inline gold divider line */
.gold-rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 1.25rem 0;
}

/* ─── Navigation ─────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 3rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: rgba(250, 250, 248, 0.97);
  box-shadow: 0 1px 0 var(--border);
  backdrop-filter: blur(8px);
}

.nav-logo {
  height: 36px;
  width: auto;
  opacity: 1;
  transition: filter var(--transition);
  filter: brightness(0) invert(1); /* white by default over hero */
}

#navbar.scrolled .nav-logo {
  filter: none; /* natural colour once scrolled */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  position: relative;
  transition: color var(--transition);
}

#navbar:not(.scrolled) .nav-links a { color: var(--warm-white); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  transition: background var(--transition), color var(--transition) !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--warm-white) !important;
}

.nav-cta::after { display: none !important; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: transform var(--transition), opacity var(--transition);
}

#navbar:not(.scrolled) .nav-toggle span { background: var(--warm-white); }

/* ─── Hero Section ───────────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3a2e20 0%, #1a1510 50%, #0d0b08 100%);
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 1s ease;
}

.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

/* YouTube embed — fills hero exactly like a video */
.hero-yt-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-yt-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.78vh;
  transform: translate(-50%, -50%);
  opacity: 0.72;
  border: none;
}

/* Desktop/Mobile source switching */
.mobile-only-hero  { display: none !important; }
.desktop-only-hero { display: block; }

@media (max-width: 768px) {
  .mobile-only-hero  { display: block !important; }
  .desktop-only-hero { display: none !important; }
  .hero-yt-wrap.mobile-only-hero { display: block !important; }
  .hero-yt-wrap.desktop-only-hero { display: none !important; }
}



.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 3rem 5rem;
  max-width: 700px;
}

.hero-badge {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-badge::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold-light);
}

.hero-heading {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--warm-white);
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero-heading em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(245, 242, 238, 0.75);
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid var(--gold);
  color: var(--warm-white);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary span { position: relative; z-index: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
  background: transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.btn-secondary:hover {
  background: var(--charcoal);
  color: var(--warm-white);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245, 242, 238, 0.5);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold-light), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.5); opacity: 1; }
}

/* Hero center star logo */
.hero-star-logo {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  z-index: 2;
  width: 200px;
  opacity: 0.9;
}

/* ─── Section Wrapper ────────────────────────────────────── */
.section {
  padding: 6rem 3rem;
}

.section-inner {
  max-width: 1300px;
  margin: 0 auto;
}

.section--cream { background: var(--cream); }
.section--white { background: var(--warm-white); }

/* ─── Overview Section ───────────────────────────────────── */
#overview .overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.overview-image-wrap {
  position: relative;
}

.overview-image-wrap img {
  width: 100%;
  height: 580px;
  object-fit: cover;
}

.overview-image-wrap::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 1px solid var(--gold-light);
  z-index: -1;
  opacity: 0.4;
}

.overview-text { padding: 2rem 0; }

.overview-logo {
  height: 60px;
  width: auto;
  margin-bottom: 2.5rem;
  filter: brightness(0) saturate(100%) invert(62%) sepia(21%) saturate(493%) hue-rotate(348deg) brightness(92%) contrast(87%);
}

.overview-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-grey);
}

/* ─── Banner Section ─────────────────────────────────────── */
#banner {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.banner-bg {
  position: absolute;
  inset: 0;
}

.banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 8s ease;
}

#banner:hover .banner-bg img { transform: scale(1); }

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 10, 0.55);
}

.banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--warm-white);
}

.banner-poem {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-style: italic;
  font-weight: 300;
  line-height: 2;
  color: var(--cream);
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
}

/* ─── Amenities Section ──────────────────────────────────── */
#amenities .amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.amenity-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid transparent;
  transition: border-color var(--transition), transform var(--transition);
  cursor: default;
}

.amenity-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}

.amenity-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amenity-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.2;
}

.amenity-name {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1.5;
}

/* ─── Gallery Section ────────────────────────────────────── */
#gallery {
  padding: 6rem 0;
  background: var(--cream);
}

#gallery .section-header {
  padding: 0 3rem;
  margin-bottom: 3rem;
}

/* ─── Premium Gallery Grid — Equal Squares ───────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: #1a1510;
}

.gallery-item {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: #2a2520;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.65s ease;
  filter: brightness(0.92);
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.04);
}

/* Overlay — gold line border reveal on hover */
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 16, 10, 0);
  transition: background 0.5s ease;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(20, 16, 10, 0.28);
}

/* Inner gold border that animates in */
.gallery-item-overlay::before,
.gallery-item-overlay::after {
  content: '';
  position: absolute;
  background: var(--gold-light);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* horizontal lines */
.gallery-item-overlay::before {
  left: 1.5rem; right: 1.5rem;
  height: 1px; top: 1.5rem;
  transform: scaleX(0);
  transform-origin: left;
  box-shadow: 0 calc(100% - 3rem - 1px) 0 0 var(--gold-light);
}

/* vertical lines */
.gallery-item-overlay::after {
  top: 1.5rem; bottom: 1.5rem;
  width: 1px; left: 1.5rem;
  transform: scaleY(0);
  transform-origin: top;
  box-shadow: calc(100% - 3rem - 1px) 0 0 0 var(--gold-light);
}

.gallery-item:hover .gallery-item-overlay::before,
.gallery-item:hover .gallery-item-overlay::after {
  opacity: 0.5;
  transform: scaleX(1);
}

.gallery-item:hover .gallery-item-overlay::after {
  transform: scaleY(1);
}

/* Expand icon */
.gallery-expand {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(196, 170, 135, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.75) rotate(-10deg);
  transition: opacity 0.4s ease, transform 0.4s ease;
  background: rgba(20, 16, 10, 0.3);
  backdrop-filter: blur(4px);
}

.gallery-item:hover .gallery-expand {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.gallery-expand svg {
  width: 16px;
  height: 16px;
  stroke: var(--warm-white);
  stroke-width: 1.5;
}

/* Placeholder tiles (no image uploaded yet) */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #1e1b17;
}

.gallery-placeholder span {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(163, 142, 114, 0.3);
}

/* ─── Lightbox ───────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

/* Dark blur backdrop */
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 4, 0.96);
  backdrop-filter: blur(12px);
}

.lightbox-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 2rem;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
  transition: opacity 0.3s ease;
}

/* Gold accent line above image */
.lightbox-img-wrap {
  position: relative;
  display: inline-flex;
}

.lightbox-img-wrap::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-light), transparent);
  opacity: 0.5;
}

/* Close button */
.lightbox-close {
  position: absolute;
  top: 1.75rem;
  right: 2rem;
  z-index: 2;
  background: none;
  border: 1px solid rgba(196, 170, 135, 0.3);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(245, 242, 238, 0.6);
  font-size: 1.1rem;
  line-height: 1;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.lightbox-close:hover {
  border-color: var(--gold-light);
  color: var(--warm-white);
  background: rgba(163, 142, 114, 0.1);
}

/* Prev / Next arrows */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: none;
  border: 1px solid rgba(196, 170, 135, 0.25);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(245, 242, 238, 0.5);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

.lightbox-prev:hover,
.lightbox-next:hover {
  border-color: var(--gold-light);
  color: var(--warm-white);
  background: rgba(163, 142, 114, 0.1);
}

.lightbox-prev svg,
.lightbox-next svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* Counter */
.lightbox-counter {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(196, 170, 135, 0.45);
  z-index: 2;
}

/* ─── Connectivity Section ───────────────────────────────── */
#connectivity .connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 4rem;
  margin-top: 3.5rem;
}

.connect-category h4 {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.connect-category h4::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.connect-category ul {
  list-style: none;
}

.connect-category li {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--charcoal);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.4;
}

.connect-category li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.connect-category li:last-child { border-bottom: none; }

/* ─── Location / Map Section ─────────────────────────────── */
#location .location-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.location-text .section-body {
  margin-bottom: 2rem;
}

.location-detail {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.location-detail-item {
  font-size: 0.82rem;
  color: var(--charcoal);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.location-detail-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.map-container {
  aspect-ratio: 16/9;
  background: var(--cream);
  border: 1px solid var(--border);
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Map placeholder */
.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--warm-grey);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--cream);
}

.map-placeholder svg {
  width: 40px;
  height: 40px;
  stroke: var(--gold-light);
}

/* ─── Enquiry / Lead Form ─────────────────────────────────── */
#enquire {
  background: var(--charcoal);
  padding: 7rem 3rem;
}

#enquire .section-eyebrow { color: var(--gold-light); }
#enquire .section-title { color: var(--warm-white); }
#enquire .section-body { color: rgba(245, 242, 238, 0.6); }

.enquire-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: center;
}

.enquire-text .gold-rule { background: var(--gold-light); }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 242, 238, 0.45);
}

.form-input,
.form-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 242, 238, 0.12);
  padding: 0.85rem 1rem;
  color: var(--warm-white);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 300;
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}

.form-input::placeholder { color: rgba(245, 242, 238, 0.25); }

.form-input:focus,
.form-select:focus {
  border-color: var(--gold);
}

.form-select option { background: var(--charcoal); color: var(--warm-white); }

.phone-wrap {
  display: flex;
  gap: 0.5rem;
}

.phone-wrap .country-code {
  width: 90px;
  flex-shrink: 0;
}

.form-submit {
  width: 100%;
  padding: 1.1rem;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--warm-white);
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.form-submit:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
}

.form-error {
  font-size: 0.7rem;
  color: #e8a87c;
  margin-top: 0.25rem;
  display: none;
}

.form-error.visible { display: block; }

/* ─── Blog Section ───────────────────────────────────────── */
#blog .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.blog-card {
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
}

.blog-card:hover { transform: translateY(-5px); }

.blog-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--cream);
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-img img { transform: scale(1.04); }

.blog-card-body {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-excerpt {
  font-size: 0.82rem;
  color: var(--warm-grey);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
}

.blog-readmore {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap var(--transition);
}

.blog-readmore:hover { gap: 0.75rem; }

.blog-readmore svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
}

/* ─── Footer ─────────────────────────────────────────────── */
#footer {
  background: var(--charcoal);
  padding: 5rem 3rem 2.5rem;
  border-top: 1px solid rgba(163, 142, 114, 0.2);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 160px;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 115px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer-superstar-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer-tagline {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-style: italic;
  color: rgba(245, 242, 238, 0.4);
  line-height: 1.6;
  max-width: 28ch;
  margin: 0 auto;
  text-align: center;
}

/* RERA column */
.footer-rera {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-rera h5 {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.25rem;
}

.footer-rera-number {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(245, 242, 238, 0.45);
  letter-spacing: 0.05em;
  line-height: 1.5;
  word-break: break-all;
}

.footer-qr {
  width: 100px;
  height: 100px;
  border: 1px solid rgba(163, 142, 114, 0.2);
  padding: 6px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

.footer-qr-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  opacity: 0.25;
}

.footer-qr-placeholder span {
  background: var(--warm-white);
  border-radius: 1px;
}

.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col li, .footer-col a {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(245, 242, 238, 0.45);
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--gold-light); }

.footer-bottom {
  padding-top: 2.5rem;
  border-top: 1px solid rgba(245, 242, 238, 0.08);
}

.footer-disclaimer {
  font-size: 0.65rem;
  color: rgba(245, 242, 238, 0.2);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-copyright {
  font-size: 0.65rem;
  color: rgba(245, 242, 238, 0.3);
  letter-spacing: 0.08em;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ─── Chatbot ─────────────────────────────────────────────── */
#chatbot-trigger {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: var(--charcoal);
  border: 1px solid rgba(163, 142, 114, 0.3);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

#chatbot-trigger:hover {
  background: var(--gold-dark);
  transform: scale(1.05);
}

#chatbot-trigger svg {
  width: 22px;
  height: 22px;
  stroke: var(--warm-white);
}

.chatbot-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid var(--warm-white);
  animation: pulse 2s ease-in-out infinite;
}

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

#chatbot-window {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  z-index: 900;
  width: 320px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}

#chatbot-window.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chatbot-header {
  background: var(--charcoal);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chatbot-avatar {
  width: 32px;
  height: 32px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 0.75rem;
  color: var(--warm-white);
}

.chatbot-name {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--warm-white);
}

.chatbot-status {
  font-size: 0.62rem;
  color: rgba(245, 242, 238, 0.45);
}

.chatbot-close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(245, 242, 238, 0.5);
  font-size: 1.2rem;
  line-height: 1;
  transition: color 0.2s;
}

.chatbot-close:hover { color: var(--warm-white); }

.chatbot-messages {
  padding: 1.25rem;
  height: 260px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chat-bubble {
  max-width: 85%;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.5;
  animation: bubbleIn 0.3s ease;
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-bubble.bot {
  background: var(--cream);
  color: var(--charcoal);
  border-radius: 0 8px 8px 8px;
  align-self: flex-start;
}

.chat-bubble.user {
  background: var(--gold);
  color: var(--warm-white);
  border-radius: 8px 8px 0 8px;
  align-self: flex-end;
}

.chatbot-input-area {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
}

#chatbot-input {
  flex: 1;
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--charcoal);
  background: var(--warm-white);
  outline: none;
  transition: border-color 0.2s;
}

#chatbot-input:focus { border-color: var(--gold); }

#chatbot-send {
  background: var(--gold);
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

#chatbot-send:hover { background: var(--gold-dark); }
#chatbot-send svg { width: 14px; height: 14px; stroke: var(--warm-white); }

/* ─── Scroll Reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── Thank You Page ─────────────────────────────────────── */
.thankyou-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  padding: 3rem;
}

.thankyou-card {
  text-align: center;
  max-width: 520px;
  padding: 5rem 4rem;
  background: var(--warm-white);
  border: 1px solid var(--border);
}

.thankyou-star {
  width: 56px;
  height: 56px;
  margin: 0 auto 2rem;
}

/* ─── Blog Page ──────────────────────────────────────────── */
.page-hero {
  height: 40vh;
  background: var(--charcoal);
  display: flex;
  align-items: flex-end;
  padding: 3rem;
}

.page-hero-content {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  .footer-top { grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
  .footer-rera { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: 1.5rem; }
}

@media (max-width: 1024px) {
  .section { padding: 5rem 2rem; }
  #overview .overview-grid { grid-template-columns: 1fr; gap: 3rem; }
  .overview-image-wrap img { height: 400px; }
  .enquire-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  #connectivity .connect-grid { grid-template-columns: repeat(2, 1fr); }
  #location .location-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  #navbar { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--warm-white);
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 999;
  }
  
  .nav-links.open a { color: var(--charcoal); font-size: 1rem; }
  
  .hero-content { padding: 0 1.5rem 4rem; }
  .hero-star-logo { display: none; }
  .hero-heading { font-size: 2.5rem; }
  
  .section { padding: 4rem 1.5rem; }
  
  .overview-stats { grid-template-columns: repeat(3, 1fr); }
  
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item { grid-column: span 1 !important; grid-row: span 1 !important; }
  
  #blog .blog-grid { grid-template-columns: 1fr; }
  
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  
  #connectivity .connect-grid { grid-template-columns: 1fr; }
  
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-copyright { flex-direction: column; gap: 0.5rem; text-align: center; }
  
  #chatbot-window { width: calc(100vw - 3rem); right: 1.5rem; }
  
  #enquire { padding: 4rem 1.5rem; }
  #gallery .section-header { padding: 0 1.5rem; }
}

/* ─── Mobile Menu Close btn ─────────────────────────────── */
.nav-close {
  display: none;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--charcoal);
}

.nav-links.open .nav-close { display: block; }

/* ─── Notification ───────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--charcoal);
  color: var(--warm-white);
  padding: 0.85rem 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 3000;
  border-left: 3px solid var(--gold);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── Features Section ───────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 3rem;
}

.feature-card {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid transparent;
  transition: border-color var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
}

.feature-icon-wrap {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(163, 142, 114, 0.3);
  border-radius: 50%;
  background: var(--cream);
}

.feature-icon-wrap svg {
  width: 52px;
  height: 52px;
}

.feature-icon-wrap img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.feature-title {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 300;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  line-height: 1.6;
  max-width: 22ch;
  margin: 0 auto;
}

.feature-sub {
  font-size: 0.72rem;
  color: var(--warm-grey);
  margin-top: 0.4rem;
  font-style: italic;
}

/* ─── Uniqueness Section ─────────────────────────────────── */
.uniqueness-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem 2rem;
}

.uniqueness-card {
  text-align: center;
  cursor: default;
}

.uniqueness-icon-wrap {
  width: 110px;
  height: 110px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.uniqueness-icon-wrap svg {
  width: 100%;
  height: 100%;
}

.uniqueness-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.uniqueness-title {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.6;
  letter-spacing: 0.03em;
  max-width: 20ch;
  margin: 0 auto;
}

/* ─── Gallery Tabs ───────────────────────────────────────── */
.gallery-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 3rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.gallery-tab {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-grey);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.85rem 1.75rem;
  cursor: pointer;
  transition: color var(--transition), border-color var(--transition);
  margin-bottom: -1px;
  white-space: nowrap;
}

.gallery-tab:hover { color: var(--charcoal); }

.gallery-tab.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.gallery-panel { display: none; }
.gallery-panel.active { display: block; }

/* Responsive ─── */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .uniqueness-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .uniqueness-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .gallery-tabs { padding: 0 1rem; overflow-x: auto; gap: 0; }
  .gallery-tab { padding: 0.75rem 1rem; font-size: 0.65rem; }
}
