/* -----------------------------------------------------------
   ROOT + GLOBAL (LIGHT THEME)
----------------------------------------------------------- */
:root {
  color-scheme: light only;
  --bg-main: #faf7f3;
  --bg-alt: #fffaf5;
  --bg-card: #ffffff;
  --accent: #f0b15b;
  --accent-soft: rgba(240, 177, 91, 0.12);
  --text-primary: #2b1d15;
  --text-muted: #7a675b;
  --border-subtle: #e4d7cb;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 35px rgba(79, 53, 34, 0.18);
  --transition-base: all 0.25s ease;
  --max-width: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* Prevent horizontal scroll globally */
  width: 100%;
}

html {
  scroll-behavior: smooth;
  background-color: #faf7f3 !important;
  /* Force background */
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Poppins", sans-serif;
  background: radial-gradient(circle at top, #fff4e5 0%, #faf7f3 45%, #f5eee5 100%) !important;
  color: var(--text-primary) !important;
  line-height: 1.6;
}

/* -----------------------------------------------------------
   TYPOGRAPHY & UTILS
----------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  margin: 0 0 10px;
  letter-spacing: 0.03em;
}

p {
  margin: 0 0 10px;
}

a {
  color: inherit;
  text-decoration: none;
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 70px 20px;
}

.section-header {
  text-align: left;
  margin-bottom: 32px;
}

.section-header.inline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.section-sub {
  max-width: 520px;
  color: var(--text-muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 8px;
}

.link-cta {
  font-size: 14px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: var(--transition-base);
}

.link-cta:hover {
  border-bottom-color: var(--accent);
}

/* -----------------------------------------------------------
   HEADER / NAV
----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(255, 252, 247, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 24px rgba(125, 96, 61, 0.12);
}

.logo img {
  height: 48px;
  /* adjust as needed */
  width: auto;
  object-fit: contain;
  display: block;
}


.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav a {
  font-size: 14px;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 4px;
  transition: var(--transition-base);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav a:hover {
  color: var(--text-primary);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.nav a.active {
  color: var(--accent);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #3b271a;
  margin: 4px 0;
  transition: var(--transition-base);
}

/* Group Book Now + Hamburger */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================
   BOOK NOW BUTTON
========================= */
.book-now-button {
  margin-left: 18px;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8b5a3c, #6d3f27);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(139, 90, 60, 0.35);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.book-now-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(139, 90, 60, 0.45);
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {

  .logo img {
    height: 48px;
    /* slightly smaller for phone */
    padding: 7px 0;
  }

  .book-now-button {
    padding: 7px 10px;
    font-size: 12px;
  }

  .nav-toggle {
    display: block;
    z-index: 10001;
  }

  .nav {
    display: none;
    /* menu opens only on toggle */
  }
}


/* =========================
   MOBILE NAV MENU FIX
========================= */
@media (max-width: 768px) {

  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
  }

  .nav {
    position: absolute;
    top: 100%;
    right: 16px;

    background: #fffaf5;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    border-radius: 14px;
    width: 220px;

    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);

    /* IMPORTANT FIX */
    display: none;
    z-index: 999;
    /* 👈 THIS IS THE KEY */
  }

  .nav.open {
    display: flex;
  }
}

/* -----------------------------------------------------------
   NEW 3D HERO SECTION (first-)
----------------------------------------------------------- */
.first-hero-section {
  position: relative;
  /* Reduced min-height for laptop view */
  min-height: 85vh;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top right, #fff8f0 0%, #fef2e2 100%);
  overflow: hidden;
}

/* DECORATIVE CIRCLE BEHIND TEXT */
.first-hero-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(240, 177, 91, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
}

.first-hero-container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  /* Side-by-side on desktop */
  align-items: center;
  justify-content: space-between;
  /* Space between text and visual */
  gap: 40px;
  animation: firstFadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
  text-align: left;
  /* Default left align for desktop */
}

@keyframes firstFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* LEFT: TEXT CONTENT */
.first-hero-text {
  flex: 1;
  max-width: 550px;
  /* Limit width */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Left align */
  gap: 20px;
  z-index: 2;
  position: relative;
}

.first-hero-tagline {
  font-size: 12px;
  /* Slightly smaller */
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  font-weight: 600;
  display: inline-block;
  background: rgba(240, 177, 91, 0.12);
  padding: 5px 10px;
  border-radius: 4px;
  width: fit-content;
}

.first-hero-text h1 {
  /* Smaller font size as requested */
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15;
  margin: 0;
  font-weight: 700;
  color: #2b1d15;
}

.first-hero-text h1 span {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

/* Decorative underline for h1 span */
.first-hero-text h1 span::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  height: 8px;
  /* Thinner */
  background: rgba(240, 177, 91, 0.25);
  z-index: -1;
  transform: rotate(-1deg);
}

.first-hero-sub {
  font-size: 15px;
  /* Reduced from 16px */
  /* Smaller from 18px */
  color: var(--text-muted);
  max-width: 440px;
  /* Reduced max-width */
  line-height: 1.6;
}

.first-hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  justify-content: flex-start;
  /* Left align */
}

.first-hero-meta {
  display: flex;
  gap: 40px;
  /* Increased gap */
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(122, 103, 91, 0.1);
  /* Keep border but maybe adjust width if needed */
  justify-content: flex-start;
  /* Left align */
  width: 100%;
}

.first-hero-meta h3 {
  font-size: 20px;
  /* Smaller from 22px */
  color: var(--text-primary);
  margin-bottom: 2px;
}

.first-hero-meta p {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* RIGHT: EXPANDING HERO GALLERY */
.expand-gallery {
  flex: 1.2;
  /* Slightly wider than text if possible */
  display: flex;
  width: 100%;
  /* Take remaining space */
  max-width: 600px;
  height: 450px;
  /* Good height for desktop */
  gap: 15px;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
  /* Enable 3D perspective */
}

.expand-card {
  flex: 1;
  height: 100%;
  border-radius: 40px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  min-width: 60px;
  transform: rotateY(0deg);
  /* Initial state */
  transform-style: preserve-3d;
}

/* GRADIENT OVERLAY FOR TEXT READABILITY */
.expand-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0.6;
  /* Always visible slightly */
  transition: opacity 0.3s ease;
}

/* TEXT INSIDE CARD */
.expand-card h3 {
  position: absolute;
  bottom: 30px;
  left: 20px;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  opacity: 0;
  transform: translateY(20px) translateZ(20px);
  /* Slight 3D lift */
  transition: all 0.4s ease 0.1s;
  white-space: nowrap;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* HOVER STATE: EXPAND CARD + 3D EFFECT */
.expand-card:hover {
  flex: 10;
  /* Grow significantly larger */
  transform: rotateY(0deg) scale(1.02);
  /* Slight scale up */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

/* Subtly tilt OTHER cards when one is hovered (optional advanced effect, needs JS or complex sibling selectors. Keeping it simple via flex for now) */
/* Actually, let's just make the active one pop */

.expand-card:hover::before {
  opacity: 0.8;
}

.expand-card:hover h3 {
  opacity: 1;
  transform: translateY(0) translateZ(20px);
}

/* RESPONSIVE */

/* Tablet & Smaller Desktop (below 1024px) */
/* Tablet & Smaller Desktop (below 1024px) */
/* CHANGED QUERY TO PREVENT OVERLAP WITH MOBILE */
@media (min-width: 769px) and (max-width: 1024px) {
  .first-hero-container {
    flex-direction: column;
    /* Stack vertically */
    text-align: center;
    gap: 40px;
  }

  .first-hero-text {
    align-items: center;
    max-width: 100%;
    margin-top: 20px;
  }

  .first-hero-actions {
    justify-content: center;
  }

  .first-hero-meta {
    justify-content: center;
  }

  .expand-gallery {
    width: 650px;
    /* Allow wider on tablet */
    max-width: 100%;
    height: 400px;
  }
}

/* Mobile (below 768px) - USER FIX APPLIED */
@media (max-width: 768px) {

  /* 1. CRITICAL FIX: Unlock the container height */
  .first-hero-section,
  .first-hero-container {
    height: auto !important;
    /* Allow it to grow to fit content */
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    /* Force vertical stacking */
    overflow: hidden !important;
    /* Prevent internal overflow */
    padding-bottom: 50px;
    gap: 30px;
    width: 100% !important;
    max-width: 100vw !important;
    /* STRICT constraint */
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box !important;
  }

  .first-hero-container {
    opacity: 1 !important;
    transform: none !important;
    margin: 0 !important;
    /* Remove auto margins that might cause shift */
  }

  /* Make buttons stacked and full width for easier tapping */
  .first-hero-actions {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 15px;
  }

  .first-hero-actions .btn {
    width: 100%;
    max-width: 300px;
    /* Don't get too wide on tablets */
    justify-content: center;
    text-align: center;
  }

  /* 2. Fix the Gallery Sizing */
  .expand-gallery {
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    height: 280px !important;
    min-height: 280px;
    flex: none !important;
    margin-top: 20px;
    opacity: 1 !important;
    visibility: visible !important;
    gap: 10px;
    /* Small gap */
    perspective: none !important;
    padding: 0 !important;
    /* No internal padding */
  }

  /* 3. Ensure Cards have width */
  .expand-card {
    flex: 1;
    width: auto;
    /* Let flex handle width */
    min-width: 0;
    /* Critical for flex shrinking */
    height: 100%;
    background-color: #ddd;
    border-radius: 15px;
    transition: flex 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Snappy transition */
    transform: none !important;
  }

  .expand-card:hover,
  .expand-card.active {
    flex: 3;
    /* Less aggressive expansion for small screens */
  }

  .expand-card h3 {
    font-size: 14px;
    /* Smaller text */
    bottom: 12px;
    left: 12px;
    white-space: normal;
    line-height: 1.2;
    padding-right: 5px;
  }

  /* Show text when active/expanded */
  .expand-card.active h3,
  .expand-card.active::before {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Make sure container doesn't constrain it unnecessarily */
@media (max-width: 480px) {

  .first-hero-section,
  .first-hero-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .expand-gallery {
    height: 250px !important;
    min-height: 250px;
  }
}

/* -----------------------------------------------------------
   CARDS & GRID
----------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.info-card,
.package-card,
.theme-card,
.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.info-card::before,
.package-card::before,
.theme-card::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at top, rgba(240, 177, 91, 0.2), transparent 65%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.info-card:hover::before,
.package-card:hover::before,
.theme-card:hover::before {
  opacity: 1;
}

.info-card h3 {
  margin-bottom: 6px;
}

.info-card p {
  font-size: 14px;
  color: var(--text-muted);
}


/* ---------------------------------------------
   ABOUT SECTION
--------------------------------------------- */
.about-section {
  padding: 90px 20px;
  background: linear-gradient(to bottom, #f5eee5, #b98b57);
  margin-top: 50px;
  /* Could be causing the gap */
}

.about-container {
  max-width: 900px;
  margin: auto;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

.about-section h2 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.2;
  color: #2d1d14;
}

.about-text {
  font-size: 18px;
  line-height: 1.8;
  color: #4e3b31;
  margin-bottom: 25px;
}

.about-btn {
  display: inline-block;
  background: white;
  padding: 14px 30px;
  border-radius: 14px;
  border: 2px solid #e6c08b;
  font-weight: 600;
  color: #2d1d14;
  transition: 0.3s ease;
}

.about-btn:hover {
  background: #eec690;
  color: #2d1d14;
  transform: translateY(-3px);
}

/* Smooth Fade Up Animation */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------------
   PREMIUM FADE UP ANIMATION
--------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.78s ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}


/* Reveal on scroll (with your existing reveal script) */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
    Floating Particles
============================ */

/* Changed from .parallax-elite .particle to .studio-slideshow-section .particle */
.about-section .particle {
  position: absolute;
  width: 9px;
  height: 9px;
  background: rgba(238, 238, 235, 0.8);
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.8;
  animation: floatParticle 10s infinite linear;
  z-index: 99;
}

@keyframes floatParticle {
  from {
    transform: translateY(0) translateX(0);
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }

  to {
    transform: translateY(-140px) translateX(20px);
    opacity: 0;
  }
}

/* Auto particle positioning (using the new class selector) */
.about-section .particle:nth-child(1) {
  top: 80%;
  left: 10%;
  animation-duration: 12s;
}

.about-section .particle:nth-child(2) {
  top: 90%;
  left: 50%;
  animation-duration: 14s;
}

.about-section .particle:nth-child(3) {
  top: 85%;
  left: 70%;
  animation-duration: 11s;
}

.about-section .particle:nth-child(4) {
  top: 45%;
  left: 55%;
  animation-duration: 15s;
}

.about-section .particle:nth-child(5) {
  top: 88%;
  left: 85%;
  animation-duration: 13s;
}

.about-section .particle:nth-child(6) {
  top: 95%;
  left: 25%;
  animation-duration: 12s;
}

.about-section .particle:nth-child(7) {
  top: 45%;
  left: 55%;
  animation-duration: 15s;
}

/* --- ABOUT SECTION STYLES --- */

/* Use Flexbox for side-by-side layout in the about-container */
.about-container {
  display: flex;
  flex-wrap: wrap;
  /* Allows stacking on small screens */
  align-items: center;
  justify-content: space-between;
  padding: 20px 5%;
  /* Adjust padding as needed */
  max-width: 1200px;
  /* Max width for the content area */
  margin: 0 auto;
}

.about-content {
  flex: 1;
  /* Take up remaining space */
  min-width: 300px;
  /* Minimum width for content before wrapping */
  padding-right: 30px;
  /* Space between content and slideshow */
}

/* --- SLIDESHOW STYLES --- */

.fslideshow {
  width: 45%;
  /* Slideshow takes up 45% of the container width on large screens */
  max-width: 450px;
  position: relative;
  overflow: hidden;
  /* Optional: Add a rounded border and shadow for the effect in the video */
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.fslideshow img {
  width: 100%;
  display: block;
  /* Set initial position for JavaScript to animate */
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  /* Smooth fade transition */
  /* Ensure all images have the same height */
  height: auto;
}

/* Make the first image visible initially */
.fslideshow img:first-child {
  position: relative;
  /* Take up space in the container */
  opacity: 1;
}


/* --- RESPONSIVENESS (Media Query) --- */
@media (max-width: 900px) {
  .about-section {
    padding-top: 0;
    /* Remove padding from the section */
    margin-top: 0;
    /* Remove margin from the section */
  }

  /* ... rest of the media query styles ... */
}

@media (max-width: 900px) {

  .about-container {
    flex-direction: column;
    /* Stack the items vertically */
    padding-top: 20px;
    /* Reduced top padding on mobile */
    padding-bottom: 20px;
    /* Reduced bottom padding too, if needed */
  }

  .about-content {
    order: 1;
    /* Content (text and button) comes first */
    padding-right: 0;
    margin-top: 30px;
    text-align: center;
    /* Center text on mobile */
  }

  .about-content h2 {
    text-align: center;
  }

  .about-content .about-btn {
    margin: 0 auto;
    display: block;
    width: max-content;
  }


  .fslideshow {
    order: 2;
    /* Slideshow goes below the content */
    width: 90%;
    /* Slideshow takes up more width on mobile */
    max-width: 400px;
    /* Keep it from getting too big */
    margin: 30px auto 0 auto;
    /* Add margin on top for spacing */
  }
}



/* -----------------------------------------------------------
   THEMES PREVIEW (HOME)
----------------------------------------------------------- */
.section {
  padding: 80px 20px 10px;
}

.theme-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.theme-preview-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
}

.theme-img {
  height: 190px;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 0.35s ease;
}

.theme-preview-card:hover .theme-img {
  transform: scale(1.07);
}

.theme-label {
  padding: 14px 14px 18px;
}

.theme-label p {
  font-size: 14px;
  color: var(--text-muted);
}


/*ORANGE GLOW EFFECT*/
.frame-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  z-index: 3;
  pointer-events: none;

  box-shadow:
    0 0 15px rgba(255, 140, 0, 0.6),
    /* Subtle glow */
    0 0 40px rgba(255, 165, 0, 0.4),
    /* Stronger glow */
    0 0 80px rgba(255, 165, 0, 0.2);
  /* Very soft, wide glow */
}

/*
====================================
Section Context (Required for particles)
====================================
*/
.studio-slideshow-section {
  position: relative;
  /* Crucial: This contains the absolutely positioned particles */
  overflow: hidden;
  /* Ensures particles stay within the section boundaries */
}

/* -----------------------------------------------------------
   CTA STRIP
----------------------------------------------------------- */
.cta-strip {
  max-width: var(--max-width);
  margin: 0 auto 60px;
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(240, 177, 91, 0.15), #fff9f1);
  border: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.cta-strip p {
  color: var(--text-muted);
}

/* -----------------------------------------------------------
   PAGE HERO (OTHER PAGES)
----------------------------------------------------------- */
.page-hero {
  max-width: var(--max-width);
  background: radial-gradient(circle at top, #9b723f 0%, #b8a790 45%, #e8dac8 100%);
  margin: 0 auto;
  padding: 60px 20px 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.page-hero.small-hero {
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

.page-hero-text p {
  color: #ffffff;
}

.page-hero-img {
  height: 260px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  background-color: #fdf7f0;
}


/* -----------------------------------------------------------
   TWO-COLUMN, STATS, TIMELINE, TEAM
----------------------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 28px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}


/* ---------------------------------------
   FADE UP ANIMATION (NO REVEAL)
--------------------------------------- */
.animate-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 4s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Optional: delay for stats so they fade sequentially */
.stats-grid .stat:nth-child(1) {
  animation-delay: 0.1s;
}

.stats-grid .stat:nth-child(2) {
  animation-delay: 0.2s;
}

.stats-grid .stat:nth-child(3) {
  animation-delay: 0.3s;
}

.stats-grid .stat:nth-child(4) {
  animation-delay: 0.4s;
}


/* ---------------------------------------
   GRID LAYOUT
--------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 20px;
}

/* ---------------------------------------
   STAT BOX STYLE + HOVER EFFECT
--------------------------------------- */
.stat {
  background: #d1a76d;
  padding: 18px 15px;
  border-radius: 14px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
  position: relative;
  transition: 0.35s ease;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

/* Hover effect */
.stat:hover {
  transform: translateY(-6px);
  border-color: #000;
}

/* Black top glow */
.stat::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 60%;
  background: rgba(0, 0, 0, 0.838);
  filter: blur(25px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat:hover::before {
  opacity: 1;
}

/* Text styles */
.stat h3 {
  font-size: 28px;
  margin-bottom: 4px;
  color: #000;
}

.stat p {
  color: #010000;
  font-size: 14px;
}


/* ----------------------------------------
   VIDEO SECTION STYLE
---------------------------------------- */
.about-video-section {
  padding: 60px 0;
  display: flex;
  justify-content: center;
  align-items: center;

  background: linear-gradient(to bottom, #f5eee5, #c2a98c);
}

/* Glow wrapper */
.video-frame-glow {
  position: relative;
  width: 90%;
  max-width: 1100px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 10px 45px rgba(0, 0, 0, 0.22);
}

/* Video styling */
.premium-video {
  width: 100%;
  height: auto;
  border-radius: 26px;
  display: block;
}

/* Soft glow effect */
.video-frame-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 26px;
  pointer-events: none;
  box-shadow: 0 0 55px rgba(0, 0, 0, 0.35);
}


/* ----------------------------------------
   Fade video on load (smooth animation)
---------------------------------------- */
.fade-video {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUpVideo 1s ease forwards;
}

@keyframes fadeUpVideo {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ----------------------------------------
   Responsive tweaks for mobile
---------------------------------------- */
@media (max-width: 600px) {
  .video-frame-glow {
    border-radius: 18px;
  }

  .premium-video {
    border-radius: 18px;
  }
}

/* ----------------------------------------
   GALLERY SECTION
---------------------------------------- */
.gallery-section {
  padding: 70px 20px;
  text-align: center;
  background: #d6c7b3;
}

.gallery-section h2 {
  font-size: 32px;
  margin-bottom: 25px;
  color: #2e1e15;
}

/* Grid system */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* 5 images per row on laptop */
  gap: 12px;
}

/* Gallery image styling */
.gallery-grid img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.gallery-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* Responsive — tablet */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Responsive — phone */
@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    /* 3 in a row on phone */
  }

  .gallery-grid img {
    height: 130px;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .gallery-grid img {
    height: 115px;
  }
}

/* Fade-up animation (your preferred) */
.animate-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hidden before scroll */
.fade-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* When scroll enters viewport */
.fade-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}



/* -----------------------------------------------------------
   THEMES PAGE 
----------------------------------------------------------- */
/* -------------------------------------------
   THEMES PAGE HERO (premium glow effect)
-------------------------------------------- */
.themes-hero-section {
  position: relative;
  padding: 120px 20px;
  text-align: center;
  color: #2a1a15;
  overflow: hidden;
  border-radius: 0 0 40px 40px;

  /* Beautiful gradient background */
  background: linear-gradient(135deg, #6b4f2a, #f8d7b7, #7b5026);
}

/* Moving shine effect */
.themes-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(255, 255, 255, 0.25) 50%,
      rgba(255, 255, 255, 0.05) 100%);
  mix-blend-mode: soft-light;
  animation: shineMove 6s infinite linear;
}

@keyframes shineMove {
  0% {
    transform: translateX(-100%) rotate(15deg);
  }

  100% {
    transform: translateX(100%) rotate(15deg);
  }
}

/* -------------------------------------------
   THEMES PAGE TEXT
-------------------------------------------- */
.themes-hero-text {
  max-width: 700px;
  margin: auto;
}

.themes-eyebrow {
  letter-spacing: 2px;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #6b4e33;
}

.themes-title {
  font-size: 42px;
  margin-bottom: 15px;
  color: #2a1a15;
}

.themes-subtitle {
  font-size: 18px;
  color: #f3efec;
}

@media (max-width: 900px) {
  .themes-title {
    font-size: 34px;
  }
}

@media (max-width: 600px) {
  .themes-hero-section {
    padding: 80px 20px;
  }

  .themes-title {
    font-size: 28px;
  }

  .themes-subtitle {
    font-size: 16px;
  }

  .themes-eyebrow {
    font-size: 14px;
  }
}


/* themes gallery page */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: nowrap;
  /* 🔥 always one line */
}

.filter-btn {
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: #fffaf4;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-base);
  white-space: nowrap;
}

.filter-btn.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(240, 177, 91, 0.7);
}

/* ===============================
   PHONE – SHRINK BUTTONS
================================ */
@media (max-width: 600px) {
  .filter-row {
    gap: 6px;
    /* less gap */
  }

  .filter-btn {
    padding: 4px 10px;
    /* 🔥 smaller padding */
    font-size: 12px;
    /* 🔥 smaller text */
  }
}

/* VERY SMALL PHONES */
@media (max-width: 360px) {
  .filter-btn {
    padding: 3px 8px;
    font-size: 11px;
  }
}


/* ===============================
   PHOTO SECTION – THEME PAGE
================================*/
.photo-section {
  width: 100%;
  max-width: 100%;
  padding: 20px 14px;
  overflow-x: hidden;
  /* 🔥 VERY IMPORTANT */
}

/* Title */
.gallery-title {
  /* Use your theme colors */
  --color-1: #f0b15b;
  /* --accent */
  --color-2: #2b1d15;
  /* --text-primary */
  --color-3: #7a675b;
  /* --text-muted */

  font-size: 3rem;
  /* Adjust size as needed */
  font-weight: bold;

  /* Create the gradient */
  background: linear-gradient(to right,
      var(--color-1),
      var(--color-2),
      var(--color-3),
      var(--color-1));

  /* Make the gradient fit the text and hide the rest */
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  /* The Animation */
  animation: shine 4s linear infinite;
}

/* Keyframes to move the background */
@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* Image frame */
.photo-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  /* balanced rectangle */
  object-fit: cover;
  display: block;

  background: #ffffff;
  padding: 6px;
  border-radius: 12px;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover effect (desktop only feel) */
.photo-grid img:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

/* ===============================
   GRID BASE
================================ */
.photo-grid {
  display: grid;
  width: 100%;
  max-width: 100%;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

/* Images */
.photo-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

/* ===============================
   RESPONSIVE BREAKPOINTS
================================*/

/* Large tablets & small laptops */
@media (max-width: 1024px) {
  .photo-grid {
    gap: 16px;
  }

  .gallery-title {
    font-size: 20px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .photo-grid {
    gap: 14px;
  }

  .gallery-title {
    font-size: 24px;
    margin: 32px 0 18px;
  }
}

/* Phones (STILL 3 per row) */
@media (max-width: 600px) {
  .photo-grid {
    gap: 12px;
    padding: 0 6px;
  }

  .photo-grid img {
    padding: 4px;
    border-radius: 10px;
  }

  .gallery-title {
    font-size: 20px;
  }
}

/* Small phones */
@media (max-width: 360px) {
  .photo-grid {
    gap: 10px;
  }

  .photo-grid img {
    padding: 3px;
    border-radius: 8px;
  }

  .gallery-title {
    font-size: 20px;
  }
}

/* PHONE FIX – Family portraits only 2 per row */
@media (max-width: 600px) {
  .family-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===============================
   MOBILE FIXES
================================ */
@media (max-width: 600px) {

  /* Kids → 3 per row */
  .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Family → ONLY 2 per row */
  .family-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-section {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Extra small phones */
@media (max-width: 380px) {
  .photo-grid {
    gap: 10px;
  }
}


/* ===============================
   THEME SECTION – THEME PAGE
================================*/

/* --- 2.1 Slider Layout and Container --- */
.themes-slider-wrapper {
  /* Ensure it takes full width within its parent */
  width: 100%;
  overflow: hidden;
  /* Crucial for hiding items that are off-screen */
}

.slider-container {
  width: 100%;
  /* take full screen width */
  max-width: 100%;
  /* IMPORTANT */
  margin: 0;
  /* remove center gap */
  position: relative;
}


/* The 'slide' element is the moving track that contains all 'item' elements */
.slide {
  display: flex;
  /* Arranges items in a row */
  transition: transform 0.5s ease-in-out;
  /* Smooth sliding animation */
}

/* --- 2.2 Individual Slide Item Styles (The Rectangular Box) --- */
.item {
  min-width: 100%;
  /* Each item takes up the full width of the container */
  height: 600px;
  /* **Crucial for the rectangular shape** */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
  /* Align content to the bottom */
  padding: 20px;
  color: white;
  box-sizing: border-box;
}

/* --- 2.3 Content Overlay Styles --- */
.item .content {
  background: rgba(12, 12, 12, 0.737);
  /* Semi-transparent dark overlay for readability */
  padding: 15px;
  border-radius: 5px;
  max-width: 70%;
  /* Limit width of text for better readability */
}

.item .name {
  margin-top: 0;
  margin-bottom: 5px;
}

.item .des {
  margin-bottom: 10px;
  font-size: 0.9em;
}

.tbuttons button {
  background-color: #ff5722;
  /* Example accent color */
  color: white;
  border: none;
  padding: 8px 15px;
  margin-right: 10px;
  cursor: pointer;
  border-radius: 3px;
  transition: background-color 0.3s;
}

.tbuttons button:hover {
  background-color: #e64a19;
}


/* --- 2.4 Slider Navigation Buttons --- */
.slider-buttons {
  position: absolute;
  top: 50%;
  /* Center vertically */
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
  /* Allows clicks to pass through to the buttons */
}

.slider-buttons button {
  pointer-events: auto;
  /* Re-enable clicks on the buttons themselves */
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 24px;
  cursor: pointer;
  border-radius: 50%;
  /* Round buttons */
  line-height: 1;
}

/* --- 2.5 Responsive Adjustments (Mobile Devices) --- */
@media (max-width: 768px) {
  .item {
    height: 300px;
    /* Slightly taller to give the box room to breathe */
    display: flex;
    align-items: flex-end;
    /* Keeps the box at the bottom */
    justify-content: center;
  }

  .item .content {
    max-width: 65%;
    /* Makes the box narrower */
    padding: 10px;
    /* REDUCES the box size by shrinking internal space */
    bottom: 20px;
    /* Positions it slightly above the bottom edge */
    border-radius: 8px;
  }

  .item .content .name {
    font-size: 9px;
    /* Makes "Autumn Harvest Magic" smaller */
    margin-bottom: 5px;
  }

  .item .content .des {
    font-size: 8px;
    /* Makes the description text smaller */
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .tbuttons {
    display: flex;
    gap: 10px;
    /* Brings buttons closer together */
    justify-content: center;
  }

  .tbuttons button {
    padding: 4px 8px;
    /* Makes the orange buttons smaller */
    font-size: 8px;
    /* Smaller text inside buttons */
  }
}


/* Target laptops and desktops starting at 992px */
@media screen and (min-width: 992px) {

  .themes-slider-wrapper,
  .slider-body {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #edeae8;
  }

  .slider-container {
    width: 100%;
    /* 🔥 key fix */
    max-width: 100%;
    /* 🔥 no container gap */
    height: 100vh;
    margin: 0;
    border-radius: 0;
  }

  .slider-container {
    border-radius: 20px;
    overflow: hidden;
  }

  .slide {
    height: 100%;
  }

  .slide .item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: 0;
  }
}


/* --- Desktop/Laptop Specific Styles (992px and up) --- */
@media screen and (min-width: 992px) {

  .item {
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    /* Essential for positioning buttons inside */
    display: block;
    /* Changed from flex to allow absolute positioning */
  }

  /* This targets the box containing "Autumn Harvest Magic" and buttons */
  .content {
    position: absolute;
    bottom: 50px;
    /* Keeps it near the bottom like your reference */
    left: 50%;
    transform: translateX(-50%);
    /* Perfectly centers it horizontally */

    /* Fixed width so it doesn't change size when zooming */
    width: 500px;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    /* Semi-transparent dark overlay */
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
  }

  .tbuttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
  }

  .tbuttons button {
    /* Using fixed pixels (px) ensures they don't grow/shrink weirdly on zoom */
    width: 140px;
    height: 45px;
    background-color: #ff5722;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
  }
}


/* --- 2.6 Filter Logic (for showing/hiding sections) --- */
.hidden {
  display: none !important;
}


/* THEME- GALLERY (KNOW MORE BUTTON) */
.theme-gallery-section {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* GRID */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* phone */
  gap: 16px;
}

/* Laptop */
@media (min-width: 768px) {
  .theme-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}



/* CARD */
.theme-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
}

/* IMAGE — FULL IMAGE VISIBLE */
.theme-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  /* rectangle */
  object-fit: contain;
  /* 🔥 FULL IMAGE, NO CROP */
  background: #f2f2f2;
  /* fills empty space nicely */
  display: block;
}

/* TITLE */
.theme-caption {
  padding: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: #333;
  background: #fff;
}

/* BACKDROPS */

.backdrop-coverflow {
  position: relative;
  z-index: 1;
  overflow: hidden;
  width: 100vw;
  /* FULL screen width */
  margin-left: calc(-50vw + 50%);
  /* escape parent width */
  padding: 40px 20px;

  background: radial-gradient(circle at center,
      rgba(255, 255, 255, 0.7),
      rgb(206, 172, 132) 60%,
      rgba(54, 37, 20, 0.678) 100%),
    linear-gradient(135deg,
      #f7efe6 0%,
      #efc9a3 45%,
      #341e09 100%);
}


.gallery-title {
  text-align: center;
  color: #2e1d0fc3;
  margin-bottom: 5px;
  font-size: 2em;
}

.backdrop-coverflow p {
  text-align: center;
  color: #59371c;
  margin-top: 0;
}

/* --- 1. Base Container & 3D Space Setup --- */
.coverflow-container {
  /* Create the 3D viewing space */
  perspective: 1200px;
  position: relative;
  max-width: 90%;
  margin: 50px auto;
  padding: 0 40px;
  /* Space for the navigation arrows */
}

.coverflow-track {
  display: flex;
  justify-content: center;
  /* Maintain 3D positioning */
  transform-style: preserve-3d;
  height: 260px;
  /* Adjust height for the slider area */
  transition: transform 0.5s ease-in-out;
  /* Smooth slide transition (though JS handles the element transforms) */
}

/* --- 2. Individual Item Styling --- */
.cf-item {
  position: absolute;
  width: 320px;
  /* Width of each card */
  height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  background-color: #000;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  /* Essential for 3D smooth movement */
  transition: transform 0.5s ease-in-out, filter 0.5s ease-in-out, opacity 0.5s;

  /* Initially hide items far from the center */
  opacity: 0;
}

/* Items near the center should be visible */
.cf-item[data-position="-3"],
.cf-item[data-position="-2"],
.cf-item[data-position="-1"],
.cf-item[data-position="0"],
.cf-item[data-position="1"],
.cf-item[data-position="2"],
.cf-item[data-position="3"] {
  opacity: 1;
}

/* --- 3. 3D Transformation (The Coverflow Effect) --- */

/* Left items (rotated away and pushed back) */
.cf-item[data-position="-1"] {
  transform: translateX(-150%) rotateY(45deg) translateZ(-200px);
}

.cf-item[data-position="-2"] {
  transform: translateX(-200%) rotateY(45deg) translateZ(-300px);
}

.cf-item[data-position="-3"] {
  transform: translateX(-250%) rotateY(45deg) translateZ(-400px);
}

/* Items further left are hidden by default (opacity: 0) */


/* Center Active Item (straight and brought forward) */
.cf-item.active,
.cf-item[data-position="0"] {
  position: relative;
  z-index: 10;
  transform: scale(1.1) translateZ(100px);
  /* Slightly larger and closer */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

/* Right items (rotated away and pushed back) */
.cf-item[data-position="1"] {
  transform: translateX(150%) rotateY(-45deg) translateZ(-200px);
}

.cf-item[data-position="2"] {
  transform: translateX(200%) rotateY(-45deg) translateZ(-300px);
}

.cf-item[data-position="3"] {
  transform: translateX(250%) rotateY(-45deg) translateZ(-400px);
}

/* Items further right are hidden by default (opacity: 0) */

/* --- 4. Caption and Shading --- */
.cf-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Subtle gradient for the dark bottom effect */
  background: linear-gradient(to bottom, transparent 60%, rgba(84, 45, 16, 0.8) 100%);
  transition: background 0.5s;
  pointer-events: none;
}

.cf-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px 10px;
  color: white;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  transform: translateY(100%);
  /* Initially hide the title */
  transition: transform 0.5s ease-out;
}

/* Show title on active item */
.cf-item.active .cf-title,
.cf-item[data-position="0"] .cf-title {
  transform: translateY(0);
}

/* --- 5. Navigation Buttons --- */
.cf-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 3em;
  color: #000000;
  /* Match the title color */
  cursor: pointer;
  z-index: 20;
  padding: 10px;
}

.cf-nav.prev {
  left: 0;
}

.cf-nav.next {
  right: 0;
}

.cf-item.active,
.cf-item[data-position="0"] {
  z-index: 10;
  transform: scale(1.05) translateZ(120px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
}

@media (max-width: 600px) {
  .cf-item {
    width: 260px;
    height: 180px;
  }

  .coverflow-container {
    max-width: 100%;
    padding: 0 20px;
  }
}

@media (min-width: 1000px) {
  .cf-item {
    width: 360px;
    height: 240px;
  }
}

@media (max-width: 600px) {

  .coverflow-container {
    perspective: 700px;
    /* ⬅ closer depth */
  }

  .cf-item {
    width: 260px;
    height: 180px;
  }

  /* LEFT SIDE */
  .cf-item[data-position="-1"] {
    transform: translateX(-110%) rotateY(30deg) translateZ(-120px);
  }

  .cf-item[data-position="-2"] {
    transform: translateX(-160%) rotateY(30deg) translateZ(-200px);
  }

  /* CENTER */
  .cf-item[data-position="0"],
  .cf-item.active {
    transform: scale(1.05) translateZ(80px);
  }

  /* RIGHT SIDE */
  .cf-item[data-position="1"] {
    transform: translateX(110%) rotateY(-30deg) translateZ(-120px);
  }

  .cf-item[data-position="2"] {
    transform: translateX(160%) rotateY(-30deg) translateZ(-200px);
  }
}

@media (max-width: 600px) {
  .backdrop-coverflow {
    padding: 25px 12px;
    /* 🔻 top & bottom gap reduce */
    min-height: unset;
    /* force height remove */
  }

  .coverflow-container {
    margin: 20px auto;
    /* center tighten */
  }

  .coverflow-track {
    height: 260px;
    /* phone ku correct height */
  }

  .gallery-title {
    margin-bottom: 50px;
    /* heading-ku keela gap reduce */
  }
}

/* ===== BACKDROP DETAILS WRAPPER ===== */
.b-backdrop-details {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
  text-align: center;
}

/* Title */
.b-backdrop-title {
  margin: 30px 0 25px;
  font-size: 28px;
  letter-spacing: 1px;
  color: #4b362b;
}

.b-backdrop-title {
  color: #130c05;
}


/* ===== RESPONSIVE ===== */

/* Phone */
@media (max-width: 600px) {

  .b-backdrop-title {
    font-size: 24px;
  }
}

/* ================================
   EXTRA LARGE CARDS – LAPTOP ONLY
================================ */
@media (min-width: 1100px) {
  .gallery-title {
    margin-bottom: 80px;
    /* 🔥 increase gap */
  }

  /* Main card size */
  .cf-item {
    width: 580px;
    /* 🔥 BIG WIDTH */
    height: 380px;
    /* 🔥 BIG HEIGHT */
    border-radius: 14px;
  }

  /* Track height MUST be bigger */
  .coverflow-track {
    height: 420px;
  }

  /* Center active card – strong focus */
  .cf-item.active,
  .cf-item[data-position="0"] {
    transform: scale(1.12) translateZ(180px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
  }

  /* LEFT SIDE – bring closer */
  .cf-item[data-position="-1"] {
    transform: translateX(-125%) rotateY(40deg) translateZ(-220px);
  }

  .cf-item[data-position="-2"] {
    transform: translateX(-170%) rotateY(40deg) translateZ(-320px);
  }

  .cf-item[data-position="-3"] {
    transform: translateX(-210%) rotateY(40deg) translateZ(-420px);
  }

  /* RIGHT SIDE – bring closer */
  .cf-item[data-position="1"] {
    transform: translateX(125%) rotateY(-40deg) translateZ(-220px);
  }

  .cf-item[data-position="2"] {
    transform: translateX(170%) rotateY(-40deg) translateZ(-320px);
  }

  .cf-item[data-position="3"] {
    transform: translateX(210%) rotateY(-40deg) translateZ(-420px);
  }

}


/* -----------------------------------------------------------
   PROPS - THEME PAGE
----------------------------------------------------------- */
/* --- UNIQUE PROPS MARQUEE ANIMATION --- */
.props-marquee-wrapper {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 60px 0;
  background: transparent;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  /* Hide Scrollbar */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

/* Hide scrollbar for Chrome/Safari/Opera */
.props-marquee-wrapper::-webkit-scrollbar {
  display: none;
}

/* Side Gradients for Blending */
.props-marquee-wrapper::before,
.props-marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 15%;
  /* Width of the fade */
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.props-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-body), transparent);
}

.props-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-body), transparent);
}

.props-marquee-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: propsMarqueeScroll 40s linear infinite;
}

.props-marquee-track:hover {
  animation-play-state: paused;
}

.props-item {
  width: 300px;
  height: 220px;
  flex-shrink: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.props-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Hover Effect: Scale up & Lift */
.props-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.props-item:hover img {
  transform: scale(1.1);
}

.props-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.props-item:hover .props-item-overlay {
  transform: translateY(0);
}

.props-item-name {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

@keyframes propsMarqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }

  /* Assumes track is duplicated for seamless loop */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .props-item {
    width: 240px;
    height: 180px;
  }
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  background: none;
  border: none;
  transition: transform 0.2s;
  z-index: 10000;
}

.lightbox-close:hover {
  transform: rotate(90deg) scale(1.2);
  color: var(--accent);
}

/* --- PROPS ACTIONS & EXTRA GRID --- */
.props-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  text-decoration: none;
}

.primary-btn {
  background: linear-gradient(135deg, #f4c079, #f8d89b);
  color: #3b271a;
  box-shadow: 0 10px 20px rgba(155, 110, 60, 0.2);
}

.primary-btn:hover {
  transform: translateY(-2px);
  background: #4e3b31;
  /* Dark Brown */
  color: #fff;
  box-shadow: 0 14px 28px rgba(78, 59, 49, 0.4);
}

.ghost-btn {
  border: 1px solid rgba(141, 110, 79, 0.4);
  background: rgba(255, 252, 247, 0.6);
  color: var(--text-primary);
  backdrop-filter: blur(4px);
}

.ghost-btn:hover {
  border-color: #4e3b31;
  /* Dark Brown */
  background: linear-gradient(135deg, #f4c079, #f8d89b);
  /* Dark Brown */
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(78, 59, 49, 0.15);
}

/* RESPONSIVE BUTTONS */
@media (max-width: 480px) {
  .btn {
    padding: 12px 24px;
    font-size: 14px;
    width: 100%;
    /* Full width on mobile for easier tapping */
    max-width: 200px;
    /* But capped */
  }
}

.more-props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 20px;
  animation: fadeInGrid 0.5s ease-out;
}

.more-props-grid.hidden {
  display: none;
}

@keyframes fadeInGrid {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- PROPS RESPONSIVE --- */
@media (max-width: 768px) {
  .props-marquee-wrapper {
    padding: 40px 0;
  }

  /* Fluid sizing for Tablet: ~2.5 items visible */
  .props-item {
    width: 40vw;
    height: 30vw;
  }

  /* Grid: 2 columns on tablet/mobile */
  .more-props-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px 15px;
  }
}

@media (max-width: 480px) {

  /* Marquee: Smaller items as requested (~40vw) */
  .props-item {
    width: 40vw;
    height: 30vw;
  }

  .props-marquee-track {
    gap: 15px;
  }

  /* Actions: Stack buttons */
  .props-actions {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
  }

  .btn-action {
    width: 80%;
    max-width: 300px;
    text-align: center;
    padding: 12px 20px;
  }

  /* Grid: Tighter gap for small screens */
  .more-props-grid {
    gap: 10px;
    padding: 20px 10px;
  }

  /* Lightbox Mobile optimizations */
  .lightbox-close {
    top: 20px;
    right: 20px;
    font-size: 35px;
    background: rgba(0, 0, 0, 0.5);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lightbox-caption {
    font-size: 1.1rem;
    padding: 0 15px;
  }
}


/* -----------------------------------------------------------
   COSTUMES - THEME PAGE
----------------------------------------------------------- */
/* ===============================
   COSTUMES SECTION
================================*/
.costumes-section {
  padding: 70px 20px;
  background: radial-gradient(circle at top, #f6e9dc, #e3cdb6);
  text-align: center;
}

.costumes-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #3b261a;
  letter-spacing: 1px;
}

/* ===============================
   GRID
================================*/
.costumes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  max-width: 1000px;
  margin: auto;
}

/* ===============================
   COSTUME ITEM (CIRCLE)
================================*/
.costume-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  cursor: pointer;

  background: #fff;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.costume-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* ===============================
   HOVER EFFECT
================================*/
.costume-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), rgba(0, 0, 0, 0.45));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.costume-item:hover {
  transform: scale(1.08);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.35);
}

.costume-item:hover img {
  transform: scale(1.15);
}

.costume-item:hover::after {
  opacity: 1;
}

/* ===============================
   RESPONSIVE
================================*/

/* Tablet */
@media (max-width: 900px) {
  .costumes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Phone */
@media (max-width: 480px) {
  .costumes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .costumes-title {
    font-size: 24px;
  }
}

/* ===============================
   COSTUMES SCROLL REVEAL
================================*/
.cos-reveal {
  opacity: 0;
  transform: translateY(50px) scale(0.96);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.cos-reveal.cos-in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger effect (row feel) */
.costume-item:nth-child(1) {
  transition-delay: 0.1s;
}

.costume-item:nth-child(2) {
  transition-delay: 0.2s;
}

.costume-item:nth-child(3) {
  transition-delay: 0.3s;
}

.costume-item:nth-child(4) {
  transition-delay: 0.4s;
}

.costume-item:nth-child(5) {
  transition-delay: 0.5s;
}

.costume-item:nth-child(6) {
  transition-delay: 0.6s;
}

.costume-item:nth-child(7) {
  transition-delay: 0.7s;
}

.costume-item:nth-child(8) {
  transition-delay: 0.8s;
}

.costume-item:nth-child(9) {
  transition-delay: 0.9s;
}

.costume-item:nth-child(10) {
  transition-delay: 1s;
}

.costume-item:nth-child(11) {
  transition-delay: 1.1s;
}

.costume-item:nth-child(12) {
  transition-delay: 1.2s;
}

/* 2. SLIDER CONTAINER */
/* ================= SLIDER CONTAINER ================= */
.costumesslider {
  width: 100%;
  margin: auto;
  overflow: hidden;
  /* no side drag */
  padding: 20px 0;
}

/* ================= SLIDE TRACK ================= */
.slide-track {
  display: flex;
  width: max-content;
  animation: scroll 35s linear infinite;
}

/* ================= SLIDE CARD ================= */
.slidecos {
  position: relative;
  flex: 0 0 auto;

  /* BIG CARD FOR FULL DRESS */
  width: 320px;
  height: 460px;

  margin: 0 14px;

  background: #000;
  /* helps contain images */
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= IMAGE ================= */
.slidecos img {
  width: 100%;
  height: 100%;

  /* 🔥 IMPORTANT CHANGE */
  object-fit: contain;
  /* FULL IMAGE – NO CROP */

  border-radius: 18px;
  background: #000;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s ease;
}

/* Hover zoom (safe) */
.slidecos:hover img {
  transform: scale(1.03);
}

/* ================= TITLE ================= */
.slidecos h3 {
  position: absolute;
  bottom: 14px;
  left: 14px;

  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  padding: 6px 12px;
  border-radius: 8px;

  font-size: 14px;
  font-weight: 500;
  pointer-events: none;
}

/* ================= ANIMATION ================= */
@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ================= TABLET ================= */
@media (max-width: 768px) {
  .slidecos {
    width: 180px;
    /* 👈 total width reduce */
    height: 280px;
    margin: 0 10px;
  }

  .slidecos h3 {
    font-size: 10px;
  }
}

/* ================= MOBILE ================= */
/* ================= FORCE SMALL – MOBILE ONLY ================= */
@media screen and (max-width: 480px) {

  /* slider outer spacing */
  .costumesslider {
    padding: 6px 0;
  }

  /* slide card – VERY SMALL */
  .slidecos {
    width: 140px !important;
    /* 👈 force small width */
    height: 210px !important;
    /* 👈 force small height */
    margin: 0 6px !important;
    border-radius: 12px;
  }

  /* image inside */
  .slidecos img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* full dress visible */
    border-radius: 12px;
  }

  /* title label */
  .slidecos h3 {
    font-size: 10px;
    padding: 3px 6px;
    bottom: 8px;
    left: 8px;
  }

  /* slow animation for phone */
  .slide-track {
    animation-duration: 50s;
  }
}


/* 5. THE ANIMATION LOOP */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    /* MOVES EXACTLY THE WIDTH OF THE FIRST 7 SLIDES (7 * 250px = -1750px) */
    transform: translateX(calc(-250px * 7));
  }
}

/* -----------------------------------------------------------
   NOTES - THEME PAGE
----------------------------------------------------------- */
.small-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* -----------------------------------------------------------
   STUDIO RENT PAGE
----------------------------------------------------------- */
/* -----------------------------------------------------------
   STUDIO INTRO SECTION
----------------------------------------------------------- */
.studio-intro {
  /* Dark animated gradient ("darker animation") */
  background: linear-gradient(-45deg, #000000, #2b1d15, #1f140e, #3a271d);
  background-size: 400% 400%;
  padding: 100px 5%;
  overflow: hidden;
  animation: introBgFlow 3s ease infinite;
  /* Turbo speed */
  position: relative;
  /* Context for absolute shapes */
  width: 100%;
  /* Force full width */
  margin: 0;
  max-width: none;
  left: 0;
}

@keyframes introBgFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* -----------------------------------------------------------
   BACKGROUND SHAPES
----------------------------------------------------------- */
.intro-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.shape-pill,
.shape-cross {
  position: absolute;
  opacity: 0.35;
  /* Much more visible ("more and visible") */
  animation: floatShapes 7s linear infinite;
  /* Faster speed */
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.4));
  /* Glow effect */
}

.shape-pill {
  width: 100px;
  height: 40px;
  border: 2px solid var(--accent);
  /* Theme Gold */
  border-radius: 50px;
}

.shape-cross {
  width: 30px;
  height: 30px;
}

.shape-cross::before,
.shape-cross::after {
  content: '';
  position: absolute;
  background-color: var(--accent);
  /* Theme Gold */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.shape-cross::before {
  width: 100%;
  height: 2px;
}

.shape-cross::after {
  width: 2px;
  height: 100%;
}

/* Shape Positions & Delays (Turbo) */
.shape-1 {
  top: 10%;
  left: 5%;
  animation-duration: 4s;
  transform: rotate(45deg);
}

.shape-2 {
  top: 60%;
  left: -5%;
  width: 140px;
  height: 50px;
  animation-duration: 5s;
  animation-delay: -0.5s;
  border-color: #b38144;
}

/* Darker Gold */
.shape-3 {
  top: 20%;
  right: 10%;
  animation-duration: 3s;
  animation-delay: -1s;
}

.shape-4 {
  bottom: 15%;
  right: -2%;
  transform: rotate(-30deg);
  animation-duration: 6s;
  border-color: #8c7b73;
}

/* Brown */
.shape-5 {
  bottom: 40%;
  left: 40%;
  opacity: 0.08;
  animation-duration: 4.5s;
}

@keyframes floatShapes {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(10deg);
  }

  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.intro-wrapper {
  position: relative;
  z-index: 1;
  /* Above shapes */
  max-width: 95%;
  /* Expanded to screen side */
  /* Wider container */
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  /* Image takes ~57% width ("little big") */
  gap: 90px;
  align-items: center;
}

/* Image Block with Scale/Reveal */
.intro-image-block {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 40px 80px rgba(71, 56, 46, 0.15);
  /* Richer shadow */
  opacity: 0;
  transform: translateX(-40px);
  animation: introImageIn 1.4s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

.intro-image-block img {
  width: 100%;
  height: auto;
  display: block;
  /* Add continuous float animation ("animation to the photo") */
  animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {

  0%,
  100% {
    transform: scale(1.02) translateY(0);
  }

  50% {
    transform: scale(1.02) translateY(-12px);
  }
}

/* Text Content - Staggered */
.intro-content-block h2 {
  font-family: Merriweather, serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  /* Responsive Font */
  color: #fff;
  /* White Text for dark bg */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 24px;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(30px);
  animation: introTextIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards;
}

.intro-content-block p {
  color: #e0d4c8;
  /* Light Beige */
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: introTextIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

/* CTA Box - Interactive & Animated */
.intro-cta-box {
  background: var(--bg-card);
  /* Theme Card BG */
  border-radius: 20px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;

  opacity: 0;
  transform: translateY(30px);
  animation: introTextIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}

/* Hover Effect - Mind Blowing Lift & Glow */
.intro-cta-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 25px 60px rgba(181, 142, 98, 0.2),
    0 0 0 2px rgba(240, 177, 91, 0.5);
  border-color: transparent;
}

.cta-icon-circle {
  width: 44px;
  height: 44px;
  /* Smaller, perfect circle */
  background: linear-gradient(135deg, #cf9f5a, #b38144);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  /* Smaller icon */
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(179, 129, 68, 0.3);
  transition: transform 0.4s ease;
}

.intro-cta-box:hover .cta-icon-circle {
  transform: scale(1.1) rotate(-10deg);
}

.cta-text-group {
  display: flex;
  flex-direction: column;
}

.cta-label {
  font-size: 0.9rem;
  color: #8c7b73;
  /* Muted warm */
  margin-bottom: 6px;
  font-weight: 500;
}

.cta-number {
  font-size: 1.6rem;
  color: #2b1d15;
  font-family: Merriweather, serif;
  transition: color 0.3s ease;
}

.intro-cta-box:hover .cta-number {
  color: #b38144;
  /* Gold on hover */
}

/* Animations */
@keyframes introImageIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes introTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsiveness */
@media (max-width: 1000px) {

  /* Breakpoint slightly higher for larger image */
  .studio-intro {
    padding: 60px 20px;
  }

  .intro-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .intro-image-block {
    order: -1;
  }

  .intro-content-block h2 {
    font-size: 2rem;
  }

  .intro-cta-box {
    flex-direction: column;
    text-align: center;
    padding: 24px;
    gap: 16px;
  }
}

/* DESKTOP LAYOUT */
.box-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  scroll-snap-type: none;
  /* Turn off snap on desktop */
}

/* MOBILE LAYOUT */
@media (max-width: 768px) {
  .box-grid {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
  }

  .rent-package-card {
    min-width: 85vw;
    scroll-snap-align: center;
  }
}

.rent-package-card {
  position: relative;
  min-width: 300px;
  /* Fixed width for swipe */
  flex: 0 0 auto;
  /* Don't shrink */
  scroll-snap-align: center;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  /* Ensure bg color if missing */
  border-radius: var(--radius-md);
  /* Ensure radius */
  padding: 20px;
  /* Restore padding if missing from base styles */
  border: 1px solid var(--border-subtle);
}

.rent-package-card.highlighted {
  border-color: rgba(240, 177, 91, 0.8);
  box-shadow: 0 20px 40px rgba(151, 104, 56, 0.28);
}

/* Mobile specific adjustment for width */
@media (max-width: 600px) {
  .rent-package-card {
    min-width: 85vw;
  }
}

/* SCROLL INDICATORS */
.scroll-indicators {
  display: none;
  /* Hidden by default */
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .scroll-indicators {
    display: flex;
    /* Show on mobile/tablet */
  }
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-subtle);
  transition: all 0.3s ease;
  opacity: 0.5;
}

.indicator-dot.active {
  background: var(--accent);
  transform: scale(1.2);
  opacity: 1;
}

.package-card-img {
  width: 100%;
  height: 180px;
  /* Unified "Little rectangle" height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--border-subtle);
}

.rent-package-card .price {
  font-size: 22px;
  margin-bottom: 8px;
}

.rent-package-card .price span {
  font-size: 12px;
  color: var(--text-muted);
}

.rent-package-card ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 14px;
}

.rent-package-card li {
  font-size: 13px;
  color: var(--text-muted);
}

/* Facilities */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.icon-item {
  background: #fffaf4;
  border-radius: var(--radius-md);
  padding: 14px 14px 16px;
  border: 1px solid var(--border-subtle);
}

.icon-item p {
  font-size: 14px;
  color: var(--text-muted);
}






.icon-item {
  background: #fffaf4;
  /* Your base beige */
  border-radius: var(--radius-md);
  padding: 14px 14px 16px;
  border: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
  /* Keeps the glow inside the box */
  transition: border-color 0.3s ease;
}

/* The Glow Layer */
.icon-item::before {
  content: "";
  position: absolute;
  inset: 0;
  /* This creates a radial gradient centered on the mouse position */
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
      rgba(139, 69, 19, 0.15),
      /* Brownish tint */
      transparent 40%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.icon-item:hover::before {
  opacity: 1;
}

/* Ensure text stays on top of the gradient */
.icon-item h3,
.icon-item p {
  position: relative;
  z-index: 1;
}

/* -----------------------------------------------------------
   CONTACT PAGE
----------------------------------------------------------- */
.contact-layout {
  align-items: flex-start;
}




/* -----------------------------------------------------------
   PREMIUM CONTACT HERO (REDESIGN)
----------------------------------------------------------- */
.contact-hero-premium {
  position: relative;
  padding: 50px 20px 20px;
  background: radial-gradient(circle at top right, #fff4e5 0%, #faf7f3 60%);
  overflow: hidden;
}

.premium-hero-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

/* Left Column: Content */
.hero-content-col {
  padding-right: 20px;
}

.hero-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 16px;
  position: relative;
  padding-left: 40px;
}

.hero-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--accent);
}

.hero-content-col h1 {
  font-family: 'Playfair Display', serif;
  /* Or fallback to system-serif */
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1.1;
  color: #2b1d15;
  margin-bottom: 24px;
}

.hero-content-col h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero-content-col p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-decoration-line {
  width: 60px;
  height: 4px;
  background: #e4d7cb;
  border-radius: 2px;
}

/* Right Column: Visual Abstract (Card Stack) */
.hero-visual-col {
  position: relative;
  height: 480px;
  /* Taller for stack */
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hero-card-stack {
  position: relative;
  width: 540px;
  height: 480px;
  transform-style: preserve-3d;
}

.hero-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  background: white;
  border: 4px solid white;
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.1),
    0 2px 10px rgba(0, 0, 0, 0.05);
  /* Soft premium shadow */
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform-origin: center center;
}

/* Card Content & Styling */
.card-content {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #fdfbf7, #f3efe9);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  /* Inner radius */
}

.card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s ease;
}

.hero-card:hover .card-img {
  transform: scale(1.05);
  /* Subtle zoom on hover */
}

/* Gradient overlay for text readability */
.card-content::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
  z-index: 1;
}

.card-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #fff;
  /* White text for better visibility over image */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-style: italic;
  z-index: 2;
  position: relative;
}

/* Remove the old paper noise effect if using photos */
.card-content::before {
  display: none;
}

/* STACK LOGIC */

/* Front Card (Active) */
.hero-card.active {
  z-index: 3;
  transform: translateX(0) scale(1);
  opacity: 1;
  filter: blur(0px);
  cursor: grab;
}

.hero-card.active:active {
  cursor: grabbing;
}

/* Middle Card */
.hero-card.card-2 {
  z-index: 2;
  transform: translateX(40px) scale(0.92) translateY(10px);
  opacity: 0.8;
  filter: blur(4px);
  /* Gaussian Blur */
}

/* Back Card */
.hero-card.card-3 {
  z-index: 1;
  transform: translateX(70px) scale(0.85) translateY(20px);
  opacity: 0.5;
  filter: blur(8px);
  /* Stronger Gaussian Blur */
}

/* Swipe Animation Classes */
.hero-card.swipe-out {
  transform: translateX(120%) rotate(15deg) !important;
  opacity: 0 !important;
  z-index: 10 !important;
  /* Keep it above while swiping */
  transition: transform 0.5s ease-out, opacity 0.3s ease-out;
}

.hero-card.no-transition {
  transition: none !important;
}

/* Background Orbit */
.abstract-circle-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  border-radius: 50%;
  border: 1px solid rgba(240, 177, 91, 0.2);
  background: radial-gradient(circle, rgba(240, 177, 91, 0.03) 0%, transparent 60%);
  animation: floatCircle 12s infinite linear;
  z-index: -1;
  pointer-events: none;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
  .hero-visual-col {
    height: 400px;
    margin-top: 0;
  }

  .hero-card-stack {
    width: 240px;
    height: 320px;
  }

  .abstract-circle-bg {
    width: 340px;
    height: 340px;
  }
}


@keyframes floatCircle {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -55%) scale(1.05);
  }
}

@keyframes floatGlass {

  0%,
  100% {
    transform: translate(-50%, -40%) rotate(-5deg);
  }

  50% {
    transform: translate(-50%, -45%) rotate(-3deg);
  }
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .contact-hero-premium {
    padding: 40px 20px 20px;
    text-align: center;

  }

  .premium-hero-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-content-col {
    padding-right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-eyebrow {
    padding-left: 0;
    margin-bottom: 20px;
  }

  .hero-eyebrow::before {
    display: none;
  }

  .hero-content-col p {
    margin: 0 auto 30px;
  }

  .hero-visual-col {
    height: 300px;
    margin-top: -20px;
  }

  .abstract-circle {
    width: 260px;
    height: 260px;
  }

  .abstract-glass {
    width: 200px;
    height: 280px;
  }
}

/* CONTACT CARDS (dark luxury cards with warm sheen) */
/* Layout - Forced Side-by-Side */
/* CONTACT CARDS (dark luxury cards with warm sheen) */
/* Layout - Forced Side-by-Side */
/* Layer 0 - Static Background */
/* Layer 0 - Static Background */
/* Layer 0 - Static Background */
.contact-parallax-bg {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Replace with your actual background image URL */
  background-image: url("assets/images/kid13.jpg");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  padding: 60px 0;
}

/* Darker overlay to make brown boxes pop */
.contact-parallax-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.contact-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.contact-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  /* Laptop look on Phone */
}

/* Square Card Style */
.contact-card {
  background-color: #eac595;
  /* Exact Brown from 'Book Now' */
  color: #ffffff;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  flex: 1;
  max-width: 280px;
  height: 220px;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  /* Smooth transition for the whole card */
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-card.contact-active {
  background-color: #f5e6d3;
  /* Sandal Highlight */
  color: #844c39;
  height: 270px;
  z-index: 10;
  transform: scale(1.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Icon Box Styling */
.contact-icon-box {
  background: rgba(255, 255, 255, 0.15);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  margin-bottom: 12px;
  /* This transition enables the rotation/zoom */
  transition: transform 0.4s ease-in-out;
}

.contact-active .contact-icon-box {
  background: rgba(132, 76, 57, 0.1);
}

.contact-icon-box img {
  width: 22px;
  height: 22px;
}

/* Typography */
.contact-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  word-break: break-word;
}

.contact-link {
  font-size: 0.75rem;
  font-weight: bold;
}

/* --- ANIMATIONS --- */

/* Scroll Slide-Up Animation (Initial State) */
.contact-reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Triggers via JS */
.contact-reveal.contact-visible,
.contact-reveal.contact-animated,
.contact-reveal.contact-show {
  opacity: 1;
  transform: translateY(0);
}

/* --- HOVER ANIMATIONS --- */

.contact-card:hover {
  transform: translateY(-15px) !important;
  /* Lifts the card */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* ICON ROTATE ANIMATION: This is what you were missing! */
.contact-card:hover .contact-icon-box {
  transform: rotate(360deg) scale(1.2);
  /* Rotates full circle and grows */
}

/* Center card needs special scale on hover */
.contact-card.contact-active:hover {
  transform: scale(1.15) translateY(-15px) !important;
}

/* --- MOBILE VIEW --- */
@media (max-width: 600px) {

  .contact-parallax-bg {
    /* Change 1: Height-ah kurainga, appo thaan wide rectangle-ah theriyum */
    min-height: 25vh;
    background-size: cover;
    padding: 20px 0;
    background-repeat: no-repeat;
  }

  .contact-card {
    max-width: 120px;
    padding: 10px;
    height: 120px;
  }

  /* Change 3: Center card slightly bigger and taller than sides */
  .contact-card.contact-active {
    height: 150px;
    transform: scale(1.1) translateY(0);
  }

  .contact-title {
    font-size: 0.55rem;
  }

  .contact-icon-box {
    width: 32px;
    height: 32px;
  }

  .contact-icon-box img {
    width: 20px;
  }
}






/* MAP PLACEHOLDER */

@keyframes fadeUpCard {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.map-section .map-placeholder {
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpCard 1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

.map-placeholder iframe {
  display: block;
  width: 100%;
  height: 380px;
  filter: sepia(0.25) grayscale(0.2) contrast(0.95);
  transition: filter 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: filter;
}

/* Show location/color on interaction */
.map-placeholder:hover iframe,
.map-placeholder:active iframe {
  filter: none;
}


/* -----------------------------------------------------------
   FOOTER
----------------------------------------------------------- */
.site-footer {
  background: #f7efe6;
  padding: 50px 0 25px;
  color: #5a4538;
  margin-top: 50px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.05);
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.footer-logo {
  width: 160px;
  margin-bottom: 12px;
}

.footer-col h3 {
  margin-bottom: 15px;
  font-size: 20px;
  color: #3a2c24;
}

/* Quick links list */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #5a4538;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #d4a048;
  /* gold hover */
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.footer-icon {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  transition: 0.3s;
}

.footer-icon.whatsapp {
  background: #25d366;
}

.footer-icon.instagram {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.footer-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

/* Bottom bar */
.footer-bottom {
  text-align: center;
  margin-top: 35px;
  font-size: 14px;
  color: #8b796b;
}


/* Back to top */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--accent);
  color: #3b271a;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 16px 30px rgba(151, 109, 63, 0.45);
}

/* -----------------------------------------------------------
   REVEAL ON SCROLL
----------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------------------------------
   RESPONSIVE
----------------------------------------------------------- */
@media (max-width: 1024px) {

  .card-grid,
  .process-steps,
  .icon-grid,
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .themes-grid,
  .theme-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    padding-inline: 16px;
  }

  .nav {
    position: absolute;
    top: 58px;
    right: 14px;
    background: #fffaf4;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    padding: 10px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    display: none;
    min-width: 180px;
    box-shadow: 0 16px 30px rgba(123, 93, 63, 0.2);
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .page-hero,
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-hero-img {
    height: 220px;
  }

  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {

  .card-grid,
  .process-steps,
  .icon-grid,
  .themes-grid,
  .theme-preview-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-section {
    padding-top: 70px;
  }

  .hero-meta {
    gap: 18px;
  }
}


/* -----------------------------------------------------------
   GOOGLE REVIEWS SECTION
----------------------------------------------------------- */
.reviews-section {
  background: rgba(222, 192, 163, 0.7) !important;
  padding: 80px 20px 100px;
  overflow: hidden;
  /* For slider overflow */
}

.reviews-slider-wrapper {
  max-width: 550px;
  /* Reduced further from 700px */
  margin: 20px auto 40px;
  position: relative;
  overflow: hidden;
  /* Mask for edge fade effect */
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  padding: 10px 0;
  /* Space for shadow */
}

.reviews-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  /* Smooth swipe */
  cursor: grab;
}

.reviews-track:active {
  cursor: grabbing;
}

.review-card {
  background-image: radial-gradient(circle at center, #ffffff 0%, #dfcdbd 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(122, 103, 91, 0.1);
  min-width: 100%;
  /* Shows one at a time */
  padding: 0 20px;
  /* Inner spacing reduced */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  user-select: none;
  border-radius: 30px;
  z-index: 2;
  /* easier swiping */
}

/* Header Row: Avatar + Info */
/* .review-header is removed as content is now center-aligned */

/* User Avatar */
.review-avatar {
  width: 44px;
  /* Smaller */
  height: 44px;
  background: #e4d7cb;
  color: var(--text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* .review-meta is removed as content is now center-aligned */

.review-name {
  margin-top: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-primary);
}

.review-stars {
  color: #ffb400;
  /* Google Star Color */
  font-size: 15px;
  /* Smaller */
  letter-spacing: 2px;
}

.review-text {
  font-size: 15px;
  /* Smaller */
  line-height: 1.5;
  color: #4a372b !important;
  font-style: italic;
  max-width: 480px;
  /* Tighter width */
}

.review-date {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Dots */
.review-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  /* Tighter gap for many dots */
  margin-top: 30px;
  flex-wrap: wrap;
  /* Wrap if too many */
  padding: 0 20px;
}

.dot {
  width: 6px;
  /* Smaller dots */
  height: 6px;
  border-radius: 50%;
  background: #dcdcdc;
  transition: all 0.3s ease;
  cursor: pointer;
}

.dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

/* Google CTA Box */
.google-review-cta {
  max-width: 600px;
  margin: 0 auto;
}

.google-card {
  background: #e6d5bc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.google-card:hover {
  transform: translateY(-4px);
}

.g-icon {
  width: 50px;
  height: 50px;
  background: #f1f3f4;
  /* Light grey */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #eabb20;
  /* Google Blue */
}

.g-text h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.g-text p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}


/* Write Review Button Styling */
#writeReviewBtn {
  background: #2b1d15;
  color: #ffffff;
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  z-index: 2;
}

#writeReviewBtn:hover {
  background: #f0b15b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(240, 177, 91, 0.3);
}

/* Premium Light Sweep Animation */
.google-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(240, 177, 91, 0.1),
      transparent);
  animation: sweep 6s infinite ease-in-out;
}

@keyframes sweep {
  0% {
    left: -150%;
  }

  30% {
    left: 150%;
  }

  100% {
    left: 150%;
  }
}

/* Mobile: Single card */
@media (max-width: 600px) {
  .google-card {
    flex-direction: column;
    text-align: center;
    padding: 24px;
  }

  .review-text {
    font-size: 16px;
  }

  .review-card {
    padding: 0 10px;
  }
}

/* Desktop Only: Fill Width */
/* Desktop Only: Fill Width */
@media (min-width: 1024px) {
  .reviews-slider-wrapper {
    max-width: 900px;
    /* Fill width */
  }

  .review-card {
    padding: 30px 40px;
  }

  .review-text {
    max-width: 800px;
    /* Allow text to span */
  }
}

/* Media query removed */

/* -----------------------------------------------------------
   NEW CONTACT CARDS (Left Text / Right Stack)
----------------------------------------------------------- */
.contact-content-wrapper {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  color: #fff;
  z-index: 5;
  position: relative;
}

.contact-split-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.contact-left {
  flex: 1;
  min-width: 300px;
}

.contact-right {
  flex: 1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-header-new {
  margin-bottom: 30px;
  text-align: left;
}

.contact-header-new h2 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  line-height: 1.1;
}

.contact-header-new p {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.7;
  color: #f0f0f0;
  max-width: 480px;
}

/* Social Section (Left Side) */
.social-section-new {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}

.social-label {
  font-weight: 700;
  font-size: 1.1rem;
  color: #eee;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-icons-new {
  display: flex;
  gap: 15px;
}

.social-icons-new a {
  color: #fff;
  font-size: 1.3rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-icons-new a:hover {
  background: var(--accent, #f0b15b);
  border-color: var(--accent, #f0b15b);
  transform: translateY(-5px) rotate(8deg);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Card Styling (Right Side) */
.c-card {
  background: var(--bg-card, #ffffff);
  border-radius: 16px;
  padding: 20px 25px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: var(--text-primary, #2b1d15);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  border-left: 5px solid transparent;
}

.c-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, rgba(240, 177, 91, 0.1), transparent);
  transition: width 0.4s ease;
}

.c-card:hover {
  transform: translateX(-10px);
  /* Move left slightly */
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
  border-left-color: var(--accent, #f0b15b);
}

.c-card:hover::before {
  width: 100%;
}

.c-icon {
  width: 52px;
  height: 52px;
  background: #2b1d15;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.3rem;
  transition: transform 0.4s ease;
  z-index: 2;
}

.c-card:hover .c-icon {
  transform: scale(1.1) rotate(-10deg);
  background: var(--accent, #f0b15b);
}

.c-info {
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.c-info h4 {
  margin: 0 0 4px 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2b1d15;
}

.c-info p {
  margin: 0;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

/* Animations */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-card {
  opacity: 0;
  animation: slideInRight 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
  /* Triggers when parent has .reveal.in-view via legacy js or just run on load if strictly CSS? 
     Let's hook into .block.in-view logic or just verify. 
     Currently relying on 'reveal' parent. But slideInRight runs immediately. 
     We need it to wait. */
}

/* Make animation wait for 'in-view' class on parent wrapper */
.contact-content-wrapper:not(.in-view) .slide-in-card {
  animation-play-state: paused;
}

.contact-content-wrapper.in-view .slide-in-card {
  animation-play-state: running;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-split-layout {
    flex-direction: column;
    gap: 30px;
  }

  .contact-left,
  .contact-right {
    width: 100%;
    min-width: 0;
  }

  .contact-header-new {
    text-align: center;
    margin-bottom: 20px;
  }

  .contact-header-new p {
    margin: 0 auto;
  }

  .social-section-new {
    align-items: center;
  }

  /* Compact Cards on Mobile */
  .c-card {
    padding: 12px 14px;
    gap: 14px;
    border-radius: 12px;
  }

  .c-icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .c-info h4 {
    font-size: 0.95rem;
    margin-bottom: 2px;
  }

  .c-info p {
    font-size: 0.8rem;
  }

  .c-card:hover {
    transform: translateY(-5px);
    /* On mobile, move up instead of left */
  }
}

/* -----------------------------------------------------------
   SEMI HERO SECTION (New)
----------------------------------------------------------- */
.semi-hero-section {
  padding: 80px 20px;
  background: var(--bg-main);
  position: relative;
  overflow: hidden;
  /* Ensure it has a z-index allowing interactions */
  z-index: 10;
}

.semi-hero-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-content: center;
}

.semi-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  /* Transition handles the Reveal class trigger from JS */
  transition: all 0.8s ease;
}

/* When the parent section has .in-view (triggered by existing JS) */
.semi-hero-section.in-view .semi-card {
  opacity: 1;
  transform: translateY(0);
}

.semi-hero-section.in-view .semi-card:nth-child(1) {
  transition-delay: 0.1s;
}

.semi-hero-section.in-view .semi-card:nth-child(2) {
  transition-delay: 0.3s;
}

.semi-hero-section.in-view .semi-card:nth-child(3) {
  transition-delay: 0.5s;
}


/* ARCHED IMAGE WRAPPER */
.semi-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.1;
  /* The Arch Shape: Top rounded, bottom flat */
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;

  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.semi-card:hover .semi-img-wrapper {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(240, 177, 91, 0.25);
}

.semi-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.semi-card:hover .semi-img-wrapper img {
  transform: scale(1.08);
  /* slight zoom on hover */
}

/* OVERLAY TEXT ON IMAGE */
.semi-overlay-text {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  z-index: 2;
}

/* Gradient overlay at bottom of image for text readability */
.semi-img-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  pointer-events: none;
}

.semi-content h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--text-primary);
  font-family: inherit;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.semi-btn {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid rgba(122, 103, 91, 0.3);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: all 0.3s ease;
  background: transparent;
  width: fit-content;
}

.semi-btn:hover {
  background: var(--text-primary);
  color: #fff;
  border-color: var(--text-primary);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .semi-hero-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns on tablet */
    gap: 30px;
  }

  /* Center the last item if 3 items */
  .semi-card:nth-child(3) {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .semi-hero-section {
    padding: 60px 20px;
  }

  .semi-hero-grid {
    grid-template-columns: 1fr;
    /* 1 column on mobile */
    gap: 40px;
  }

  .semi-card:nth-child(3) {
    grid-column: span 1;
    max-width: 100%;
  }

  .semi-img-wrapper {
    /* Make arch aspect ratio a bit more square-ish on mobile if needed, but 1/1.1 is fine */
  }
}

/* -----------------------------------------------------------
   DET1 THEMES SECTION
----------------------------------------------------------- */
.det1-themes {
  padding: 100px 20px;
  background: #fff;
  overflow: hidden;
}

.det1-header {
  text-align: center;
  margin-bottom: 50px;
}

.det1-heading {
  font-family: serif;
  /* Mimic the premium serif font if available, or fallback */
  font-family: "Playfair Display", serif;
  /* Assuming Playfair might be loaded or just serif */
  font-size: 32px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2b1d15;
  margin-bottom: 10px;
  font-weight: 500;
}

.det1-sub {
  color: var(--text-muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.det1-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.det1-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  /* group: det1-card; */
}

.det1-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  /* Square images */
  overflow: hidden;
  margin-bottom: 16px;
  background: #f0f0f0;
}

.det1-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.det1-card:hover .det1-img-box img {
  transform: scale(1.1);
}



.det1-info h3 {
  font-size: 15px;
  font-weight: 400;
  color: #333;
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.det1-card:hover .det1-info h3 {
  color: var(--accent);
}

.det2-info h3 {
  font-size: 15px;
  font-weight: 400;
  color: #716965c5;
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.det1-card:hover .det2-info h3 {
  color: var(--text-primary)
}

/* Footer Button */
.det1-footer {
  margin-top: 60px;
  text-align: center;
}

.det1-view-btn {
  display: inline-block;
  padding: 14px 30px;
  border: 1px solid #d4c5b5;
  color: #2b1d15;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  transition: all 0.3s ease;
}

.det1-view-btn:hover {
  border-color: #2b1d15;
  background: #2b1d15;
  color: #fff;
}

/* ANIMATION */
.det1-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.det1-themes.in-view .det1-card {
  opacity: 1;
  transform: translateY(0);
}


/* Update visibility logic to work for all matching sections */
.det1-themes.in-view .det1-card,
.det2-themes.in-view .det1-card,
.det3-themes.in-view .det1-card,
.det4-themes.in-view .det1-card {
  opacity: 1;
  transform: translateY(0);
}

.det1-themes.in-view .det1-card:nth-child(1),
.det2-themes.in-view .det1-card:nth-child(1),
.det3-themes.in-view .det1-card:nth-child(1),
.det4-themes.in-view .det1-card:nth-child(1) {
  transition-delay: 0.1s;
}

.det1-themes.in-view .det1-card:nth-child(2),
.det2-themes.in-view .det1-card:nth-child(2),
.det3-themes.in-view .det1-card:nth-child(2),
.det4-themes.in-view .det1-card:nth-child(2) {
  transition-delay: 0.2s;
}

.det1-themes.in-view .det1-card:nth-child(3),
.det2-themes.in-view .det1-card:nth-child(3),
.det3-themes.in-view .det1-card:nth-child(3),
.det4-themes.in-view .det1-card:nth-child(3) {
  transition-delay: 0.3s;
}

.det1-themes.in-view .det1-card:nth-child(4),
.det2-themes.in-view .det1-card:nth-child(4),
.det3-themes.in-view .det1-card:nth-child(4),
.det4-themes.in-view .det1-card:nth-child(4) {
  transition-delay: 0.4s;
}


/* RESPONSIVE */
@media (max-width: 1024px) {
  .det1-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .det1-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 0 20px 30px;
    /* Space for scrollbar if visible, or just spacing */
    scrollbar-width: none;
    /* Firefox */
    -webkit-overflow-scrolling: touch;
  }

  .det1-grid::-webkit-scrollbar {
    display: none;
    /* Safari/Chrome */
  }

  .det1-card {
    min-width: 260px;
    width: 260px;
    /* Fixed width for neatness */
    scroll-snap-align: center;
    flex-shrink: 0;

    /* Card Styles */
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  }

  .det1-themes {
    padding: 60px 0;
  }

  /* Ensure images look good in this layout */
  .det1-img-box {
    aspect-ratio: 1;
    border-radius: 12px;
    margin-bottom: 12px;
  }

  .det1-heading {
    font-size: 24px;
  }
}

/* Additional Theme Sections */
.det3-themes {
  padding: 100px 20px;
  background: #fff;
  overflow: hidden;
}

.det2-themes,
.det4-themes {
  padding: 100px 20px;
  background: linear-gradient(to right, #ecedef, #dfa753);

  /* Sandal/Beige background */
  overflow: hidden;
}

/* Ensure mobile padding consistency */
@media (max-width: 600px) {

  .det2-themes,
  .det3-themes,
  .det4-themes {
    padding: 60px 0;
  }
}

/* FORCE LIGHT MODE OVERRIDES FOR MOBILE/SYSTEM DARK MODE */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light only;
    --bg-main: #faf7f3 !important;
    --bg-alt: #fffaf5 !important;
    --bg-card: #ffffff !important;
    --accent: #f0b15b !important;
    --accent-soft: rgba(240, 177, 91, 0.12) !important;
    --text-primary: #2b1d15 !important;
    --text-muted: #7a675b !important;
    --border-subtle: #e4d7cb !important;
  }

  body {
    background: radial-gradient(circle at top, #fff4e5 0%, #faf7f3 45%, #f5eee5 100%) !important;
    color: #2b1d15 !important;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  span,
  a,
  li,
  div {
    color: inherit;
  }
}