/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFFFFF; /* White */
}

/* Header and Navigation */
header {
    background-color: #8B4513; /* Brown */
    color: #fff;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    filter: sepia(1) hue-rotate(45deg) saturate(4) brightness(1.2);
    margin-right: 10px;
    background-color: transparent;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #FFD700; /* Yellow */
}

/* Hero Section */
.hero {
    background-image: url('https://via.placeholder.com/1200x600?text=Restaurant+Gourmet');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 10px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background-color: #8B4513; /* Brown */
    color: #fff;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #FFD700; /* Yellow */
}

/* Sections */
section {
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #8B4513; /* Brown */
}

/* Menu Section */
.menu-categories {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.category {
    flex: 1;
    min-width: 300px;
    margin: 1rem;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.category h3 {
    color: #FFD700; /* Yellow */
    margin-bottom: 1rem;
    text-align: center;
}

.dish {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.dish:last-child {
    border-bottom: none;
}

.dish img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dish h4 {
    margin-bottom: 0.5rem;
    color: #8B4513; /* Brown */
}

.dish p {
    margin-bottom: 0.5rem;
    color: #666;
}

.price {
    font-weight: bold;
    color: #FFD700; /* Yellow */
    font-size: 1.2rem;
}

/* About Section */
#apropos {
    background-color: #ecf0f1;
}

/* Contact Section */
form {
    max-width: 600px;
    margin: 0 auto;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button[type="submit"] {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button[type="submit"]:hover {
    background-color: #2980b9;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

/* Reservation Section */
.reservation-section {
    text-align: center;
    margin-top: 2rem;
}

.reservation-section h3 {
    margin-bottom: 1rem;
    color: #8B4513; /* Brown */
}

/* Modal */
#reservation-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 10px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

#reservation-form input,
#reservation-form select {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#reservation-form button {
    background-color: #8B4513; /* Brown */
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#reservation-form button:hover {
    background-color: #FFD700; /* Yellow */
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .logo img {
        height: 40px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .menu-categories {
        flex-direction: column;
    }

    .hero {
        height: 70vh;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .category {
        margin: 1rem 0;
    }

    .modal-content {
        width: 90%;
        margin: 20% auto;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.5rem 0;
    }

    nav {
        padding: 0 10px;
    }

    .logo img {
        height: 35px;
    }

    .logo h1 {
        font-size: 1rem;
    }

    nav ul li {
        margin: 0.3rem 0;
    }

    .hero {
        height: 60vh;
        padding: 1rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    section {
        padding: 2rem 0;
    }

    .container {
        padding: 0 10px;
    }

    h2 {
        font-size: 2rem;
    }

    .category {
        padding: 1rem;
    }

    .dish img {
        width: 80px;
        height: 60px;
    }

    .dish h4 {
        font-size: 1rem;
    }

    .dish p {
        font-size: 0.8rem;
    }

    .price {
        font-size: 1rem;
    }

    form input, form textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    button[type="submit"] {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    footer {
        padding: 0.5rem 0;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 15px;
    }

    #reservation-form input, #reservation-form select, #reservation-form textarea {
        padding: 0.6rem;
        font-size: 0.9rem;
    }

    #reservation-form button {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}
