:root {
    --color-bg: #F9F7F1; /* Light warm beige */
    --color-bg-alt: #F3EFE6; /* Slightly darker beige for alternating sections */
    --color-text: #5C4A3D; /* Deep brown */
    --color-text-light: #7A6556;
    --color-accent: #25D366; /* WhatsApp Green */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --spacing-section: 6rem;
    --border-radius: 8px;
    --transition: all 0.4s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

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

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--color-text);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--spacing-section) 0;
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float svg {
    width: 40px;
    height: 40px;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(249, 247, 241, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    padding: 0.5rem 0; /* Padding will be handled by container */
    box-shadow: 0 4px 20px rgba(92, 74, 61, 0.05);
    border-bottom: 1px solid rgba(92, 74, 61, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px; /* Slightly wider for the 'offset' look */
    margin: 0 auto;
    padding: 0 4rem; /* Larger padding for the 'decalé' effect */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav-item {
    text-decoration: none;
    color: var(--color-text);
    font-size: 1.05rem;
    font-weight: 500;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-item:hover {
    color: var(--color-text-light);
}

.nav-logo {
    display: flex;
    align-items: center;
    padding-left: 1rem; /* Extra nudge to the left if needed */
}

.nav-logo img {
    height: 85px; /* Slightly smaller for a more elegant desktop look */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.hamburger.active span:first-child {
    transform: rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Home Slider */
.home-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 500px;
    background-color: var(--color-text); /* Fallback */
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
}

/* Semi-transparent dark overlay for better logo visibility if needed */
.slider-overlay::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(249, 247, 241, 0.4);
    z-index: -1;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.slider-logo {
    width: 80%;
    max-width: 600px;
    filter: drop-shadow(0 4px 10px rgba(92, 74, 61, 0.2));
}

/* Section Headings */
.section h1, .section h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Hero Section */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-image {
    perspective: 1000px; /* For potential 3D effects later */
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(92, 74, 61, 0.15);
}

.hero-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide {
    min-width: 100%;
    position: relative;
}

.hero-slide img {
    width: 100%;
    height: 450px; /* Slightly taller for more presence */
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.hero-slider:hover .hero-slide img {
    transform: scale(1.05); /* Subtle zoom when hovering the slider */
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
    transition: var(--transition);
    color: var(--color-text);
    opacity: 0; /* Hidden by default */
}

.hero-slider:hover .slider-btn {
    opacity: 1; /* Show on hover */
}

.slider-btn:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: white;
    width: 25px; /* Pill shape for active dot */
    border-radius: 10px;
}

/* Mobile adjustments for slider */
@media (max-width: 768px) {
    .hero-slide img {
        height: 300px;
    }
    .slider-btn {
        opacity: 1; /* Always show on mobile */
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

.hero-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.hero-text .highlight-text {
    font-size: 1.3rem;
    font-weight: 500;
    margin-top: 2rem;
    border-left: 3px solid var(--color-text);
    padding-left: 1rem;
}

/* Excellence Section */
.excellence-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.excellence-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(92, 74, 61, 0.05);
    transition: var(--transition);
}

.excellence-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(92, 74, 61, 0.1);
}

.card-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card-content {
    padding: 2rem;
}

.card-content p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--color-text-light);
}

.card-content p:last-child {
    margin-bottom: 0;
}

/* Pourquoi Nous Choisir */
.why-us-content {
    max-width: 900px;
    margin: 0 auto 4rem;
}

.why-us-list {
    list-style: none;
    counter-reset: custom-counter;
}

.why-us-list li {
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2rem;
}

.why-us-list li::before {
    counter-increment: custom-counter;
    content: counter(custom-counter) ".";
    position: absolute;
    left: 0;
    font-weight: 500;
}

.why-us-list strong {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.why-us-conclusion {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--color-bg-alt);
    border-radius: var(--border-radius);
    text-align: center;
}

.why-us-banner {
    background-size: cover;
    background-position: center;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    color: white;
}

.banner-overlay {
    background: rgba(92, 74, 61, 0.7);
    padding: 5rem 3rem;
    text-align: center;
    backdrop-filter: blur(2px);
}

.banner-overlay p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.banner-overlay .banner-highlight {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-top: 2rem;
}

/* Contact Form Section */
.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header p {
    font-size: 1.1rem;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(92, 74, 61, 0.05);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: var(--font-body);
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group textarea {
    background: transparent;
    border: none;
    border-bottom: 1px dashed var(--color-text-light);
    padding: 5px;
    font-family: inherit;
    color: var(--color-text);
    outline: none;
    transition: var(--transition);
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="number"]:focus,
.form-group textarea:focus {
    border-bottom-color: var(--color-text);
}

.inline-input {
    width: 200px;
}

.full-width {
    width: 100%;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn {
    background-color: var(--color-text);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
    font-family: var(--font-heading);
}

.submit-btn:hover {
    background-color: var(--color-bg);
    color: var(--color-text);
    border: 1px solid var(--color-text);
}

.form-message {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background-color: #d4edda;
    color: #155724;
    border-radius: 4px;
    text-align: center;
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid rgba(92, 74, 61, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.whatsapp-text {
    background-color: var(--color-accent);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

.animate-fade-in {
    animation: fadeIn 1.5s ease-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
        height: 80px;
    }
    
    .nav-container {
        justify-content: space-between;
        padding: 0 1.5rem;
    }

    .desktop-only {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-bg);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 5rem;
        gap: 2.5rem;
        transition: 0.4s ease-in-out;
        z-index: 1000;
    }

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

    .nav-logo img {
        height: 70px;
    }

    .nav-item {
        font-size: 1.5rem;
    }

    .section h1, .section h2 {
        font-size: 2rem;
    }
    
    .hero-content, .excellence-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
