﻿:root {
    --primary-color: #3e3e40; /* Dark gray */
    --secondary-color: #707173; /* Medium gray */
    --accent-color: #ec7206; /* Orange */
    --bg-color: #ffffff; /* White */
    --text-color: #3e3e40;
    --text-light: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(62, 62, 64, 0.1);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 90px;
}

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

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}

/* Navigation - Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(62, 62, 64, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-link:hover .logo {
    transform: scale(1.02);
}

.logo-nav .st0 {
    fill: #ffffff;
}

.logo-nav .st1 {
    fill: var(--accent-color);
}

.logo-nav .st2 {
    fill: #ffffff;
}

.nav-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
}

.nav-date-location {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.2;
}

.nav-location-link {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.98rem;
}

.nav-location-link:hover {
    color: var(--accent-color);
}

.nav-date-highlight {
    font-size: 1.35rem;
    font-weight: 800;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

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

.btn-contact {
    background: var(--accent-color);
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: 0 16px 0 16px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-contact::after {
    display: none;
}

.btn-contact:hover {
    background: #e2e4e6;
    color: var(--primary-color) !important;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease;
    background-color: var(--text-light);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    overflow: hidden;
    background-color: #ffffff;
    z-index: 1; /* Creates a stacking context */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.artecom-communication.com/fondbatimmo.jpg') center/cover no-repeat;
    z-index: -1;
    transition: opacity 0.5s ease-out 0.5s; /* 500ms delay and duration */
}

.hero.video-playing::before {
    opacity: 0;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    opacity: 0; /* Starts invisible */
    pointer-events: none;
    transition: opacity 0.5s ease-in 0.5s; /* 500ms delay and duration */
}

.hero.video-playing .video-container {
    opacity: 0.3;
}

.video-container iframe,
.video-container #hero-video {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.2);
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    position: relative;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5rem;
}

.hero-logo-large {
    max-width: 100%;
    width: 500px;
    height: auto;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 1)) drop-shadow(0 0 20px rgba(255, 255, 255, 1)) drop-shadow(0 0 40px rgba(255, 255, 255, 1)) drop-shadow(0 0 60px rgba(255, 255, 255, 1));
}

.hero-logo-large:hover {
    transform: scale(1.02);
}

.hero-subtitle {
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-weight: 600;
    position: relative;
    z-index: 10;
}

.hero-date-location {
    display: none;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    border-radius: 0 22px 0 22px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: var(--accent-color);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: #e2e4e6;
    color: var(--primary-color);
}

.btn-secondary {
    background: var(--primary-color);
    color: #fff;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: #e2e4e6;
    color: var(--primary-color);
}

/* About Section */
.about-section {
    padding: 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.artecom-communication.com/fondbatimmo.jpg') center/cover no-repeat;
    z-index: 0;
    opacity: 0.15;
    animation: bgZoom 20s infinite alternate ease-in-out;
}

@keyframes bgZoom {
    from { transform: scale(1); }
    to { transform: scale(1.3); }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.banner-sponsor {
    display: none !important;
    width: 100%;
    aspect-ratio: 1280 / 300;
    height: auto;
    margin: 3rem 0;
    background: #f1f1f1;
    border: 2px dashed var(--accent-color);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 0 16px 0 16px;
    text-align: center;
    padding: 1rem;
}

.about-grid {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #e2e4e6;
    color: var(--primary-color);
    border-radius: 0 16px 0 16px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.about-text p {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-photo {
    width: 100%;
    position: relative;
    height: 100%;
}

.photo-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 4rem);
    border-radius: 0 24px 0 24px;
    overflow: hidden;
    z-index: 2;
}

.photo-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0 24px 0 24px;
    border: 1px solid rgba(0,0,0,0.05);
    pointer-events: none;
    z-index: 3;
}

.photo-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.about-photo:hover .photo-placeholder {
    transform: scale(1.05);
}

/* Pro Section List */
.pro-section {
    margin-top: 2rem;
    padding: 4rem 2rem;
    background-color: #e2e4e6;
}

.pro-list {
    display: grid;
    grid-template-columns: max-content max-content max-content;
    justify-content: space-between;
    gap: 1.5rem;
    list-style: none;
    margin-bottom: 0;
}

.pro-list li {
    font-size: 1.4rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
}

.pro-icon {
    color: var(--accent-color);
    width: 24px;
    text-align: center;
}

.pro-text-bottom {
    font-size: 1.6rem;
    color: var(--secondary-color);
    text-align: center;
    font-style: italic;
    max-width: 900px;
    margin: 3rem auto;
}

/* Exposer Section */
.exposer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.exposer-item {
    padding: 2rem;
    border-radius: 0 24px 0 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
@media (min-width: 1101px) {
    .exposer-item:nth-child(4n+1),
    .exposer-item:nth-child(4n+4) {
        background-color: rgba(255, 255, 255, 0.60);
    }
    .exposer-item:nth-child(4n+2),
    .exposer-item:nth-child(4n+3) {
        background-color: rgba(226, 228, 230, 0.60);
    }
}
@media (max-width: 1100px) {
    .exposer-item:nth-child(odd) {
        background-color: rgba(255, 255, 255, 0.60);
    }
    .exposer-item:nth-child(even) {
        background-color: rgba(226, 228, 230, 0.60);
    }
}

.exposer-item:hover {
    transform: translateY(-5px);
}

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

.exposer-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 800;
}

.exposer-item p {
    color: var(--secondary-color);
    font-size: 1.05rem;
}

.exposer-photo-container {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 0 16px 0 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem; /* Adjusts to content on mobile */
}

@media (min-width: 768px) {
    .exposer-photo-container {
        aspect-ratio: 16 / 9;
        padding: 0;
    }
}

.exposer-photo-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.5s ease;
}

.exposer-photo-container:hover img {
    transform: scale(1.05);
}

.exposer-photo-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(62, 62, 64, 0.6);
    z-index: 1;
}

.exposer-overlay-text {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 800;
    font-family: var(--font-heading);
    text-align: center;
    padding: 2rem;
    max-width: 1000px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Video Replay Section */
.video-replay-section {
    margin-top: 2rem;
    margin-bottom: 4rem;
    text-align: center;
}

.video-replay-section h2 {
    color: var(--accent-color);
    margin-bottom: 3rem;
    font-size: clamp(2rem, 3vw, 2.5rem);
}

.youtube-player-wrapper {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 0 16px 0 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    aspect-ratio: 16 / 9;
}

.youtube-player-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Artecom Link */
.artecom-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.artecom-link:hover {
    color: var(--accent-color);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--secondary-color);
    font-size: 2rem;
    animation: bounce 2s infinite ease-in-out;
    z-index: 10;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 15px); }
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: #fff;
    width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .site-footer {
        flex-direction: row;
        align-items: flex-end;
    }
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-left {
        align-items: flex-start;
    }
}

.footer-logo {
    height: 3rem;
    width: auto;
    object-fit: contain;
    cursor: pointer;
}

.footer-info {
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    gap: 0.25rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-info {
        text-align: left;
    }
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .footer-nav {
        justify-content: flex-end;
    }
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-color);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(62, 62, 64, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #fff;
    padding: 1rem 1.5rem;
    z-index: 10000;
    transform: translateY(0);
    transition: transform 0.5s ease-in-out;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .cookie-container {
        flex-direction: row;
    }
}

.cookie-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 60rem;
    line-height: 1.5;
}

.cookie-text a {
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
    transition: color 0.3s ease;
}

.cookie-text a:hover {
    color: var(--accent-color);
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    width: 100%;
    justify-content: flex-end;
}

@media (min-width: 768px) {
    .cookie-actions {
        width: auto;
    }
}

.cookie-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 0 16px 0 16px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    white-space: nowrap;
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-btn-decline {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.cookie-btn-decline:hover {
    background-color: #e2e4e6;
    color: var(--primary-color);
}

.cookie-btn-accept {
    background-color: var(--accent-color);
    color: #fff;
}

.cookie-btn-accept:hover {
    background-color: #e2e4e6;
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1100px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .hero-logo-large {
        width: 80%;
    }
    .hero-subtitle {
        width: 80%;
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(1.4rem, 6vw, 2.2rem);
    }
    .pro-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .exposer-grid {
        grid-template-columns: 1fr;
    }
    
    .about-photo {
        height: auto;
        aspect-ratio: 4/3;
    }
    
    .nav-date-location, .nav-divider {
        display: none;
    }

    .hero-date-location {
        display: block;
        color: var(--primary-color);
        margin: 0 auto 1.5rem auto;
        line-height: 1.4;
        font-size: clamp(1.4rem, 6.5vw, 2rem);
        text-align: center;
        animation: fadeInUp 1s ease-out;
        z-index: 10;
        position: relative;
        width: 80%;
    }

    .hero-date-location .nav-location-link {
        color: var(--primary-color);
    }

    .hero-date-location .nav-location-link:hover {
        color: var(--accent-color);
    }

    .navbar-container {
        position: relative;
        justify-content: center;
    }

    .nav-brand {
        margin: 0;
    }

    .hamburger {
        display: block;
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 90px;
        gap: 0;
        flex-direction: column;
        background: var(--primary-color);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        height: calc(100vh - 90px);
        padding-top: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .hero-cta {
        flex-direction: column;
    }
    
    @media (max-width: 500px) {
        .pro-list {
            grid-template-columns: 1fr;
        }
    }
}

/* SPA Pages */
.page-section {
    display: none;
    opacity: 0;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}
.page-active {
    display: block;
    animation: fadeIn 0.5s ease-out forwards;
}

/* Full Width Banner */
.full-width-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 390px;
    padding-top: 90px; /* Account for navbar */
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000; /* Fallback */
}
.parallax-wrapper {
    position: absolute;
    top: -30%;
    left: 0;
    width: 100%;
    height: 160%;
    z-index: 0;
    will-change: transform;
}
.parallax-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.anim-bg-zoom {
    animation: bgZoom 20s infinite alternate ease-in-out;
}
.full-width-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(62, 62, 64, 0.4);
    z-index: 1;
}
@media (min-width: 768px) {
    .full-width-banner {
        height: 540px; /* 450 + 90 */
    }
}

.banner-overlay-title {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: var(--font-heading);
    font-weight: 800;
    text-align: center;
    padding: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    max-width: 90%;
    margin: 0 auto;
}

.exposer-overlay-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: -2rem; /* Shift up by one line */
    width: 100%;
}
.exposer-overlay-text {
    padding: 0 2rem;
}

.nav-link.active {
    color: var(--accent-color) !important;
}

.full-width-banner-small { height: 273px; }
.full-width-banner-small::after { display: none; }
@media (min-width: 768px) { .full-width-banner-small { height: 378px; } }

.contact-hover-link { transition: color 0.3s; }
.contact-hover-link:hover { color: var(--accent-color) !important; }

.contact-hover-link { transition: color 0.3s ease; }
.contact-hover-link:hover { color: var(--accent-color) !important; }
.full-width-banner-small { background-color: #ffffff; }
.full-width-banner-small .anim-bg-zoom { opacity: 0.6; }

/* Darker badge for dark overlays to visually match light backgrounds */
.exposer-overlay-content .section-badge {
    background: #b8babb;
}


/* Inscription Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background: #ffffff;
    padding: 3rem;
    border-radius: 0 24px 0 24px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--secondary-color);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--accent-color);
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: max-content;
    margin: 1rem auto 0;
    gap: 1.5rem;
}


/* Gallery Button */
.btn-gallery {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 0 16px 0 16px;
    border: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 10;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.btn-gallery:hover {
    transform: translateX(-50%);
    background: #e2e4e6;
    color: var(--primary-color);
}

/* Gallery Modal */
.gallery-container {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#gallery-img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    object-fit: contain;
}

.gallery-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.gallery-close:hover {
    color: var(--accent-color);
}

.gallery-prev, .gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 1rem;
    transition: color 0.3s, transform 0.3s;
    user-select: none;
}

.gallery-prev:hover, .gallery-next:hover {
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev { left: -60px; }
.gallery-next { right: -60px; }

@media (max-width: 768px) {
    .gallery-prev { left: 10px; }
    .gallery-next { right: 10px; }
    .gallery-prev, .gallery-next {
        background: rgba(0,0,0,0.3);
        border-radius: 50%;
        padding: 0.5rem;
        font-size: 2rem;
    }
}

.gallery-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.gallery-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: none;
    z-index: 10;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
