/* ==========================================================================
   ATELIER WEDDING DECOR & EVENTS - STYLESHEET
   Description: Ultra-luxury, cinematic design system with deep burgundy & gold identity.
   ========================================================================== */

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

/* Design Tokens & Variables */
:root {
  --color-primary-bg: #3B0B16;
  --color-secondary-bg: #541322;
  --color-accent-gold: #D4AF37;
  --color-secondary-gold: #B8892E;
  --color-champagne-gold: #E6C980;
  --color-cream: #F8F3EA;
  --color-ivory: #FFFDF9;
  --color-text-dark: #2B1C16;
  --color-text-muted: rgba(248, 243, 230, 0.7);
  
  --font-headings: 'Cormorant Garamond', serif;
  --font-body: 'Poppins', sans-serif;
  
  --transition-smooth: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.3s ease;
  
  --shadow-luxury: 0 15px 35px rgba(0, 0, 0, 0.6);
  --shadow-gold: 0 4px 20px rgba(212, 175, 55, 0.15);
  --border-gold: 1px solid rgba(212, 175, 55, 0.35);
  --border-gold-glow: 1px solid rgba(212, 175, 55, 0.7);
  --glass-bg: rgba(59, 11, 22, 0.55);
}

/* Reset & Base Elements */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Hide default cursor on desktop for custom trailing cursor */
@media (min-width: 769px) {
  * {
    cursor: none !important;
  }
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--color-primary-bg);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  /* Paper grain overlay and rich gradient background */
  background: 
    radial-gradient(circle at 50% 50%, transparent 20%, rgba(20, 3, 7, 0.9) 100%),
    linear-gradient(135deg, var(--color-primary-bg) 0%, var(--color-secondary-bg) 100%);
  background-attachment: fixed;
}

/* Grain Overlay (Subtle luxury texture) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Luxury Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-primary-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent-gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-champagne-gold);
}

/* Typography styling */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 400;
  color: var(--color-champagne-gold);
  line-height: 1.2;
  letter-spacing: 0.03em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1.2rem;
}

/* Gold Underline Decoration on Headings */
h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent-gold), transparent);
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-bottom: 1rem;
}

p {
  color: var(--color-cream);
  font-size: 1.05rem;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

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

/* Custom Interactive Cursor */
.custom-cursor {
  width: 8px;
  height: 8px;
  background-color: var(--color-accent-gold);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10000;
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-accent-gold);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s ease-out, width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
}

.mouse-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, rgba(212, 175, 55, 0) 70%);
  transform: translate(-50%, -50%);
}

/* Scroll Progress Bar */
.scroll-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9999;
  background: transparent;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-secondary-gold), var(--color-accent-gold), var(--color-champagne-gold));
  /* Scroll-driven animation triggers this width natively in supporting browsers */
  animation: grow-progress linear both;
  animation-timeline: scroll(root);
}

@keyframes grow-progress {
  to { width: 100%; }
}

/* Premium Header styling */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 5%;
  z-index: 9900;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
  background: transparent;
}

/* Blur background after scroll */
header.scrolled {
  padding: 0.8rem 5%;
  background: rgba(59, 11, 22, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Native CSS Scroll-driven header transition */
@supports (animation-timeline: scroll()) {
  header {
    animation: shrink-header linear both;
    animation-timeline: scroll(root);
    animation-range: 0px 150px;
  }
  
  @keyframes shrink-header {
    to {
      padding: 0.8rem 5%;
      background: rgba(59, 11, 22, 0.85);
      backdrop-filter: blur(15px);
      -webkit-backdrop-filter: blur(15px);
      border-bottom: 1px solid rgba(212, 175, 55, 0.25);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
  }
}

.header-logo {
  display: flex;
  align-items: center;
  max-width: 130px;
}

.header-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  align-items: center;
}

nav ul li a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-cream);
  position: relative;
  padding: 0.5rem 0;
}

/* Luxury gold line navigation hover effect */
nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--color-accent-gold);
  transition: var(--transition-fast);
}

nav ul li a:hover {
  color: var(--color-accent-gold);
}

nav ul li a:hover::after {
  width: 100%;
}

.header-btn {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.7rem 1.6rem;
  border-radius: 30px;
  border: 1px solid var(--color-accent-gold);
  background: transparent;
  color: var(--color-cream);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-gold);
}

.header-btn:hover {
  background: linear-gradient(135deg, var(--color-secondary-gold), var(--color-accent-gold));
  color: var(--color-text-dark);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  z-index: 10001;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--color-accent-gold);
  transition: var(--transition-fast);
}

/* Mobile Navigation overlay styling */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(59, 11, 22, 0.98);
  z-index: 9950;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav-overlay.active {
  transform: translateY(0);
}

.mobile-nav-overlay ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav-overlay ul li a {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  letter-spacing: 0.05rem;
  color: var(--color-champagne-gold);
  display: block;
}

.mobile-nav-overlay ul li a:hover {
  color: var(--color-cream);
  transform: scale(1.05);
}

/* Layout Blocks */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

section {
  padding: 8rem 0;
  position: relative;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

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

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

/* Luxury Glass Card style */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: var(--border-gold);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-luxury);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15), transparent);
  transition: 0.8s;
}

.glass-card:hover::before {
  left: 100%;
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 25px rgba(212, 175, 55, 0.15);
}

/* Premium Image Wrappers & Framing */
.image-frame-wrapper {
  position: relative;
  border-radius: 12px;
  padding: 15px; /* Border padding to show card bg or background gap */
  background: transparent;
}

/* Gold Frame overlay */
.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--color-accent-gold);
  box-shadow: var(--shadow-luxury);
}

.image-frame::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  pointer-events: none;
  z-index: 2;
  transition: var(--transition-smooth);
}

.image-frame:hover::after {
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-color: var(--color-accent-gold);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.image-frame:hover img {
  transform: scale(1.08);
}

/* Buttons style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.1rem 2.4rem;
  border-radius: 40px;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary-gold), var(--color-accent-gold), var(--color-champagne-gold));
  color: var(--color-text-dark);
  border: none;
  box-shadow: var(--shadow-gold), 0 8px 25px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4), 0 0 35px rgba(230, 201, 128, 0.2);
}

.btn-secondary {
  background: transparent;
  color: var(--color-cream);
  border: 1px solid var(--color-accent-gold);
  box-shadow: var(--shadow-gold);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--color-secondary-gold), var(--color-accent-gold));
  color: var(--color-text-dark);
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.btn-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Floating Actions Widgets */
.floating-widgets {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 9800;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-luxury);
  color: var(--color-champagne-gold);
  font-size: 1.25rem;
  transition: var(--transition-smooth);
}

.floating-btn:hover {
  transform: translateY(-5px);
  background: var(--color-accent-gold);
  color: var(--color-primary-bg);
  border-color: var(--color-champagne-gold);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.5);
}

.floating-btn.whatsapp {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.5);
  color: #25d366;
}

.floating-btn.whatsapp:hover {
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

.floating-btn.call-btn {
  background: rgba(212, 175, 55, 0.15);
}

.back-to-top {
  opacity: 0;
  visibility: hidden;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Luxury Loading Screen Overlay */
#loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color-primary-bg);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loader-logo-container {
  max-width: 250px;
  width: 80%;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: loader-fade-up 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards 0.2s;
}

.loader-logo-container img {
  width: 100%;
  height: auto;
}

.loader-spinner-bar {
  width: 150px;
  height: 1px;
  background: rgba(248, 243, 230, 0.1);
  position: relative;
  overflow: hidden;
}

.loader-spinner-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--color-accent-gold);
  animation: loader-bar 2s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes loader-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loader-bar {
  to { width: 100%; }
}

/* Fullscreen Hero Block */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background-size: cover;
  background-position: center;
  /* Dark overlay vignette combined with image */
  background-image: 
    radial-gradient(circle, rgba(59, 11, 22, 0.45) 0%, rgba(20, 3, 7, 0.9) 100%),
    url('images/jonathan-borba-wrynAkWYd0U-unsplash.jpg');
  animation: slow-zoom-in 20s infinite alternate;
}

@keyframes slow-zoom-in {
  from { transform: scale(1) translate(0px, 0px); }
  to { transform: scale(1.08) translate(10px, 10px); }
}

/* Native CSS parallax link on hero scroll */
@supports (animation-timeline: view()) {
  .hero-bg-wrapper {
    view-timeline: --hero-timeline;
  }
  .hero-bg {
    animation: parallax-hero linear both;
    animation-timeline: --hero-timeline;
    animation-range: exit;
  }
  @keyframes parallax-hero {
    to { transform: translateY(120px) scale(1.1); }
  }
}

/* Floating Floral Particles Overlay */
.floral-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  background-image: 
    url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='20' r='0.8' fill='%23D4AF37' opacity='0.25'/%3E%3Ccircle cx='80' cy='40' r='0.5' fill='%23FFFDF9' opacity='0.3'/%3E%3Ccircle cx='40' cy='70' r='0.6' fill='%23E6C980' opacity='0.25'/%3E%3Ccircle cx='90' cy='80' r='0.9' fill='%23D4AF37' opacity='0.2'/%3E%3Cpath d='M 12,12 Q 13,10 15,12' stroke='%23D4AF37' stroke-width='0.15' fill='none' opacity='0.3'/%3E%3Cpath d='M 65,30 Q 64,28 66,27' stroke='%23FFFDF9' stroke-width='0.1' fill='none' opacity='0.2'/%3E%3C/svg%3E");
  background-size: 400px 400px;
  animation: float-particles 30s linear infinite;
}

@keyframes float-particles {
  from { background-position: 0 0; }
  to { background-position: 400px 800px; }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  width: 90%;
  margin-top: 4rem;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  margin-bottom: 1.5rem;
  display: inline-block;
  position: relative;
}

.hero-subtitle::before,
.hero-subtitle::after {
  content: "♦";
  margin: 0 10px;
  font-size: 0.7rem;
}

.hero h1 {
  font-family: var(--font-headings);
  font-size: clamp(2.5rem, 6.5vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--color-ivory);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-description {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  opacity: 0.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero .btn-group {
  justify-content: center;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-champagne-gold);
  opacity: 0.8;
}

.hero-scroll-indicator span.mouse-icon {
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--color-accent-gold);
  border-radius: 12px;
  position: relative;
}

.hero-scroll-indicator span.mouse-icon::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background-color: var(--color-accent-gold);
  border-radius: 2px;
  animation: scroll-wheel 1.8s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  100% { transform: translate(-50%, 8px); opacity: 0; }
}

/* Common Section Headers */
.section-header {
  max-width: 800px;
  margin: 0 auto 5rem;
  text-align: center;
}

.section-tagline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  display: block;
}

/* Page Section: About */
.about-image-overlap {
  position: relative;
}

.about-image-overlap::after {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  border-top: 2px solid var(--color-accent-gold);
  border-left: 2px solid var(--color-accent-gold);
  pointer-events: none;
  z-index: -1;
}

.about-image-overlap::before {
  content: "";
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  border-bottom: 2px solid var(--color-accent-gold);
  border-right: 2px solid var(--color-accent-gold);
  pointer-events: none;
  z-index: -1;
}

/* Section: The Atelier Way */
.way-card {
  text-align: center;
  padding: 3rem 2rem;
}

.way-number {
  font-family: var(--font-headings);
  font-size: 3rem;
  color: rgba(212, 175, 55, 0.2);
  margin-bottom: 1rem;
  transition: var(--transition-smooth);
}

.way-card:hover .way-number {
  color: var(--color-accent-gold);
  transform: translateY(-5px);
}

.way-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

/* Section: Our Promise (Full width, Gold Divider, Ornamental Lotus SVG Background) */
.promise-section {
  text-align: center;
  background: 
    radial-gradient(circle, rgba(84, 19, 34, 0.4) 0%, rgba(20, 3, 7, 0.95) 100%),
    linear-gradient(rgba(59, 11, 22, 0.9), rgba(59, 11, 22, 0.9));
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: 9rem 0;
  position: relative;
  overflow: hidden;
}

.promise-ornament {
  width: 80px;
  height: 80px;
  margin: 0 auto 2.5rem;
  color: var(--color-accent-gold);
  opacity: 0.85;
}

.promise-section blockquote {
  font-family: var(--font-headings);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.4;
  color: var(--color-ivory);
  max-width: 950px;
  margin: 0 auto;
  font-style: italic;
  font-weight: 300;
  position: relative;
  z-index: 2;
}

.promise-section blockquote::before {
  content: "“";
  font-size: 6rem;
  position: absolute;
  top: -3rem;
  left: -2rem;
  color: rgba(212, 175, 55, 0.15);
  font-family: serif;
}

.promise-section blockquote::after {
  content: "”";
  font-size: 6rem;
  position: absolute;
  bottom: -6rem;
  right: -2rem;
  color: rgba(212, 175, 55, 0.15);
  font-family: serif;
}

/* Masonry Gallery filter & item structures */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(248, 243, 230, 0.15);
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.6rem 1.6rem;
  border-radius: 20px;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--color-accent-gold);
  color: var(--color-primary-bg);
  border-color: var(--color-accent-gold);
}

/* Masonry layout column styling */
.masonry-grid {
  columns: 3 320px;
  column-gap: 2rem;
  width: 100%;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: var(--color-primary-bg);
  box-shadow: var(--shadow-luxury);
  transition: var(--transition-smooth);
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(59, 11, 22, 0.95) 0%, rgba(59, 11, 22, 0.4) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: var(--transition-smooth);
  z-index: 3;
}

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

.masonry-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.gallery-overlay h3 {
  font-size: 1.5rem;
  color: var(--color-ivory);
  margin-bottom: 0px;
}

/* Why Choose Us Cards */
.why-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-icon {
  font-size: 2.2rem;
  color: var(--color-accent-gold);
}

/* Testimonial Carousel Setup */
.testimonials-carousel-wrapper {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 100%;
}

.testimonial-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 1rem;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: var(--border-gold);
  border-radius: 20px;
  padding: 4rem 3rem;
  text-align: center;
  box-shadow: var(--shadow-luxury);
  position: relative;
}

.quote-mark {
  font-size: 5rem;
  color: rgba(212, 175, 55, 0.15);
  font-family: serif;
  line-height: 0;
  display: block;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  color: var(--color-cream);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.5;
}

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

.testimonial-desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(59, 11, 22, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--color-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-fast);
}

.carousel-nav-btn:hover {
  background: var(--color-accent-gold);
  color: var(--color-primary-bg);
  border-color: var(--color-accent-gold);
}

.carousel-nav-btn.prev {
  left: -20px;
}

.carousel-nav-btn.next {
  right: -20px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(248, 243, 230, 0.25);
  border: none;
  transition: var(--transition-fast);
}

.carousel-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--color-accent-gold);
}

/* Call to Action CTA blocks */
.cta-section {
  text-align: center;
  padding: 10rem 0;
  background: 
    radial-gradient(circle at center, rgba(84, 19, 34, 0.8) 0%, rgba(20, 3, 7, 0.98) 100%);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.cta-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,100 C30,40 70,60 100,0' stroke='rgba(212, 175, 55, 0.03)' stroke-width='0.5' fill='none'/%3E%3C/svg%3E");
  background-size: cover;
  pointer-events: none;
}

.cta-content h2 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--color-cream);
}

.cta-section .btn-group {
  justify-content: center;
}

/* Services Page Sub-Sections */
.service-icon-banner {
  font-size: 3rem;
  color: var(--color-accent-gold);
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  margin-top: 1rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.service-card .card-cta {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.service-card .card-cta::after {
  content: "→";
  transition: transform 0.3s ease;
}

.service-card:hover .card-cta::after {
  transform: translateX(5px);
}

/* Process Timeline Animation CSS */
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 4rem auto 0;
  padding-left: 3rem;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-accent-gold) 0%, rgba(212, 175, 55, 0.1) 100%);
}

.timeline-step {
  position: relative;
  margin-bottom: 4rem;
  transition: var(--transition-smooth);
}

.timeline-step:last-child {
  margin-bottom: 0px;
}

.timeline-badge {
  position: absolute;
  top: 0;
  left: -45px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-primary-bg);
  border: 2px solid var(--color-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-champagne-gold);
  font-family: var(--font-headings);
  font-weight: 700;
  z-index: 5;
  transition: var(--transition-fast);
}

.timeline-step:hover .timeline-badge {
  background: var(--color-accent-gold);
  color: var(--color-primary-bg);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.timeline-content {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: var(--border-gold);
  border-radius: 15px;
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-luxury);
}

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-ivory);
}

.timeline-content p {
  font-size: 0.95rem;
  margin-bottom: 0px;
}

/* About Page timeline cards layout */
.signature-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.signature-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.signature-icon {
  font-size: 2rem;
  color: var(--color-accent-gold);
  margin-bottom: 1.2rem;
}

.signature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.signature-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Celebrations Cards Category */
.celebrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.celebration-type-card {
  padding: 3rem 2rem;
  text-align: center;
}

.celebration-icon {
  font-size: 2.5rem;
  color: var(--color-accent-gold);
  margin-bottom: 1.5rem;
}

.celebration-type-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.celebration-type-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.celebration-type-card ul li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-cream);
  opacity: 0.85;
}

/* Contact Page specific CSS styling */
.contact-grid {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.contact-detail-card {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 1.8rem 2rem;
}

.contact-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--color-accent-gold);
  color: var(--color-accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  background: rgba(212, 175, 55, 0.05);
}

.contact-detail-content span {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent-gold);
  display: block;
  margin-bottom: 0.2rem;
}

.contact-detail-content h3 {
  font-size: 1.4rem;
  color: var(--color-ivory);
  margin-bottom: 0px;
}

.contact-detail-content p {
  margin-bottom: 0px;
  font-size: 0.95rem;
  color: var(--color-cream);
  opacity: 0.85;
}

/* Consultation Form setup */
.consultation-form {
  padding: 3rem;
}

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

.form-group {
  margin-bottom: 1.8rem;
  position: relative;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-gold);
  display: block;
  margin-bottom: 0.6rem;
}

.form-control {
  width: 100%;
  background: rgba(30, 4, 10, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  color: var(--color-cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent-gold);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
  background: rgba(30, 4, 10, 0.8);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Follow Atelier social links */
.follow-section {
  text-align: center;
  padding: 6rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.social-link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-champagne-gold);
}

.social-link-item .icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.social-link-item:hover .icon-circle {
  background: var(--color-accent-gold);
  color: var(--color-primary-bg);
  border-color: var(--color-accent-gold);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
  transform: translateY(-5px);
}

.social-link-item span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Luxury Lightbox Overlay */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(20, 3, 7, 0.95);
  z-index: 10100;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 85%;
  border: 1px solid var(--color-accent-gold);
  box-shadow: var(--shadow-luxury);
  border-radius: 8px;
  overflow: hidden;
}

.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-size: 2rem;
  color: var(--color-champagne-gold);
  background: transparent;
  border: none;
  transition: var(--transition-fast);
}

.lightbox-close:hover {
  color: var(--color-ivory);
  transform: scale(1.1);
}

/* Premium Editorial Footer */
footer {
  background-color: #1A0409;
  padding: 6rem 0 3rem;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  position: relative;
  z-index: 3;
}

.footer-grid {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr 3fr;
  gap: 3rem;
  margin-bottom: 5rem;
}

.footer-brand .footer-logo {
  max-width: 160px;
  margin-bottom: 1.5rem;
  display: block;
}

.footer-brand .footer-logo img {
  width: 100%;
  height: auto;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--color-cream);
  opacity: 0.75;
}

.footer-column h4 {
  font-size: 1.15rem;
  color: var(--color-accent-gold);
  margin-bottom: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-body);
  font-weight: 600;
}

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

.footer-column ul li a {
  font-size: 0.9rem;
  color: var(--color-cream);
  opacity: 0.8;
}

.footer-column ul li a:hover {
  color: var(--color-accent-gold);
  opacity: 1;
  padding-left: 5px;
}

.footer-column.newsletter p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form .form-control {
  border-radius: 20px 0 0 20px;
  font-size: 0.85rem;
  padding: 0.8rem 1.2rem;
}

.newsletter-form .btn {
  border-radius: 0 20px 20px 0;
  padding: 0.8rem 1.5rem;
  font-size: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(248, 243, 230, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  opacity: 0.6;
  margin-bottom: 0px;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  opacity: 0.6;
}

.footer-bottom-links a:hover {
  opacity: 1;
  color: var(--color-accent-gold);
}

/* ==========================================================================
   CSS SCROLL-DRIVEN ANIMATION DETAILS & FADE-UPS
   ========================================================================== */

/* Fade-Up, Fade-Left, Fade-Right animations */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    
    @keyframes fade-up {
      from {
        opacity: 0;
        transform: translateY(60px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fade-left {
      from {
        opacity: 0;
        transform: translateX(-60px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes fade-right {
      from {
        opacity: 0;
        transform: translateX(60px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    @keyframes scale-up {
      from {
        opacity: 0;
        transform: scale(0.9);
      }
      to {
        opacity: 1;
        transform: scale(1);
      }
    }

    /* Assign elements to view timeline animation rules */
    .reveal-up {
      animation: fade-up auto linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 40%;
    }

    .reveal-left {
      animation: fade-left auto linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 40%;
    }

    .reveal-right {
      animation: fade-right auto linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 40%;
    }

    .reveal-scale {
      animation: scale-up auto linear both;
      animation-timeline: view();
      animation-range: entry 10% cover 45%;
    }
  }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS SYSTEM)
   ========================================================================== */

@media (max-width: 1024px) {
  nav ul {
    gap: 1.5rem;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .signature-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 5%;
    background-color: rgba(59, 11, 22, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  }

  .header-logo {
    max-width: 100px;
  }
  
  nav, .header-btn-wrap {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .celebrations-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .signature-timeline {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-group.full-width {
    grid-column: auto;
  }
  
  .consultation-form {
    padding: 2rem 1.5rem;
  }
  
  .promise-section {
    padding: 6rem 0;
  }
  
  .promise-section blockquote {
    font-size: 1.6rem;
  }
  
  .hero-content {
    margin-top: 6rem;
  }
}

@media (max-width: 480px) {
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .floating-widgets {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* Prevent subpage hero headings from overlapping with the fixed header */
#servicesHero, #aboutHero, #galleryHero, #contactHero {
  padding-top: 120px !important;
}

@media (max-width: 768px) {
  #servicesHero, #aboutHero, #galleryHero, #contactHero {
    padding-top: 100px !important;
  }
}
