/* Variables de couleurs inspirées du logo */
:root {
    --primary-green: #2d5016;
    --secondary-green: #4a7c28;
    --light-green: #8fb87a;
    --beige: #f5f2e8;
    --cream: #faf8f3;
    --dark-text: #2c2c2c;
    --light-text: #666666;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--cream);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-green);
    margin: 20px auto;
}

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

/* Header et Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-brand {
    display: none;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary-green);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.1rem;
}

.nav-menu a:hover {
    color: var(--secondary-green);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-green);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(45, 80, 22, 0.8), rgba(45, 80, 22, 0.8)), url('images/hero-bg.jpg') center/cover;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
}

/* Logo dans le hero */
.logo-circle {
    width: 300px;
    height: 300px;
    background-color: #f9f0df;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.logo-circle img {
    width: 210px;
    height: auto;
    object-fit: contain;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--cream);
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--secondary-green);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background-color: var(--light-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Section Présentation */
.presentation {
    padding: 80px 0;
    background-color: var(--cream);
}

.presentation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

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

.features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
    transition: transform 0.3s ease;
}

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

.feature h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--light-text);
}

/* Section Menu */
.menu-section {
    padding: 80px 0;
    background-color: var(--beige);
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.menu-btn {
    background-color: var(--white);
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.menu-btn:hover,
.menu-btn.active {
    background-color: var(--primary-green);
    color: var(--white);
}

.menu-content {
    max-width: 800px;
    margin: 0 auto;
}

.menu-category {
    display: none;
}

.menu-category.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-item {
    background-color: var(--white);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateX(5px);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.item-header h3 {
    color: var(--primary-green);
    font-size: 1.4rem;
}

.price {
    color: var(--secondary-green);
    font-weight: 700;
    font-size: 1.2rem;
}

.menu-item p {
    color: var(--light-text);
    font-style: italic;
}

/* Section Horaires */
.hours-section {
    padding: 80px 0;
    background-color: var(--cream);
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.hours-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
    transition: all 0.3s ease;
}

.hours-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--shadow);
}

.hours-card h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.hours-card p {
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.time {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary-green) !important;
}

.hours-card.special {
    background-color: var(--beige);
}

.reservation-info {
    text-align: center;
    font-size: 1.3rem;
    color: var(--primary-green);
    font-weight: 600;
}

.reservation-info a {
    color: var(--primary-green);
    text-decoration: none;
    border-bottom: 2px solid var(--secondary-green);
    transition: all 0.3s ease;
}

.reservation-info a:hover {
    color: var(--secondary-green);
    border-bottom-color: var(--light-green);
}

/* Footer */
footer {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--cream);
    margin-bottom: 1rem;
}

.footer-section p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-section a {
    color: var(--cream);
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--cream);
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid var(--cream);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--cream);
    color: var(--primary-green);
}

.newsletter-form {
    display: flex;
    margin-top: 1rem;
    gap: 0.5rem;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-form button {
    background-color: var(--secondary-green);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background-color: var(--light-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        justify-content: space-between;
        padding: 0 20px;
    }

    .nav-brand {
        display: block;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        margin-top: 60px;
        height: 60vh;
        min-height: 450px;
    }

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

    .logo-circle {
        width: 120px;
        height: 120px;
        margin-bottom: 1.5rem;
    }

    .logo-circle img {
        width: 80px;
    }

    .presentation-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .menu-categories {
        flex-direction: column;
        align-items: center;
    }

    .menu-btn {
        width: 200px;
    }

    .hours-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* Menu mobile */
.nav-menu.active {
    display: flex;
    position: fixed;
    left: 0;
    top: 70px;
    flex-direction: column;
    background-color: var(--white);
    width: 100%;
    text-align: center;
    padding: 2rem 0;
    box-shadow: 0 5px 10px var(--shadow);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}