/* --- Variables & Reset --- */
:root {
    --primary-burgundy: #7A1B1E;
    --dark-burgundy: #541113;
    --gold: #D4AF37;
    --gold-hover: #b89528;
    --bg-light: #FBF9F5;
    --text-dark: #2A2A2A;
    --white: #FFFFFF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Typography Helpers --- */
.gold-text {
    color: var(--gold);
}

.section-title {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-burgundy);
    margin-bottom: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 10px auto 0;
}

/* --- Header / Nav --- */
.header {
    background: #D5D5D5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

/* Logo Integration 100px x 100px */
.logo-link {
    display: inline-block;
    height: 100px;
}

.logo-img {
    width: 191px;
    height: 100px;
    object-fit: contain;
    display: block;
}

.nav {
    display: flex;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary-burgundy);
}

/* --- Sélecteur de Langue --- */
.lang-switcher {
    position: relative;
    display: inline-block;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    vertical-align: middle;
}

.current-lang-code {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.current-lang-code:hover {
    color: var(--primary-burgundy);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    z-index: 10;
    width: 60px;
    padding: 0.5rem 0;
}

.lang-switcher:hover .lang-dropdown {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: var(--text-dark) !important;
    text-align: center;
    font-weight: 500;
    margin: 0 !important;
    transition: background 0.3s, color 0.3s;
}

.lang-dropdown a:hover, 
.lang-dropdown a.active {
    background: rgba(122, 27, 30, 0.05);
    color: var(--primary-burgundy) !important;
    font-weight: 700;
}

/* --- Buttons --- */
.btn-primary, .btn-gold, .btn-whatsapp {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-burgundy);
    color: var(--white) !important;
}

.btn-primary:hover {
    background: var(--dark-burgundy);
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
}

.btn-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #1ebc57;
}

.full-width {
    width: 100%;
}

/* --- Hero Section & Slider --- */
.hero {
    position: relative;
    height: 85vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.2s ease-in-out, transform 6s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-caption {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out 0.3s;
}

.slide.active .slide-caption {
    opacity: 1;
    transform: translateY(0);
}

.slide-caption h1 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(122, 27, 30, 0.75), rgba(42, 42, 42, 0.85));
    z-index: 2;
    pointer-events: none;
}

.hero-actions-container {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Navigation Flèches */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(0, 0, 0, 0.3);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.3s, border-color 0.3s;
}

.slider-arrow:hover {
    background: var(--gold);
    color: var(--primary-burgundy);
    border-color: var(--gold);
}

.prev-slide { left: 20px; }
.next-slide { right: 20px; }

/* Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.dot.active, .dot:hover {
    background: var(--gold);
    transform: scale(1.2);
}

/* --- Services Section --- */
.services {
    padding: 5rem 0;
    background-color: var(--primary-burgundy);
    color: var(--white);
}

.services .section-title {
    color: var(--gold);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.service-card p {
    font-size: 0.85rem;
    font-weight: 300;
    opacity: 0.9;
}

/* --- Gallery Section --- */
.gallery-section {
    padding: 5rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item img:hover {
    transform: scale(1.08);
}

/* --- Contact Section --- */
.contact-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.contact-info h3 {
    font-family: var(--font-heading);
    color: var(--primary-burgundy);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.info-list {
    list-style: none;
    margin-top: 2rem;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.info-list i {
    color: var(--primary-burgundy);
    font-size: 1.2rem;
    width: 35px;
    margin-top: 3px;
}

.info-block {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--gold-hover);
}

.info-value {
    color: var(--text-dark);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary-burgundy);
}

/* --- Footer & Credits --- */
.footer {
    background-color: var(--gold);
    color: var(--primary-burgundy);
    padding: 1.5rem 0 1rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-banner-text {
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.footer-credits {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.85;
    letter-spacing: 0.8px;
    border-top: 1px solid rgba(122, 27, 30, 0.2);
    padding-top: 0.4rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.footer-credits strong {
    font-weight: 700;
    letter-spacing: 1px;
}

/* --- Responsive Layout (Mobile & Tablette) --- */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .logo-link {
        height: 70px;
    }

    .logo-img {
        width: 70px;
        height: 70px;
    }
    
    .slide-caption h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-actions-container {
        width: 90%;
        bottom: 70px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .prev-slide { left: 10px; }
    .next-slide { right: 10px; }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .lang-switcher {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }

    .current-lang-code {
        justify-content: center;
    }

    .lang-dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
        display: flex;
        justify-content: center;
        background: transparent;
    }

    .lang-dropdown a {
        display: inline-block;
        width: auto;
    }
}