:root {
    --primary-color: #2c3e50;
    --accent-color: #e74c3c;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: aliceblue;
    margin: 0;
    padding: 0;
    overflow-x: hidden;

}

/* === HEADER === */
header {
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px 40px;
    display: flex;
    gap: 20px;
    z-index: 1000;
    border-bottom-left-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

header a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

header a:hover {
    color: var(--accent-color);
}

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url('https://smashmade.fastfoodservice.fr/source/assets/img/wphome.png');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.25rem;
}

/* === SECTIONS === */
.section {
    padding: 5rem 0;
}

/* === CAROUSEL MENU === */
#menu .carousel-inner {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

#menu .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

/* === CONTACT SECTION === */
.contact-info {
    background-color: var(--primary-color);
    color: white;
    padding-bottom: 3rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-end;
        padding: 15px 20px;
        gap: 10px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    #menu .carousel-item img {
        max-height: 350px;
    }

    .contact-info .row > div {
        margin-bottom: 2rem;
        text-align: center;
    }
}

.img-histoire {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto 0;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .btn {
        font-size: 1rem;
        padding: 10px 16px;
    }

    #menu .carousel-item img {
        max-height: 250px;
    }

    .section {
        padding: 2.5rem 1rem;
    }
}
