/* 
 * Design System - Usher Booking Web Page (SOP v2.5)
 * Theme: Dark, Moody, Premium, Glassmorphism
 */

:root {
    /* Color Palette (Deep Dark Theme) */
    --color-bg-dark: #0a0a0a;
    --color-bg-darker: #000000;
    --color-text-main: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --color-accent: #ffffff;
    --color-glass: rgba(20, 20, 20, 0.6);
    --color-glass-border: rgba(255, 255, 255, 0.1);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Transitions */
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    /* Prevents layout shift when scrollbar appears */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

body.loading {
    overflow: hidden;
}

/* Utility Class to Prevent Mobile Scrolling */
body.no-scroll {
    overflow: hidden !important;
}

/* Splash Screen Styles */
/* Splash Screen Styles */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 1.5s cubic-bezier(0.19, 1, 0.22, 1),
        visibility 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

#splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    /* Soft entrance */
    animation: splash-entry 2.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.splash-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    /* Space between lines and text */
    overflow: hidden;
    z-index: 1;
    position: relative;
}

/* Decorative Lines */
.splash-line {
    width: 0%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.6);
    animation: line-expand 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
}

/* Replaced Text with Logo */
.splash-logo {
    width: 220px;
    /* Smaller size since it sits above text */
    height: auto;
    opacity: 0;
    /* Simplified Animation to Stop Shaking */
    animation: simpleFadeIn 2.5s ease-out 0.5s forwards;
    margin-bottom: 20px;
    /* Optimization for Smoothness */
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    will-change: transform, opacity;
    outline: 1px solid transparent;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.01);
}

@keyframes simpleFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.splash-text {
    font-size: 2.22rem;
    letter-spacing: 0.6rem;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    animation: writing-reveal 2s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}

.splash-subtext {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    letter-spacing: 0.3rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-style: normal;
    margin-top: 15px;
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    animation: writing-reveal 2s cubic-bezier(0.22, 1, 0.36, 1) 1.8s forwards;
}

@keyframes subtext-fade-up {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes line-expand {
    from {
        width: 0%;
        opacity: 0;
    }

    to {
        width: 140px;
        /* Elegant fixed width */
        opacity: 1;
    }
}

@keyframes writing-reveal {
    0% {
        clip-path: inset(0 100% 0 0);
        letter-spacing: 0.2rem;
        opacity: 0;
    }

    100% {
        clip-path: inset(0 0 0 0);
        letter-spacing: 0.6rem;
        opacity: 1;
    }
}

@keyframes splash-entry {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}



h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

.text-center {
    text-align: center;
}

/* Section Headers */
.section-header-text {
    text-align: center;
    margin-bottom: 40px;
}

.section-header-text h2 {
    font-size: 4.5rem;
    font-weight: 800;
    font-family: 'Playfair Display', serif;
    color: #fff;
    margin-bottom: 0px;
    letter-spacing: -2px;
    line-height: 1.1;
    text-transform: lowercase;
    /* Optional: for that "meet the team" look or keep standard */
}

.section-header-text h2::first-letter {
    text-transform: uppercase;
}

/* Keep standard casing but make it elegant */
.section-header-text h2 {
    text-transform: none;
}

.section-header-img {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 30px;
    background: transparent;
}

/* Elegant underline decoration */
.section-header-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(to right,
            transparent 0%,
            rgba(255, 255, 255, 0.3) 20%,
            rgba(255, 255, 255, 0.6) 50%,
            rgba(255, 255, 255, 0.3) 80%,
            transparent 100%);
}

.section-header-img img {
    margin: 0 auto 20px;
    max-height: 160px;
    /* Increased from 80px */
    width: auto;
    opacity: 0.85;
    mix-blend-mode: screen;
    filter: brightness(1.2);
    transition: all 0.3s ease;
    background: transparent;
}

.section-header-img img:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* Text-based section headers */
.section-title-text {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 auto 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.section-subtitle {
    font-size: 1.4rem;
    /* Bigger */
    color: #ffffff;
    /* Brighter */
    letter-spacing: 0.5px;
    margin-top: 15px;
    font-family: 'Playfair Display', serif;
    /* Elegant */
    font-weight: 600;
    /* Bolder */
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-glass-border);
    padding: 5px 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar.nav-hidden {
    transform: translateY(-100%);
}

#navbar .logo {
    display: flex;
    /* Force side-by-side layout */
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
}

#navbar .logo img {
    height: 50px;
    /* Reduced from 70px to fit text */
    width: auto;
    transition: transform 0.3s ease;
    opacity: 0.85;
    mix-blend-mode: screen;
    filter: brightness(1.2);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#navbar .logo img:hover {
    transform: scale(1.05);
    opacity: 1;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.nav-links a:hover {
    color: #fff;
}

.btn-nav {
    border: 1px solid #fff;
    padding: 8px 20px;
    border-radius: 50px;
}

.btn-nav:hover {
    background: #fff;
    color: #000;
}

/* Hero Section (SOP v2.5) */
.hero-section {
    height: 70vh;
    /* Narrower height */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
    /* Nav offset */
    /* background: url('assets/hero-bg-combined.png') no-repeat center center/cover; */
    background: transparent;
}

/* Smooth transition gradient from hero to marble */
/* Smooth transition gradient removed to prevent hard line */
/* .hero-section::after removed */

/* Hero Slideshow */

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.1) 80%,
            rgba(0, 0, 0, 0) 100%);
    /* Fade to complete transparent */
    /* Gradient overlay for smooth transition to marble */
    z-index: 1;
}

.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: floatPattern 60s linear infinite;
    z-index: 1;
}

@keyframes floatPattern {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 50px 50px;
    }
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-content-box {
    max-width: 700px;
    width: 100%;
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-glass-border);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeUp 1s ease-out forwards;
}

.hero-content-box h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    opacity: 0;
    animation: fadeUp 1s ease-out 0.2s forwards;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: fadeUp 1s ease-out 0.4s forwards;
}

.btn-hero {
    display: inline-block;
    padding: 18px 45px;
    background: #fff;
    color: #000;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeUp 1s ease-out 0.6s forwards;
}

.btn-hero:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Team Section (Carousel) */
.team-carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-carousel-wrapper {
    width: 450px;
    /* Reduced width for portrait */
    height: 650px;
    /* Increased height for portrait */
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-glass-border);
    background: #111;
}

.team-carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.team-slide {
    min-width: 100%;
    height: 100%;
}

.team-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    /* Focus on face */
}

.carousel-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    margin: 0 20px;
    z-index: 10;
}

.carousel-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Simple Team Slideshow */
.slideshow-wrapper {
    display: flex;
    gap: 30px;
    /* Space between the two slideshows */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* Stack on smaller screens */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.team-slideshow-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    /* Adjusted to fit portrait ratio tighter */
    height: 700px;
    /* Taller to fit portrait images */
    margin: 0 auto;
    overflow: visible;
    /* Allow header/shadow to be seen if needed */
    background: transparent;
}

.team-simple-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    display: flex;
    /* Enable flexbox for centering */
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.team-simple-slide.active {
    opacity: 1;
    z-index: 2;
}

.team-simple-slide img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Redundant with auto sizing but safe */
    object-position: center;
    border-radius: 25px;
    /* Smooth rounded corners on the image itself */
    border: none;
    background: transparent;
    /* Ensure no background color leaks */
    box-shadow: none;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}


/* Services Section (Square Grid) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Center the last service card (Bride Assistant) when it's the orphan on the last row */
@media (min-width: 900px) {
    .service-card:last-child {
        grid-column: 2 !important;
    }
}

.service-card {
    background: var(--color-glass);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--color-glass-border);
}

/* Gradient Overlay */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

@media (hover: hover) {
    .service-card:hover {
        transform: translateY(-10px);
        border-color: #fff;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    }

    .service-card:hover::before {
        opacity: 1;
    }
}

.service-icon {
    margin-bottom: 10px;
    color: #fff;
    transition: transform 0.4s;
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

@media (hover: hover) {
    .service-card:hover .service-icon {
        transform: scale(1.1) rotate(5deg);
    }
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    position: relative;
    z-index: 2;
}

.service-card {
    cursor: pointer;
    position: relative;
    /* Ensure relative positioning for ::after */
}

/* Click Affordance Indicator (+) */
.service-card::after {
    content: '+';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

@media (hover: hover) {
    .service-card:hover::after {
        color: #fff;
        transform: rotate(90deg);
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 10002;
    /* Higher than nav/splash */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    position: relative;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.modal-close:hover {
    transform: rotate(90deg) scale(1.1);
}

.modal-icon {
    color: #fff;
    margin-bottom: 20px;
}

.modal-icon svg {
    width: 64px;
    height: 64px;
}

/* Modal Title */
.modal-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 15px;
}

.modal-line {
    width: 60px;
    height: 2px;
    background: #fff;
    margin: 0 auto 20px;
}

.modal-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
}


/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.testimonial-card {
    background: var(--color-glass);
    padding: 25px;
    border: 1px solid var(--color-glass-border);
    position: relative;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: #fff;
}



.client-info h4 {
    font-size: 1.3rem;
    /* Larger */
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
    /* Elegant */
    font-weight: 700;
    /* Bolder */
    color: #fff;
}

.client-info p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 400;
}


/* Booking Form */
.booking-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    border-radius: 20px;
    /* Smooth edges */
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 15px;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    font-family: var(--font-body);
    border-radius: 10px;
    /* Smooth input edges */
    color-scheme: dark;
    /* Forces browser native controls (scrollbars, arrows) to dark mode */
    outline: none;
    /* Remove browser default focus outline */
    transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #fff;
    /* Clean white border on focus instead of blue */
}

/* Ensure dropdown options are dark */
select option {
    background: #000;
    color: #fff;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #fff;
    outline: none;
}

.btn-block {
    width: 100%;
    margin-top: 30px;
    padding: 18px;
    background: #000;
    /* Black box */
    color: #fff;
    /* White words */
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    border: 1px solid #fff;
    /* White border */
    transition: all 0.3s ease;
}

.btn-block:hover {
    background: #fff;
    /* Hover to white */
    color: #000;
    /* Hover text black */
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}


/* Footer */
#footer {
    background: #000;
    padding: 40px 0 20px;
    border-top: 1px solid #222;
    margin-top: 60px;
}

.footer-logo-seamless {
    height: 150px;
    margin-bottom: 15px;
    mix-blend-mode: screen;
    opacity: 0.85;
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

.footer-logo-seamless:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo-col {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}


.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 20px;
    color: #555;
    font-size: 0.85rem;
}




/* Media Queries */
@media (max-width: 768px) {

    /* Mobile Navigation Refinement */
    .logo {
        display: none;
    }

    .logo-text {
        display: none;
    }



    .hamburger {
        display: none;
    }

    .nav-links {
        display: flex;
        position: static;
        width: 100%;
        background: transparent;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 5px 0;
        gap: 8px;
        backdrop-filter: none;
        border-bottom: none;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 0.60rem;
        /* Slightly smaller */
        letter-spacing: 0.3px;
        padding: 5px;
    }

    .btn-nav {
        padding: 4px 8px;
        font-size: 0.60rem;
        white-space: nowrap;
        /* Prevent line break */
    }

    /* Mobile Hero */
    .hero-section {
        height: 85vh;
        /* Taller on mobile for impact */
        padding: 0;
        margin-top: 60px;
        /* Thinner nav offset */
    }

    .hero-content-box {
        padding: 30px 20px;
        width: 90%;
        border-radius: 15px;
    }

    .hero-content-box h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    /* Mobile Services (2 Columns - Side by Side) */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        /* Tighter gap */
        padding: 0 5px;
    }

    .service-card {
        padding: 10px 5px;
        border-radius: 8px;
        /* Slightly sharper corners */
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
        justify-content: center;
        min-height: 80px;
        /* Force rectangle */
    }

    .service-card h3 {
        font-size: 0.8rem;
        /* Smaller text */
        margin: 0;
        line-height: 1.2;
    }

    .service-icon svg {
        width: 24px;
        /* Smaller icons */
        height: 24px;
    }

    .service-icon {
        margin-bottom: 2px;
    }

    /* Hide the + icon on mobile to save space if needed, or make it smaller */
    .service-card::after {
        font-size: 1rem;
        top: 5px;
        right: 8px;
    }

    .service-card h3 {
        font-size: 0.65rem;
        margin-bottom: 2px;
        padding: 0 2px;
    }

    .service-card p {
        display: none;
        /* Hide Description on Mobile to match Client Cards look */
    }

    .service-icon svg {
        width: 24px;
        height: 24px;
    }

    /* Mobile Clients (2 Columns) */
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .testimonial-card {
        padding: 10px;
        border-radius: 10px;
    }

    .client-quote {
        font-size: 0.65rem;
        margin-bottom: 5px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .quote-icon {
        font-size: 1.2rem;
        top: 5px;
        left: 5px;
    }

    .client-stars {
        font-size: 0.7rem;
        margin-bottom: 3px;
    }

    .client-info h4 {
        font-size: 0.7rem;
        margin-bottom: 2px;
    }

    .client-info p {
        font-size: 0.55rem;
    }



    /* Mobile Booking Form Optimization */
    .booking-form {
        padding: 20px 15px;
        /* Tighter container */
    }

    .form-group {
        margin-bottom: 15px;
        /* Less space between inputs */
    }

    input,
    select,
    textarea {
        padding: 10px;
        /* Thinner inputs */
    }

    /* Fix Date/Time Overflow */
    input[type="date"],
    input[type="time"] {
        width: 100%;
        min-width: 0;
        appearance: none;
        /* Reset iOS styling */
        box-sizing: border-box;
        /* Ensure padding doesn't add to width */
    }

    /* Mobile Footer */
    #footer {
        padding: 30px 0 20px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo-seamless {
        height: 90px;
        /* Keep smaller on mobile */
    }

    .footer-links {
        padding: 0;
    }

    /* Mobile Background (PC Image Adapted) */
    .bg-marble {
        background-image: url('assets/bg-marble.png') !important;
        /* Reuse PC Asset */
        background-color: #000;
        background-size: cover;
        background-position: center;
        background-attachment: scroll !important;
        /* Important for mobile performance */
        height: 100vh;
        position: fixed;
        will-change: transform;
    }

    /* Add a slight overlay for text readability */
    .bg-marble::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        /* 40% dark overlay */
        display: block !important;
    }

    /* Section Padding for Mobile */
    .section-padding {
        padding: 3rem 0;
    }

    .section-title-text {
        font-size: 2rem;
        letter-spacing: 0.2rem;
    }

    .about-text {
        font-size: 0.85rem !important;
        /* Slightly smaller */
        line-height: 1.6 !important;
        /* Tighter spacing */
        font-weight: 300 !important;
        color: rgba(255, 255, 255, 0.85) !important;
        padding: 0 15px;
        /* More side padding to squeeze text slightly */
        margin-bottom: 15px;
        /* Space between paragraphs */
        text-align: center;
    }

    /* Remove bottom margin from last paragraph */
    .about-text:last-child {
        margin-bottom: 0;
    }

    /* Mobile Highlights (Side-by-Side) */
    .slideshow-wrapper {
        flex-wrap: nowrap;
        /* Prevent stacking */
        gap: 10px;
        /* Smaller gap */
        align-items: flex-start;
        /* Align to top */
    }

    .team-slideshow-container {
        width: 48%;
        /* Fit two in a row */
        max-width: none;
        /* Smaller height for mobile */
    }

    /* Mobile Splash Logo Fix */
    .splash-logo {
        width: 170px;
        /* Smaller specifically for mobile */
        margin: 0 auto;
        display: block;
    }

    .splash-text-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Mobile Service Modal Fix */
    #service-modal .modal-content {
        width: 90% !important;
        /* Force width */
        padding: 25px 20px !important;
        /* Force padding */
        max-height: 85vh;
        overflow-y: auto;
    }

    #service-modal #modal-title {
        font-size: 1.4rem !important;
        /* Force smaller title */
        margin: 15px 0 10px;
    }

    #service-modal #modal-description {
        font-size: 0.9rem !important;
        /* Force smaller text */
        line-height: 1.5;
    }

    #service-modal .modal-icon svg {
        width: 50px !important;
        /* Force smaller icon */
        height: 50px !important;
    }

    /* Merged orphaned mobile styles */
    .section-subtitle {
        font-size: 1.1rem;
    }

    /* About Us Mobile Optimization */
    .about-content {
        padding: 0 10px;
    }

    .about-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
}

/* About Us Section Base Styles */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-title {
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
    color: #fff;
    font-size: 1.8rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Premium Marble Background */
.bg-marble {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('assets/bg-marble.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Dark Overlay for Marble Readability */
.bg-marble::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
}

/* Ensure sections are relative to show bg elements */
section {
    position: relative;
    z-index: 1;
}

/* Success Overlay */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.success-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-content {
    text-align: center;
}

.success-message {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 12px;
    margin: 30px 0;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1) 0.3s;
}

.success-overlay.active .success-message {
    opacity: 1;
    transform: translateY(0);
}

.success-content .line {
    width: 0;
    height: 1px;
    background: #fff;
    margin: 0 auto;
    transition: width 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.success-overlay.active .line {
    width: 150px;
}

.success-home-btn {
    margin-top: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1) 0.8s;
}

.success-overlay.active .success-home-btn {
    opacity: 1;
    transform: translateY(0);
}

.success-home-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Missing Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Global utility for modal lock */
body.no-scroll {
    overflow: hidden;
}

/* =========================================
   MOBILE OPTIMIZATIONS (Refactored from Emergency Fixes)
   ========================================= */

@media (max-width: 768px) {

    /* 2. Splash Screen - Perfect Center */
    #splash-screen {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 10000 !important;
    }

    .splash-content {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0;
    }

    #splash-screen .splash-logo {
        width: 130px;
        height: auto;
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 20px;
    }

    .splash-text-wrapper,
    .splash-content {
        height: 100vh;
        width: 100vw;
        position: relative;
    }

    /* 3. Fix Team Slideshow on Mobile - SIDE BY SIDE PROPORTIONAL */
    .slideshow-wrapper {
        flex-direction: row !important;
        justify-content: center;
        gap: 8px;
        /* Tight gap to maximize image space */
    }

    .team-slideshow-container {
        width: 48%;
        /* Fit two side-by-side */
        max-width: none;
        height: 320px;
        /* Much shorter height to match aspect ratio and avoid "long strip" look */
    }


    /* 2. Force Service Modal Size - COMPACT FIX */
    #service-modal .modal-content {
        width: 90%;
        padding: 15px;
        max-height: 85vh;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    #service-modal #modal-title {
        font-size: 1.1rem;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    #service-modal #modal-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    #service-modal .modal-icon svg {
        width: 35px;
        height: 35px;
    }

    /* 5. Fix Image Mismatch (Fill the Box) - STABLE NO-JUMP FIX */
    .team-simple-slide img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 15px;
        background: transparent;
        object-position: center;
    }


    /* 4. Fix Navigation Flow */
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 5px;
        gap: 5px;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links a {
        font-size: 0.65rem;
        padding: 4px 6px;
    }

    /* Make "Book Now" stand out but fit */
    .btn-nav {
        font-size: 0.65rem;
        padding: 4px 10px;
        margin-left: 0;
    }

    /* 6. Interaction Fixes (No Lag, No Jump) */
    .service-card {
        touch-action: manipulation;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    /* Splash Text Mobile */
    .splash-text {
        font-size: 1.5rem;
        letter-spacing: 0.2rem;
    }

    .splash-subtext {
        font-size: 1.1rem;
        letter-spacing: 0.1rem;
    }

    /* 4. Top Clients Grid - Mobile Optimization (2 Columns) */
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    .testimonial-card {
        padding: 15px 10px;
    }

    .testimonial-card h4 {
        font-size: 0.9rem;
    }

    .testimonial-card h4.long-name {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    .testimonial-card p {
        font-size: 0.7rem;
    }

    body.no-scroll {
        overflow: hidden !important;
    }
}

/* Desktop Grid Override (4 Columns) */
@media (min-width: 992px) {
    .testimonial-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonial-card h4.long-name {
        font-size: 1.1rem;
    }
}