/* 
  Faith | DFW Photography - Design System
  Modern, Sleek, Editorial Style
*/

:root {
    /* Color Palette - Light Mode (Default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f9f7f4;
    /* Soft ivory */
    --text-primary: #1a1a1a;
    /* Deep Charcoal */
    --text-secondary: #4a4a4a;
    --accent: #c5a059;
    /* Muted Gold */
    --accent-hover: #a68545;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);

    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --text-primary: #f0f0f0;
    --text-secondary: #b0b0b0;
    --accent: #d4af37;
    /* Brighter Gold for Dark Mode */
    --glass-bg: rgba(15, 15, 15, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }
}

/* Typography Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 2.5rem;
    /* Reduced from 4rem for tighter look across site */
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 3rem;
}

.mt-4 {
    margin-top: 4rem;
}

/* Buttons & CTAs */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    font-family: 'Montserrat', sans-serif;
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4);
}

.btn-lg {
    padding: 1.2rem 3rem;
    font-size: 1rem;
    letter-spacing: 0.15em;
}

.glow-btn {
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glow-btn:hover {
    box-shadow: 0 0 40px rgba(197, 160, 89, 0.6);
}

/* --- Instagram Highlights Block --- */
.ig-highlights-block {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    margin-top: 4rem;
    padding: 0 1rem;
}

.ig-stat-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.ig-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(197, 160, 89, 0.15);
}

.ig-stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.6rem;
}

.ig-stat-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Center card — quote style */
.ig-stat-center {
    flex: 1.4;
    border-color: rgba(197, 160, 89, 0.35);
    background: rgba(197, 160, 89, 0.05);
}

.ig-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: #ffffff;
    line-height: 1.7;
    margin-bottom: 1rem;
    display: block;
}

.ig-quote-author {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    font-weight: 600;
    display: block;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
    .ig-highlights-block {
        flex-direction: column;
        gap: 1.2rem;
        margin-top: 2.5rem;
        padding: 0;
    }

    .ig-stat-card {
        padding: 2rem 1.5rem;
    }

    .ig-stat-number {
        font-size: 2.8rem;
    }

    .ig-quote {
        font-size: 1.1rem;
    }

    .ig-stat-center {
        flex: auto;
    }
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

/* Hero-specific secondary button - must always be white on dark hero image */
.hero .btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-color: #ffffff;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Shine Animation */
.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transform: rotate(45deg);
    transition: 0.5s;
    opacity: 0;
}

.btn:hover::after {
    left: 120%;
    opacity: 1;
    transition: 0.8s;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
    color: white;
    background: #0f0f0f;
    /* Always black in light mode */
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    /* Gold underline */
}

/* Force all navbar items white text on black navbar */
.navbar .nav-links a,
.navbar .nav-cta,
#theme-toggle {
    color: #ffffff !important;
}

.navbar.scrolled {
    color: #ffffff;
    height: 60px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    background: #0f0f0f;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
}

/* Light mode: scrolled navbar links stay white on black bg */
.navbar.scrolled .nav-links a {
    color: #ffffff;
}

.navbar.scrolled .nav-links a:hover {
    color: var(--accent);
}

/* Dark mode scrolled navbar */
[data-theme="dark"] .navbar.scrolled {
    background: #0f0f0f;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

/* Ensure nav links are white over the hero (un-scrolled) */
.navbar:not(.scrolled) .nav-links a {
    color: #ffffff;
}

.navbar:not(.scrolled) .nav-links a:hover {
    color: var(--accent);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

/* Initial/Base State: Over the dark Hero image */
.brand-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
    /* Force logo to be WHITE initially (over dark hero image) */
    filter: brightness(0) invert(1);
}

/* Logo remains white on scroll */
.navbar.scrolled .brand-logo {
    filter: brightness(0) invert(1);
}

/* Scrolled Navbar State (Dark Mode) */
[data-theme="dark"] .navbar.scrolled .brand-logo {
    filter: brightness(0) invert(1);
}



.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

#theme-toggle {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0.5rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: #ffffff !important;
    /* Force hamburger to be white */
    z-index: 2000;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: currentColor;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('images/assets/back.png') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .hero {
    background: url('images/assets/back.png') no-repeat center center/cover;
}

/* Enhanced Grain Overlay */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.05;
    pointer-events: none;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(15, 10, 2, 0.82) 0%,
            /* Deep gold-black at top */
            rgba(30, 18, 5, 0.65) 40%,
            /* Warm dark gold mid */
            rgba(90, 60, 15, 0.35) 70%,
            /* Soft amber glow lower */
            rgba(197, 160, 89, 0.25) 90%,
            /* Gold bloom near bottom */
            var(--bg-primary) 100%
            /* Fade to page */
        );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: #ffffff;
    padding-top: 6rem;
    /* Clear the fixed navbar */
}

/* --- Hero Text Overlay Block --- */
.hero-text-overlay {
    margin-bottom: 3rem;
}

/* "Elegant & Timeless" label */
.hero-label {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--accent);
    border: 1px solid rgba(197, 160, 89, 0.5);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.8rem;
    background: rgba(197, 160, 89, 0.08);
    backdrop-filter: blur(4px);
}

/* "Capturing Moments That Live Forever." headline */
.hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 1.8rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Subtext beneath headline */
.hero-subtext {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.82);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.9;
    letter-spacing: 0.02em;
}

/* --- Staggered Fade-Up Animations --- */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-anim-1 {
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-anim-2 {
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero-anim-3 {
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

.hero-anim-4 {
    animation: heroFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.95s both;
}

/* --- Hero Actions (Buttons) --- */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.subheadline {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.mouse {
    width: 20px;
    height: 35px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: "";
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translate(-50%, 0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, 15px);
        opacity: 0;
    }
}

/* Galleries Section */
.galleries-section {
    position: relative;
    background-color: var(--bg-secondary);
    overflow: hidden;
}

.galleries-carousel-container {
    position: relative;
    padding: 0;
}

.galleries-carousel {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
    padding: 2rem 0;
}

.carousel-nav-btn {
    display: none;
}

.gallery-card {
    flex: 0 0 calc(25% - 1.9rem);
    cursor: pointer;
    transition: var(--transition);
}

@media (max-width: 1200px) {
    .gallery-card {
        flex: 0 0 calc(50% - 1.25rem);
    }
}

@media (max-width: 600px) {
    .gallery-card {
        flex: 0 0 100%;
    }
}

.card-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--card-shadow);
    background: var(--bg-primary);
    border: 1px solid var(--glass-border);
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .card-image-wrapper img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0.8;
    transition: var(--transition);
}

.gallery-card:hover .card-overlay {
    opacity: 1;
}

.card-title-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    color: white;
}

.card-title-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.gallery-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-marketing-line {
    margin-top: 1.2rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.gallery-card:hover .card-marketing-line {
    color: var(--accent);
}

.marketing-text {
    max-width: 800px;
    margin: 2rem auto 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    opacity: 0.9;
    min-height: 5.4em;
    transition: opacity 0.3s ease;
}


/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--bg-primary);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 2rem;
}

.service-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0 2rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Trust Section */
.trust {
    position: relative;
    background: url('images/assets/back2.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
}

.trust::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.trust .container {
    position: relative;
    z-index: 2;
}

.trust h2 {
    color: white;
}

.trust p {
    color: rgba(255, 255, 255, 0.9);
}

.highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.highlight-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 3px;
    border: 3px solid var(--accent);
    overflow: hidden;
    transition: var(--transition);
}

.highlight-item:hover .highlight-circle {
    transform: scale(1.1);
}

.highlight-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.highlight-item span {
    font-size: 0.8rem;
    font-weight: 600;
}

.reviews-carousel {
    max-width: 800px;
    margin: 4rem auto 0;
    position: relative;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
}

.review-card {
    min-width: 100%;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.review-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.review-card p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.review-author {
    font-weight: 700;
    color: var(--accent);
}

.carousel-nav {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

.carousel-nav button {
    background: var(--bg-primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
    pointer-events: auto;
    transition: var(--transition);
}

.carousel-nav button:hover {
    background: var(--accent);
    color: white;
}

/* Trust Section Overrides for Dark Background */
.trust .review-card {
    background: rgba(255, 255, 255, 0.08);
    /* Dark glass effect */
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.trust .review-card p {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.trust .review-date {
    color: rgba(255, 255, 255, 0.8);
}

.trust .carousel-nav button {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.trust .carousel-nav button:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.trust .highlight-item span {
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Instagram Section */
.instagram-feed {
    position: relative;
    background: url('images/a football/football-bg.png') no-repeat center center/cover;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
    padding: 12rem 0;
    /* Balanced padding */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 75vh;
    text-align: center;
}

.instagram-feed .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.instagram-feed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Darker overlay for text readability */
    z-index: 1;
}

.instagram-feed .container {
    position: relative;
    z-index: 2;
}

.instagram-feed h2,
.instagram-feed p {
    color: white;
    width: 100%;
}

.instagram-feed h2 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
    font-family: 'Playfair Display', serif;
}

.instagram-feed p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    max-width: 700px;
}

.instagram-feed a {
    color: var(--accent);
    font-weight: 600;
}

.instagram-feed .btn-primary {
    color: white;
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* Instagram Grid */
.ig-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

.ig-item {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
}

/* About Section */
.about {
    padding-top: 2rem !important;
    /* Force closer to previous section */
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 12px;
}

.about-exp {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
}

.about-exp h3 {
    font-size: 2.5rem;
    line-height: 1;
}

.about-text h2 {
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.lead {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.fact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--glass-border);
}

.fact-item {
    display: flex;
    flex-direction: column;
}

.fact-item strong {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.about-signature-wrapper {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.about-logo {
    width: 80%;
    max-width: 450px;
    height: auto;
    filter: brightness(0);
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

[data-theme="dark"] .about-logo {
    filter: brightness(0) invert(1);
}

.brand-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--accent);
    letter-spacing: 0.05em;
    font-weight: 600;
}

@media (max-width: 768px) {
    .about-logo {
        width: 100%;
    }

    .brand-tagline {
        font-size: 1.2rem;
    }
}

/* Contact Section */
.contact-card {
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 4fr 6fr;
}

.contact-info {
    padding: 4rem;
    background: var(--bg-secondary);
}

.contact-form-side {
    padding: 4rem;
}

.dm-script-card {
    margin: 3rem 0;
    padding: 1.5rem;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px dashed var(--accent);
}

.script-box {
    margin-top: 1rem;
    position: relative;
}

.script-box p {
    font-size: 0.9rem;
    font-style: italic;
    padding-right: 60px;
}

.copy-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: var(--accent);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: inherit;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--accent);
}

/* FooterStyles */
footer {
    padding: 6rem 0 2rem;
    background: var(--bg-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Footer Logo — Black in Light Mode */
.footer-logo {
    height: 50px;
    width: auto;
    filter: brightness(0);
    /* Black in light mode */
    transition: filter 0.3s ease;
}

/* Footer Logo — White in Dark Mode */
[data-theme="dark"] .footer-logo {
    filter: brightness(0) invert(1);
    /* White in dark mode */
}

/* Spacing: Footer logo to tagline */
.footer-logo {
    margin-bottom: 1.8rem;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-size: 1.5rem;
    opacity: 0.7;
}

.social-links a:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-cta h4 {
    margin-bottom: 1.5rem;
}

/* Spacing: footer CTA paragraph to button */
.footer-cta p {
    margin-bottom: 2rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Floating CTA & Lightbox */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--accent);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 999;
    font-weight: 700;
}



/* Responsiveness */
@media (max-width: 1024px) {

    /* --- Navigation (Mobile & Tablet) --- */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #0f0f0f;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1500;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 2rem;
        font-family: 'Playfair Display', serif;
        letter-spacing: 0.05em;
        color: #ffffff !important;
        opacity: 0.85;
        transition: opacity 0.3s ease, color 0.3s ease;
    }

    .nav-links a:hover {
        opacity: 1;
        color: var(--accent) !important;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* --- Layout --- */
    .hero-headline {
        font-size: 3.2rem;
    }

    .hero-label {
        font-size: 0.75rem;
        letter-spacing: 0.25em;
    }

    .hero-subtext {
        font-size: 1rem;
    }

    .about-container,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        margin-bottom: 4rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .lightbox-content {
        flex-direction: column;
    }

    .lightbox-content img {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .hero-content {
        padding-top: 5rem;
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }

    .hero-headline {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.2rem;
    }

    .hero-label {
        font-size: 0.7rem;
        letter-spacing: 0.2em;
        margin-bottom: 1.2rem;
    }

    .hero-subtext {
        font-size: 0.92rem;
        line-height: 1.8;
        padding: 0 0.5rem;
    }

    .hero-text-overlay {
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Full-Screen Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.4s, opacity 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal.show {
    visibility: visible;
    opacity: 1;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 2rem 4rem;
    display: flex;
    flex-direction: column;
    z-index: 10;
    color: white;
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition);
}

.modal-close:hover {
    transform: scale(1.2) rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.gallery-slider-wrapper {
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.gallery-slider {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 4rem;
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    flex: 0 0 100%;
    height: 100%;
    scroll-snap-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide img {
    max-width: 100%;
    max-height: 55vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
    z-index: 20;
}

.slider-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.slider-btn.prev {
    left: 0;
}

.slider-btn.next {
    right: 0;
}

.slider-counter {
    display: none;
    text-align: center;
    margin-top: 2rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.modal-footer {
    margin-top: auto;
    padding-bottom: 2rem;
    text-align: center;
}

.modal-footer .btn {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: #eebb4d;
    color: #000;
    font-weight: 700;
    padding: 1.2rem;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(238, 187, 77, 0.4);
    text-shadow: none;
}

/* Button Shine Effect */
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(45deg) translateX(-100%);
    transition: 0.6s;
}

.btn-primary:hover::after {
    transform: rotate(45deg) translateX(100%);
}

/* Dark Mode Fixes */
[data-theme="dark"] .galleries-section {
    background-color: var(--bg-secondary);
}

/* Fallback for missing images */
.img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--bg-secondary), var(--glass-border));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
}

.img-placeholder i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
    opacity: 0.6;
}

.img-placeholder p {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Loading Button Styles */
.loading-btn {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: white;
    padding: 1.2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    text-decoration: none;
    /* Ensure link style removal */
}

.loading-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4);
}

.loading-ring {
    display: inline-block;
    width: 20px;
    height: 20px;
}

.loading-ring:after {
    content: " ";
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Gallery Modal Responsiveness (Mobile & Tablet) */
@media (max-width: 1024px) {
    .modal-container {
        padding: 2rem 1rem;
        justify-content: flex-start;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        font-size: 2.5rem;
    }

    .modal-header {
        margin-top: 2rem;
        margin-bottom: 1.5rem;
    }

    .modal-header h2 {
        font-size: 2.5rem;
    }

    .modal-header p {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .gallery-slider-wrapper {
        margin: 1.5rem 0;
        height: auto;
        flex-grow: 0;
    }

    .gallery-slider {
        gap: 1rem;
    }

    .gallery-slide img {
        max-height: 50vh;
        border-radius: 16px;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        background: rgba(255, 255, 255, 0.4);
        /* Semi-transparent white */
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
    }

    .slider-btn.prev {
        left: 10px;
    }

    .slider-btn.next {
        right: 10px;
    }

    .modal-footer {
        margin-top: auto;
        padding-bottom: 1rem;
    }

    .modal-footer .btn {
        width: 100%;
        max-width: none;
    }
}

/* Specific Mobile Optimization (below 600px) */
@media (max-width: 600px) {
    .modal-header h2 {
        font-size: 2.8rem;
    }

    .gallery-slide img {
        max-height: 40vh;
    }

    .modal-footer .btn {
        background: #eebb4d;
        color: #000;
        box-shadow: 0 4px 15px rgba(238, 187, 77, 0.5);
    }
}