/* ============================================
   PETRA — Ultra-Premium Banquet Hall
   Pure HTML5 & CSS3 · Glassmorphism Luxury
   ============================================ */

:root {
  /* Royal Dark */
  --royal-night: #08060f;
  --royal-deep: #12101f;
  --royal-mid: #1e1835;
  --royal-plum: #2d2450;
  --royal-violet: #4a3a72;

  /* Royal Light */
  --royal-ivory: #f5f2fa;
  --royal-mist: #ebe6f4;
  --royal-lavender: #d8d0ea;
  --royal-pearl: #faf9fd;

  /* Accents */
  --white: #ffffff;
  --ivory: var(--royal-ivory);
  --blush: var(--royal-mist);
  --blush-deep: var(--royal-lavender);
  --gold: #d4af37;
  --gold-light: #f0e0a8;
  --gold-glow: rgba(212, 175, 55, 0.4);
  --champagne: #c9a227;
  --royal-accent: #7c5cbf;
  --royal-accent-light: #a78bdb;

  /* Text */
  --text: #f5f2fa;
  --text-muted: rgba(245, 242, 250, 0.68);
  --text-soft: rgba(245, 242, 250, 0.5);
  --text-on-light: #141218;
  --text-muted-light: #3d3848;
  --text-soft-light: #5a5563;

  /* Glass — dark sections (default) */
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-bg-dark: rgba(30, 24, 53, 0.88);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-gold-border: rgba(212, 175, 55, 0.35);
  --glass-blur: blur(20px);
  --glass-blur-heavy: blur(32px);

  /* Glass — light sections */
  --glass-light-bg: rgba(255, 255, 255, 0.72);
  --glass-light-border: rgba(124, 92, 191, 0.18);
  --glass-light-gold: rgba(212, 175, 55, 0.3);

  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.35),
    0 2px 8px rgba(124, 92, 191, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --shadow-glow: 0 0 60px rgba(124, 92, 191, 0.25), 0 0 40px rgba(212, 175, 55, 0.12);
  --shadow-card: 0 20px 60px rgba(0, 0, 0, 0.45);

  --overlay-dark: rgba(18, 16, 31, 0.88);
  --overlay-royal: rgba(45, 36, 80, 0.75);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', system-ui, sans-serif;

  --ease-luxury: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.5s var(--ease-luxury);

  --nav-height: 88px;
  --section-pad: clamp(4rem, 10vw, 8rem);
  --container: min(1280px, 92vw);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--royal-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(124, 92, 191, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 100%, rgba(212, 175, 55, 0.1), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(74, 58, 114, 0.15), transparent 60%),
    linear-gradient(180deg, var(--royal-night) 0%, var(--royal-deep) 45%, var(--royal-mid) 100%);
  z-index: -2;
  pointer-events: none;
}

/* Royal pattern overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L35 25L60 30L35 35L30 60L25 35L0 30L25 25Z' fill='%23d4af37'/%3E%3C/svg%3E");
  z-index: -1;
  pointer-events: none;
}

/* ——— Light royal sections (alternating) ——— */
.welcome,
.features,
.about-story,
.events-showcase,
.contact-wrap,
.faq-section,
.map-section {
  --text: var(--text-on-light);
  --text-muted: var(--text-muted-light);
  --text-soft: var(--text-soft-light);
  background: var(--royal-pearl);
  color: var(--text-on-light);
}

.welcome p,
.features p,
.about-story p,
.events-showcase p,
.contact-wrap p,
.faq-section p,
.map-section p {
  color: var(--text-muted-light);
}

.welcome h1, .welcome h2, .welcome h3,
.features h2, .features h3,
.about-story h2, .about-story h3, .about-story h4,
.events-showcase h2, .events-showcase h3,
.contact-wrap h2, .contact-wrap h3, .contact-wrap h4,
.faq-section h2, .faq-section h4,
.map-section h2, .map-section h3 {
  color: var(--text-on-light);
}

.welcome .section-title h2,
.features .section-title h2,
.about-story .section-title h2,
.events-showcase .section-title h2,
.contact-wrap .section-title h2,
.faq-section .section-title h2,
.map-section .section-title h2 {
  color: var(--text-on-light);
}

.welcome .glass,
.features .glass,
.about-story .glass,
.events-showcase .glass,
.contact-wrap .glass,
.faq-section .glass,
.vision-card,
.facility-card,
.stat-item,
.contact-card,
.contact-form-panel,
.faq-item,
.vision-cards .glass,
.facilities-grid .glass,
.stats-row .glass,
.story-grid + .heritage-pattern,
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--glass-light-bg);
  border-color: var(--glass-light-border);
  box-shadow: 0 8px 32px rgba(45, 36, 80, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.welcome .glass-glow::before,
.features .glass-glow::before,
.about-story .glass-glow::before,
.events-showcase .glass-glow::before,
.contact-wrap .glass-glow::before,
.faq-section .glass-glow::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.95), var(--glass-light-gold), rgba(124, 92, 191, 0.2));
}

.welcome .section-label,
.features .section-label,
.about-story .section-label,
.events-showcase .section-label,
.contact-wrap .section-label,
.faq-section .section-label,
.gallery-section .section-label {
  color: #7a6340;
}

.welcome .btn-outline,
.features .btn-outline,
.about-story .btn-outline,
.events-showcase .btn-outline {
  color: var(--royal-plum);
  border-color: var(--glass-light-gold);
  background: rgba(255, 255, 255, 0.5);
}

.welcome .btn-outline:hover,
.features .btn-outline:hover,
.about-story .btn-outline:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.welcome .testimonial-text,
.about-story .heritage-pattern p {
  color: var(--text-on-light);
}

.feature-card h3,
.vision-card h3,
.facility-card h3 {
  color: var(--text-on-light);
}

.feature-card p,
.vision-card p,
.facility-card p {
  color: var(--text-muted-light);
}

.feature-icon {
  background: linear-gradient(135deg, rgba(124, 92, 191, 0.15), rgba(212, 175, 55, 0.12));
  border-color: var(--glass-light-gold);
}

.event-showcase {
  border-bottom-color: rgba(124, 92, 191, 0.15);
}

.stat-item h4 {
  color: var(--royal-violet);
}

.heritage-pattern::before {
  color: var(--royal-violet);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); }

p { color: var(--text-muted); }

.container {
  width: var(--container);
  margin-inline: auto;
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.section-title h2 {
  color: var(--text);
}

.section-title {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-title h2 {
  margin-bottom: 0.75rem;
}

.section-title p {
  max-width: 560px;
  margin-inline: auto;
  font-size: 1.05rem;
}

/* ——— Glass Components ——— */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-glass);
  border-radius: 0;
}

.glass-glow {
  position: relative;
}

.glass-glow::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), var(--glass-gold-border), rgba(255,255,255,0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.8;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 0;
  position: relative;
}

.btn-primary {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--gold);
  box-shadow: none;
}

.btn-primary:hover {
  transform: none;
  box-shadow: 0 0 40px var(--gold-glow);
  color: var(--gold-light);
}

.btn-outline {
  background: transparent;
  backdrop-filter: none;
  color: var(--text);
  border: 1px solid var(--glass-gold-border);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: none;
}

/* ——— Navigation ——— */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.page-home .navbar {
  background: rgba(18, 16, 31, 0.45);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.page-home .navbar .logo-text,
.page-home .navbar .nav-links a {
  color: rgba(255, 255, 255, 0.88);
}

.page-home .navbar .nav-links a:hover,
.page-home .navbar .nav-links a.active {
  color: var(--white);
}

.page-home .navbar .nav-hamburger span {
  background: var(--white);
}

body:not(.page-home) .navbar {
  background: rgba(18, 16, 31, 0.92);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: var(--shadow-glass);
}

body:not(.page-home) .navbar .logo-text,
body:not(.page-home) .navbar .nav-links a {
  color: rgba(245, 242, 250, 0.9);
}

body:not(.page-home) .navbar .nav-links a:hover,
body:not(.page-home) .navbar .nav-links a.active {
  color: var(--gold-light);
}

.nav-container {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.logo-mark {
  font-size: 0.65rem;
  letter-spacing: 0.5em;
  color: var(--gold);
  font-weight: 600;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--royal-pearl);
}

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

.nav-links a {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245, 242, 250, 0.65);
  position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

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

.nav-cta {
  padding: 0.85rem 1.75rem;
  font-size: 0.65rem;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  appearance: none;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

  .nav-hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--royal-pearl);
  transition: var(--transition);
}

body:not(.page-home) .nav-hamburger span {
  background: var(--royal-pearl);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg,
.page-hero-bg {
  image-rendering: -webkit-optimize-contrast;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

.welcome-img-wrap img,
.gallery-featured img,
.event-showcase-visual img {
  width: 100%;
  object-fit: cover;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 6, 15, 0.4) 0%, rgba(18, 16, 31, 0.65) 45%, rgba(18, 16, 31, 0.95) 100%),
    linear-gradient(90deg, rgba(45, 36, 80, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 80%, rgba(124, 92, 191, 0.2), transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-height) + 2rem) 1.5rem 4rem;
  max-width: 900px;
}

.hero-eyebrow {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  animation: fadeUp 1s var(--ease-luxury) 0.2s both;
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
  margin-bottom: 1.25rem;
  animation: fadeUp 1s var(--ease-luxury) 0.4s both;
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  animation: fadeUp 1s var(--ease-luxury) 0.6s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  animation: fadeUp 1s var(--ease-luxury) 0.8s both;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-light);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

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

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ——— Welcome Section ——— */
.welcome {
  padding: var(--section-pad) 0;
  position: relative;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.welcome-text h2 {
  margin-bottom: 1.5rem;
}

.welcome-text p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.welcome-visual {
  position: relative;
}

.welcome-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.welcome-img-wrap img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.welcome-float-card {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  padding: 1.75rem 2rem;
  max-width: 280px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ——— Feature Cards ——— */
.features {
  padding: var(--section-pad) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow), var(--shadow-card);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--gold);
  background: linear-gradient(135deg, rgba(124, 92, 191, 0.2), rgba(212, 175, 55, 0.15));
  border-radius: 50%;
  border: 1px solid var(--glass-gold-border);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ——— Cinematic Band ——— */
.cinematic {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.cinematic-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cinematic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8, 6, 15, 0.82), rgba(45, 36, 80, 0.7), rgba(124, 92, 191, 0.25));
}

.cinematic-content {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem;
  max-width: 720px;
}

.cinematic-content h2 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.cinematic-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ——— Ambiance ——— */
.ambiance {
  padding: var(--section-pad) 0;
}

.ambiance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ambiance-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.ambiance-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
}

.ambiance-card:hover img {
  transform: scale(1.08);
}

.ambiance-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 24, 20, 0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: var(--transition);
}

.ambiance-card:hover .ambiance-overlay {
  background: linear-gradient(to top, rgba(8, 6, 15, 0.92) 0%, rgba(124, 92, 191, 0.35) 100%);
}

.ambiance-overlay h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.ambiance-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* ——— Events Preview (Home) ——— */
.events-preview {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--royal-mid) 0%, var(--royal-deep) 100%);
}

.events-preview .section-title h2,
.events-preview .section-title p,
.ambiance .section-title h2,
.ambiance .section-title p,
.testimonials .section-title h2,
.testimonials .section-title p {
  color: var(--text);
}

.testimonials .section-title p,
.ambiance .section-title p,
.events-preview .section-title p {
  color: var(--text-muted);
}

.events-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.event-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 3/4;
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.event-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s var(--ease-luxury);
}

.event-card:hover .event-card-img {
  transform: scale(1.1);
}

.event-card-glass {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  background: linear-gradient(to top, rgba(28, 24, 20, 0.8) 0%, transparent 55%);
  backdrop-filter: blur(0);
  transition: var(--transition);
}

.event-card:hover .event-card-glass {
  background: linear-gradient(to top, rgba(8, 6, 15, 0.92) 0%, rgba(124, 92, 191, 0.2) 100%);
  backdrop-filter: blur(4px);
}

.event-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.event-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
}

.events-cta-wrap {
  text-align: center;
  margin-top: 3rem;
}

/* ——— Testimonials ——— */
.testimonials {
  padding: var(--section-pad) 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  padding: 2.5rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.2;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--royal-pearl);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonials .testimonial-card h3,
.testimonials .glass {
  color: var(--text);
}

.testimonial-author {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ——— Final CTA ——— */
.final-cta {
  padding: clamp(5rem, 12vw, 8rem) 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(124, 92, 191, 0.25), transparent 65%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 175, 55, 0.12), transparent 50%),
    linear-gradient(135deg, var(--royal-plum) 0%, var(--royal-mid) 50%, var(--royal-deep) 100%);
  z-index: -1;
}

.final-cta h2,
.final-cta p {
  color: var(--text);
  position: relative;
}

.final-cta .section-label {
  color: var(--gold-light);
}

.final-cta h2 {
  margin-bottom: 1rem;
}

.final-cta p {
  max-width: 500px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* ——— Footer ——— */
.footer {
  background: linear-gradient(180deg, var(--royal-mid) 0%, var(--royal-night) 100%);
  color: rgba(245, 242, 250, 0.7);
  padding: 4rem 0 0;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.footer-grid {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-text {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer h4 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.footer ul li {
  margin-bottom: 0.6rem;
}

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

.footer-bottom {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.1em;
}

/* ——— Page Hero (inner pages) ——— */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 6, 15, 0.5) 0%, rgba(18, 16, 31, 0.7) 40%, rgba(245, 242, 250, 0.96) 100%),
    linear-gradient(135deg, rgba(124, 92, 191, 0.2), transparent 60%);
}

.page-hero-content h1,
.page-hero-content .section-label {
  color: var(--text-on-light);
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.5);
}

.page-hero-content p {
  color: var(--text-muted-light);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 1.5rem;
}

.page-hero h1 {
  margin-bottom: 0.75rem;
}

.page-hero p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
}

/* ——— About Page ——— */
.about-story {
  padding: var(--section-pad) 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.story-img {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.story-img img {
  width: 100%;
  aspect-ratio: 5/6;
  object-fit: cover;
}

.vision-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.vision-card {
  padding: 2.5rem 2rem;
  text-align: center;
}

.vision-card h3 {
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 4rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-item h4 {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.heritage-pattern {
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.heritage-pattern::before {
  content: '◆';
  position: absolute;
  font-size: 12rem;
  color: var(--gold);
  opacity: 0.05;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.facilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.facility-card {
  padding: 2.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--transition);
}

.facility-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-glow);
}

.facility-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
}

/* ——— Events Page ——— */
.events-showcase {
  padding: var(--section-pad) 0;
}

.event-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 5rem;
  padding-bottom: 5rem;
  border-bottom: 1px solid rgba(201, 169, 98, 0.15);
}

.event-showcase:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.event-showcase.reverse {
  direction: rtl;
}

.event-showcase.reverse > * {
  direction: ltr;
}

.event-showcase-visual {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.event-showcase-visual img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  transition: transform 0.8s var(--ease-luxury);
}

.event-showcase:hover .event-showcase-visual img {
  transform: scale(1.03);
}

.event-showcase-content {
  padding: 1rem 0;
}

.event-showcase-content .section-label {
  margin-bottom: 0.75rem;
}

.event-showcase-content h2 {
  margin-bottom: 1rem;
}

.event-features {
  margin: 1.5rem 0 2rem;
}

.event-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.event-features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.65rem;
}

.why-petra {
  padding: var(--section-pad) 0;
  background: linear-gradient(180deg, var(--royal-deep) 0%, var(--royal-mid) 100%);
}

.why-petra .section-title h2,
.why-petra .section-title p {
  color: var(--text);
}

.why-petra .section-title p {
  color: var(--text-muted);
}

.why-petra .why-card h4,
.why-petra .why-card p {
  color: var(--text);
}

.why-petra .why-card p {
  color: var(--text-muted);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  padding: 2rem;
  text-align: center;
}

.why-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 1rem 0 0.5rem;
}

/* ——— Gallery Page ——— */
.gallery-section {
  background: var(--royal-pearl);
}

.gallery-filters-wrap {
  padding: 2rem 0;
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  background: rgba(250, 249, 253, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(124, 92, 191, 0.12);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  width: var(--container);
  margin-inline: auto;
}

.filter-label {
  padding: 0.65rem 1.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  color: var(--text-soft-light);
}

.filter-radio:checked + .filter-label,
.filter-label:hover {
  background: var(--glass-bg);
  border-color: var(--glass-gold-border);
  color: var(--gold);
  box-shadow: var(--shadow-glass);
}

.gallery-section {
  padding: 2rem 0 var(--section-pad);
}

.gallery-masonry {
  width: var(--container);
  margin-inline: auto;
  columns: 3;
  column-gap: 1.25rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s, transform 0.4s;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.7s var(--ease-luxury);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  background: linear-gradient(to top, rgba(28, 24, 20, 0.85), transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  color: var(--white);
  font-size: 1.15rem;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
}

.gallery-item.tall img { aspect-ratio: 3/4; object-fit: cover; }
.gallery-item.wide { column-span: all; }
.gallery-item.wide img { aspect-ratio: 21/9; object-fit: cover; }

/* Gallery filter logic (pure CSS) */
#filter-weddings:checked ~ .gallery-masonry .gallery-item:not([data-cat*="weddings"]) { display: none; }
#filter-corporate:checked ~ .gallery-masonry .gallery-item:not([data-cat*="corporate"]) { display: none; }
#filter-celebrations:checked ~ .gallery-masonry .gallery-item:not([data-cat*="celebrations"]) { display: none; }
#filter-cultural:checked ~ .gallery-masonry .gallery-item:not([data-cat*="cultural"]) { display: none; }

#filter-weddings:checked ~ .gallery-filters-wrap .filter-label[for="filter-weddings"],
#filter-corporate:checked ~ .gallery-filters-wrap .filter-label[for="filter-corporate"],
#filter-celebrations:checked ~ .gallery-filters-wrap .filter-label[for="filter-celebrations"],
#filter-cultural:checked ~ .gallery-filters-wrap .filter-label[for="filter-cultural"],
#filter-all:checked ~ .gallery-filters-wrap .filter-label[for="filter-all"] {
  background: var(--glass-light-bg);
  border-color: var(--glass-light-gold);
  color: var(--royal-violet);
  box-shadow: 0 4px 16px rgba(124, 92, 191, 0.12);
}

.filter-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gallery-featured {
  width: var(--container);
  margin: 0 auto 2rem;
  max-width: var(--container);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 21/8;
  box-shadow: var(--shadow-card);
}

.gallery-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-featured-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 3rem;
  background: linear-gradient(90deg, rgba(28,24,20,0.7), transparent);
}

.gallery-featured-overlay h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

/* ——— Contact Page ——— */
.contact-wrap {
  padding: var(--section-pad) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-card {
  padding: 1.75rem 2rem;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-glow);
}

.contact-card h4 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.contact-form-panel {
  padding: 2.5rem;
}

.contact-form-panel h2 {
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

.contact-form-panel > p {
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-group label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-on-light);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(124, 92, 191, 0.2);
  border-radius: 12px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--royal-violet);
  box-shadow: 0 0 0 3px rgba(124, 92, 191, 0.15);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.map-section {
  padding: 0 0 var(--section-pad);
}

.map-container {
  width: var(--container);
  margin-inline: auto;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--glass-border);
}

.map-visual {
  position: relative;
  border-radius: var(--radius-md, 4px);
  overflow: hidden;
  aspect-ratio: 21/9;
}

.map-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-caption {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  max-width: 360px;
  padding: 2rem;
  text-align: left;
}

.map-caption h3 {
  color: var(--text-on-light);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.map-caption p {
  color: var(--text-muted-light);
  font-size: 0.9rem;
}

.map-placeholder {
  aspect-ratio: 21/7;
  background: linear-gradient(135deg, var(--royal-mist) 0%, var(--royal-pearl) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.map-placeholder h3 {
  margin-bottom: 0.5rem;
}

.map-pin {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 12px var(--gold-glow));
}

.faq-section {
  padding: var(--section-pad) 0;
}

.faq-grid {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.faq-item {
  padding: 2rem;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-glow);
}

.faq-item h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.faq-item p {
  font-size: 0.9rem;
}

/* ——— Scroll animations (CSS only) ——— */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: revealUp 0.9s var(--ease-luxury) both;
    animation-timeline: view();
    animation-range: entry 0% cover 35%;
  }

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

/* Shimmer accent */
.shimmer-line {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto;
}

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  .features-grid,
  .events-scroll,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ambiance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .welcome-grid,
  .story-grid,
  .contact-grid,
  .event-showcase {
    grid-template-columns: 1fr;
  }

  .event-showcase.reverse {
    direction: ltr;
  }

  .testimonials-grid,
  .vision-cards,
  .stats-row,
  .facilities-grid {
    grid-template-columns: 1fr;
  }

  .gallery-masonry {
    columns: 2;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2.5rem 2rem;
    background: rgba(18, 16, 31, 0.98);
    backdrop-filter: var(--glass-blur-heavy);
    border-left: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: -20px 0 60px rgba(0,0,0,0.5);
    transition: right var(--transition);
    gap: 1.5rem;
  }

  .nav-toggle:checked ~ .nav-links {
    right: 0;
  }

  .nav-toggle:checked ~ .nav-hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle:checked ~ .nav-hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked ~ .nav-hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .nav-cta-wrap {
    display: none;
  }

  .nav-container {
    position: relative;
  }

  .nav-toggle {
    display: block;
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    opacity: 0;
    cursor: pointer;
    z-index: 1002;
  }

  .welcome-float-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 1.5rem;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .features-grid,
  .events-scroll,
  .why-grid,
  .ambiance-grid {
    grid-template-columns: 1fr;
  }

  .gallery-masonry {
    columns: 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin-inline: auto;
  }

  .cinematic-bg {
    background-attachment: scroll;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
