/* 
   THEME: SAM. LIGHT & VIBRANT
   COLORS: White, Ink Black, Electric Blue, Vivid Red
*/

:root {
    --bg-color: #ffffff;
    --bg-secondary: #f4f6f8;
    --text-color: #111111;
    --text-secondary: #555555;
    --card-bg: #ffffff;

    --accent-blue: #2962ff;
    --accent-red: #ff0033;

    /* Gradients */
    --gradient-scan: linear-gradient(135deg, var(--accent-blue), var(--accent-red));
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(41, 98, 255, 0.15) 0%, rgba(255, 255, 255, 0) 60%);

    --font-heading: 'Syne', sans-serif;
    --font-body: 'Manrope', sans-serif;

    --container-width: 1400px;
    --spacing-section: 140px;

    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 60px rgba(41, 98, 255, 0.1);
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.loading {
    overflow: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* --- UTILITIES --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

.italic-accent {
    font-style: italic;
    font-family: var(--font-heading);
    font-weight: 400;
    color: transparent;
    background: var(--gradient-scan);
    -webkit-background-clip: text;
    background-clip: text;
}

.accent-red {
    color: var(--accent-red);
}

.accent-blue {
    color: var(--accent-blue);
}

.gradient-text {
    background: var(--gradient-scan);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Loader removed */

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: padding 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    /* Hidden by default (only visible on scroll) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
}

.navbar.scrolled .logo {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-brand-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    /* Smaller for navbar */
    letter-spacing: -0.5px;
    color: var(--text-color);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 3px;
}

.nav-tricolor-bar {
    display: flex;
    width: 100%;
    height: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* .bar-blue, .bar-white, .bar-red are already defined globally */

.nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    /* Animation State: Hidden */
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links.active {
    /* Animation State: Visible */
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

@media (min-width: 768px) {
    .nav-links {
        position: static;
        width: auto;
        padding: 0;
        flex-direction: row;
        gap: 3rem;
        box-shadow: none;
        background: transparent;

        /* Reset Animation for Desktop */
        opacity: 1;
        transform: none;
        pointer-events: all;
    }
}

.nav-item {
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    position: relative;
    width: fit-content;
    /* Ensure underline matches text width */
}

.nav-item:hover {
    color: var(--accent-blue);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-scan);
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.nav-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav-social-icon:hover {
    transform: scale(1.1);
    color: #000000;
    /* TikTok Black */
}

/* Remove underline for icon */
.nav-social-icon::after {
    display: none;
}

.nav-toggle {
    display: block;
    width: 30px;
    height: 20px;
    cursor: pointer;
    position: relative;
    z-index: 101;
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-color);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle span:first-child {
    top: 0;
}

.nav-toggle span:last-child {
    bottom: 0;
}

/* Hamburger Animation */
.nav-toggle.active span:first-child {
    transform: rotate(45deg);
    top: 9px;
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg);
    bottom: 8px;
    /* Adjust to center */
}

/* --- HERO --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    /* Navbar space */
    color: #fff;
    /* Ensure text is white on video */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* On desktop (wide screen) with vertical video, focus lower to see machine */
    object-position: center 70%;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Darkens video for text readability - REMOVED */
    /* background: rgba(0, 0, 0, 0.6); */
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85)); */
    display: none;
    z-index: 1;
}

/* Mesh Gradient Background Effect - REMOVED or BEHIND VIDEO */
.hero::before {
    /* Keeping it but changing z-index if we want it to blend, 
       but video usually replaces it. Let's hide it or make it a fallback */
    display: none;
}

.hero::after {
    display: none;
}

.hero-container {
    text-align: center;
    z-index: 2;
    /* Above video and overlay */
    max-width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* HERO BRANDING */
.hero-brand {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    /* Ensure container fits the text width */
    margin-left: auto;
    margin-right: auto;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    /* White text for video */
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-align: center;
}

.tricolor-bar {
    display: flex;
    width: 100%;
    /* Matches the container width (the text) */
    height: 8px;
    /* Thickness of the bar */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.brand-location {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-top: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.bar-blue {
    flex: 1;
    background-color: #0055A4;
    /* French Blue */
}

.bar-white {
    flex: 1;
    background-color: #ffffff;
    /* Optional: Add a subtle border or something if invisible on white bg */
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.bar-red {
    flex: 1;
    background-color: #EF4135;
    /* French Red */
}

.brand-slogan {
    font-family: 'Syne', sans-serif;
    /* Using Syne for that "cursive" feel if italic, or just stylish */
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 700;
    font-style: italic;
    color: #e0e0e0;
    /* Off-white for slogan */
    letter-spacing: 0;
}

@media (max-width: 768px) {
    .hero-brand {
        width: 100%;
        /* Override fit-content to prevent overflow */
        max-width: 100%;
        padding: 0 1rem;
    }

    .brand-name {
        font-size: clamp(1.5rem, 6vw, 2.8rem);
        /* Reduced to prevent overflow */
        white-space: normal;
        word-break: break-word;
        /* Ensure long words break if absolutely necessary, though smaller font should fit */
        line-height: 1.1;
        /* slightly more breathing room if it wraps */
    }

    .tricolor-bar {
        height: 6px;
        width: 100%;
        /* Match container width */
        max-width: 100%;
    }

    .brand-location {
        font-size: 1.2rem;
        /* Adjusted for mobile */
    }

    .brand-slogan {
        font-size: 1rem;
        margin-top: 1rem;
    }

    .hero-container {
        padding: 0;
        width: 100%;
    }
}

/* Remove old hero-title styles if unused or keep for safety? Replacing block */

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
}

.scroll-text {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-blue);
    font-weight: 700;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-blue);
    animation: scrollDown 2s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* --- ANIMATION UTILS --- */
.reveal-text,
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.active,
.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.3s;
}

.delay-3 {
    transition-delay: 0.45s;
}

/* --- ABOUT --- */
.about-section {
    padding: var(--spacing-section) 0;
    background: #fff;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6rem;
    align-items: center;
}

@media (min-width: 900px) {
    .about-grid {
        grid-template-columns: 1.1fr 1fr;
    }
}

.about-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.about-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    max-width: 90%;
}

.highlight-text {
    font-weight: 600;
    color: var(--text-color) !important;
    position: relative;
    padding-left: 1.5rem;
}

.highlight-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-scan);
    border-radius: 2px;
}

.img-placeholder {
    width: 100%;
    background-color: #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.img-placeholder::after {
    content: attr(data-label);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    color: #999;
}

.about-image .img-placeholder {
    aspect-ratio: 4/5;
    transform: translateY(20px);
    /* Offset design */
    box-shadow: -20px -20px 0px rgba(41, 98, 255, 0.05);
    /* Geometric decoration */
}

/* --- SERVICES --- */
.services-section {
    padding: var(--spacing-section) 0;
    background-color: var(--bg-secondary);
}

.section-header {
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-label {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(41, 98, 255, 0.1);
    color: var(--accent-blue);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--text-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--card-bg);
    padding: 3.5rem 2.5rem;
    border-radius: 12px;
    /* Soft UI */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--gradient-scan);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

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

.service-card:hover::before {
    transform: scaleY(1);
    transform-origin: top;
}

.card-header {
    margin-bottom: 2.5rem;
}

.service-num {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(0, 0, 0, 0.05);
    /* Watermark style */
    font-size: 4rem;
    line-height: 1;
    position: absolute;
    top: 20px;
    right: 20px;
    transition: color 0.3s ease;
}

.service-card:hover .service-num {
    color: rgba(41, 98, 255, 0.1);
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 1rem;
}

.card-body p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.arrow-link {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.service-card:hover .arrow-link {
    background: var(--accent-blue);
    color: white;
    transform: translateX(10px);
}

/* --- VISUAL BREAK --- */
.visual-break {
    padding: 0;
    position: relative;
}

.img-placeholder.wide {
    aspect-ratio: 21/9;
}

/* --- CONTACT --- */
.contact-section {
    padding: var(--spacing-section) 0;
    background: #fff;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6rem;
}

@media (min-width: 1000px) {
    .contact-layout {
        grid-template-columns: 1fr 1fr;
    }
}

.logo-large {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 4rem;
    font-weight: 800;
    color: var(--text-color);
}

.info-group {
    margin-bottom: 4rem;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    padding-left: 2rem;
}

.info-group h4 {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-red);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.info-group p,
.info-group a {
    font-size: 1.8rem;
    /* Big readable typography */
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    display: block;
    color: var(--text-color);
}

.tel-link,
.mail-link,
.phone {
    background: linear-gradient(to right, var(--accent-blue) 0%, var(--accent-blue) 100%);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.3s ease;
    display: inline-block;
    text-decoration: none;
    color: var(--text-color);
}

.tel-link:hover,
.mail-link:hover,
.phone:hover {
    background-size: 100% 2px;
    color: var(--accent-blue);
}

.img-placeholder.vertical {
    height: 100%;
    min-height: 600px;
    border-radius: 20px;
    /* Slight roundness for map container */
}

/* --- FOOTER --- */
footer {
    padding: 4rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- MAP STYLING --- */
.contact-map {
    position: relative;
    height: 450px;
    width: 100%;
}

#map {
    height: 100%;
    width: 100%;
    border-radius: 12px;
    z-index: 1;
}

/* Gray filter on tile pane only */
.leaflet-tile-pane {
    filter: grayscale(100%) contrast(1.1);
    opacity: 0.85;
    transition: all 0.5s ease;
}

#map:hover .leaflet-tile-pane {
    filter: grayscale(0%) contrast(1);
    opacity: 1;
}

/* Custom Marker Styles (adapted for Leaflet) */
.custom-leaflet-marker {
    background: transparent;
    border: none;
}

.marker-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 
       Center X: -50%
       Center Y: -35px (Half of 70px height) to center the badge on the point
    */
    transform: translate(-50%, -35px);
    pointer-events: none;
    /* Let clicks pass through if needed */
}

.marker-logo {
    width: 50px;
    height: 50px;
    background-color: white;
    border: 3px solid var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 2px;
    color: var(--text-color);
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.marker-logo .logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    color: black;
    line-height: 1;
}

.marker-logo .logo-dot {
    color: var(--accent-blue);
}

.marker-logo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 0 rgba(41, 98, 255, 0.4);
    animation: pulse 2s infinite;
    z-index: -1;
}

.marker-label {
    background: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.65rem;
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    letter-spacing: 1px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(41, 98, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(41, 98, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(41, 98, 255, 0);
    }
}

/* --- REVIEWS --- */
.reviews-section {
    padding: var(--spacing-section) 0;
    background: linear-gradient(to bottom, #ffffff, var(--bg-secondary));
    overflow: hidden;
    /* Hide scrollbar */
}

.reviews-header {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-header .section-label {
    margin-bottom: 1rem;
}

.google-rating-link {
    display: inline-block;
    margin-top: 1.5rem;
}

.google-reviews-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
}

.google-reviews-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-blue);
}

.stars {
    color: #FFD700;
    /* Gold */
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.link-text {
    font-weight: 700;
    color: var(--text-color);
    font-size: 0.95rem;
}

.arrow-icon {
    font-weight: 400;
    color: var(--accent-blue);
}

.reviews-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
    /* Mask edges for fade effect */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reviews-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 120s linear infinite;
    will-change: transform;
    /* Force hardware acceleration */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

@media (hover: hover) {
    .reviews-track:hover {
        animation-play-state: paused;
    }
}

.review-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    width: 350px;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-color);
}

.review-stars {
    color: #FFD700;
    font-size: 0.9rem;
}

.review-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
}

.review-date {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    color: #999;
    font-weight: 600;
    text-transform: uppercase;
}

@keyframes scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
        /* Move half way because content is duplicated */
    }
}

/* --- VIDEO REVIEWS --- */
.video-reviews-container {
    padding: 2rem 5%;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.video-reviews-label {
    text-align: center;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-transform: uppercase;
}

/* Horizontal Scroll for Desktop & Mobile (Netflix/Reels style) */
.video-grid {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 0 3rem 0;
    /* padding bottom for shadow/hover space */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

/* Custom Scrollbar */
.video-grid::-webkit-scrollbar {
    height: 8px;
}

.video-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.video-grid::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 10px;
}

.video-grid::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

.video-card {
    min-width: 280px;
    /* Fixed width for consistency */
    aspect-ratio: 9/16;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    scroll-snap-align: start;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    /* Hide controls visually via CSS just in case, though JS handles attribute */
}

/* OVERLAY POSTER */
.video-overlay-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.1));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    /* Centers Play Button horizontally */
    padding: 1.5rem;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.video-card.playing .video-overlay-poster {
    opacity: 0;
    pointer-events: none;
}

/* PLAY BUTTON */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid #fff;
    margin-left: 4px;
    /* Optical centering */
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

/* INFO TEXT */
.video-info {
    width: 100%;
    text-align: left;
}

.video-info h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Hide old caption style */
.video-caption {
    display: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .video-grid {
        gap: 1rem;
    }

    .video-card {
        min-width: 260px;
    }

    .play-button {
        width: 50px;
        height: 50px;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .review-card {
        width: 280px;
        padding: 1.5rem;
    }


    .reviews-track {
        gap: 1.5rem;
    }

    .reviews-header .section-label {
        margin-bottom: 0.5rem;
    }

    .google-reviews-link {
        padding: 10px 16px;
    }

    .link-text {
        font-size: 0.85rem;
    }
}

/* --- SERVICE DETAIL PAGES --- */
.service-detail-hero {
    height: 50vh;
    min-height: 400px;
    background: var(--text-color);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: var(--spacing-section);
}

.service-detail-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    z-index: 2;
    text-align: center;
}

.service-detail-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.service-content-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
    padding-bottom: var(--spacing-section);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.back-link:hover {
    color: var(--accent-blue);
    transform: translateX(-5px);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 900px) {
    .service-detail-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }

    .service-image-wrapper {
        position: sticky;
        top: 100px;
    }
}

.service-image-wrapper {
    /* Default static for mobile */
    position: static;
}

.service-image-wrapper img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
}

.service-info h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: var(--accent-blue);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-top: 2rem;
    box-shadow: 0 10px 20px rgba(41, 98, 255, 0.2);
}

.cta-button:hover {
    background: #1a4bd6;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(41, 98, 255, 0.3);
}

.btn-primary {
    display: inline-block;
    padding: 16px 32px;
    background: var(--accent-red);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-top: 2rem;
    box-shadow: 0 10px 20px rgba(239, 65, 53, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #d63025;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(239, 65, 53, 0.3);
}

.btn-map {
    display: inline-block;
    padding: 16px 32px;
    background: #25D366;
    /* WhatsApp/Maps Green */
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-top: 2rem;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
    transition: all 0.3s ease;
}

.btn-map:hover {
    background: #20b858;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

/* --- MOBILE OPTIMIZATIONS --- */

/* 1. Global Touch Highlight */
* {
    -webkit-tap-highlight-color: transparent;
}

/* 2. Floating CTA Mobile */
.floating-cta {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    /* Hidden by default */
    background: var(--accent-red);
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 800;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: none;
    /* Flex on mobile */
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(255, 0, 51, 0.4);
    z-index: 1000;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
    text-decoration: none;
    font-size: 1.1rem;
}

.floating-cta svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.floating-cta.visible {
    transform: translateX(-50%) translateY(0);
}

@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 51, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 0, 51, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 51, 0);
    }
}

.floating-cta {
    animation: pulse-red 2s infinite;
}

@media (max-width: 768px) {
    .floating-cta {
        display: flex;
    }

    /* 3. Navbar Mobile Improvements */
    .nav-toggle {
        width: 44px;
        height: 44px;
        /* Bigger touch target */
        position: relative;
        /* Context for absolute spans */
    }

    .nav-toggle span {
        left: 7px;
        /* Center (44-30)/2 */
    }

    .nav-toggle span:first-child {
        top: 14px;
    }

    .nav-toggle span:last-child {
        bottom: 14px;
    }

    .nav-toggle.active span:first-child {
        top: 20px;
    }

    .nav-toggle.active span:last-child {
        bottom: 20px;
    }

    .nav-links {
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding-top: 6rem;
        height: 100vh;
        /* Full screen menu */
        justify-content: flex-start;
        gap: 2rem;
    }

    .nav-item {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 5px 20px;
        width: 100%;
        justify-content: center;
        font-size: 1.2rem;
    }

    /* 4. Hero Mobile */
    .hero {
        min-height: 100svh;
        /* Better mobile viewport handling */
    }

    .video-overlay {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
    }

    .scroll-indicator {
        display: none;
    }

    .hero-brand {
        margin-top: -20px;
    }

    /* 5. Services Grid Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        /* Single column */
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .service-card {
        padding: 2.5rem 2rem;
        /* Adjusted padding */
    }

    /* 6. Video Grid Mobile */
    .video-card {
        min-width: 240px;
        /* Smaller cards */
    }

    .video-grid {
        padding-left: 5%;
        padding-right: 5%;
    }

    /* 7. Contact Mobile */
    .contact-map {
        height: 300px;
    }

    .contact-info .brand-name {
        font-size: 2.5rem !important;
    }

    .contact-layout {
        gap: 4rem;
    }

    /* 8. Footer Mobile */
    footer .container {
        padding-bottom: 80px;
        /* Space for floating CTA */
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}/* --- MUSIC CONTROL --- */
.music-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    border: 2px solid var(--accent-red);
    transition: all 0.3s ease;
}

.music-control:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.music-control svg {
    width: 24px;
    height: 24px;
    fill: var(--text-color);
}

.music-control.muted svg {
    fill: var(--text-secondary);
    opacity: 0.5;
}

/* Hide overlapping CTA on mobile if needed */
@media (max-width: 768px) {
    .music-control {
        bottom: 90px;
        /* Above floating CTA */
        width: 40px;
        height: 40px;
    }

    .music-control svg {
        width: 18px;
        height: 18px;
    }
}