@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;700&family=Montserrat:wght@300;400;700&display=swap');

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #f0f0f0;
    --accent-color: #d4af37;
    --text-color: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    z-index: 1000;
    mix-blend-mode: difference;
}

.nav-toggle {
    display: none;
    cursor: pointer;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: 0.4s;
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style-type: none;
}

.nav-menu li {
    margin: 0 1rem;
}

.nav-menu a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

/* Header */
header {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('https://source.unsplash.com/random/1920x1080/?restaurant') no-repeat center center/cover;
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 10, 10, 0.7), rgba(10, 10, 10, 0.7)), url("/Image/Gastro.jpg") no-repeat;
}

header h1, header p {
    color: var(--secondary-color);
    position: relative;
    z-index: 1;
}

header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease forwards;
}

header p {
    font-size: 1.2rem;
    animation: fadeInUp 1s ease 0.5s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: 5rem 2rem;
}

h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}

/* Menu Section */
.menu-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-item {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-10px);
}

.menu-item h3 {
    font-family: 'Cormorant Garamond', serif;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

/* Experience Section */
.experience-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.experience-content p {
    flex: 1;
    font-size: 1.1rem;
}

.chef-image {
    flex: 1;
    height: 400px;
    background: url('/Image/Plat.webp') no-repeat center center/cover;
    border-radius: 10px;
}

/* Reservation Section */
#reservation {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

#reservation-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

#reservation-form input, #reservation-form button {
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
}

#reservation-form input {
    background-color: rgba(160, 30, 30, 0.1);
    color: var(--secondary-color);
}

#reservation-form button {
    grid-column: 1 / -1;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#reservation-form button:hover {
    background-color: #c19b2f;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 2rem;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .experience-content {
        flex-direction: column;
    }

    .chef-image {
        width: 100%;
    }

    #reservation-form {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }

    .social-links {
        margin-top: 1rem;
    }
}
