/* General Body Styles */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

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

/* Header */
header {
    background-color: #A03D3D; /* A typical Portuguese red */
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

header h1 {
    font-family: 'Merriweather', serif;
    font-size: 3em;
    margin-bottom: 10px;
}

header p {
    font-size: 1.2em;
}

/* Navigation */
nav {
    background-color: #8B2C2C; /* A darker red */
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows navigation items to wrap on smaller screens */
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    padding: 5px 0;
    display: block; /* Make links block to improve touch area */
}

nav ul li a:hover {
    color: #FFD700; /* Gold for highlight */
}

/* Hero Section */
#logo {
    background: url('../img/onico.svg') no-repeat center center/contain; /* Assume you have an image */
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
#hero {
    background: url('../img/onico.jpg') no-repeat center center/cover; /* Assume you have an image */
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

#hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: #FFD700; /* Gold */
    color: #333;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e6c200;
}

/* Sections */
section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

section:last-of-type {
    border-bottom: none;
}

section h2 {
    font-family: 'Merriweather', serif;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #A03D3D;
}

/* Menu Section */
.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.menu-item {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.menu-item h3 {
    color: #8B2C2C;
    margin-bottom: 10px;
    font-size: 1.5em;
}

/* Reservation Form */
.reservation-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Ensures padding doesn't increase width */
}

.form-group textarea {
    resize: vertical; /* Allow vertical resizing of textarea */
}

.reservation-form button {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}

/* Alerts */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

footer p {
    margin: 0;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2.5em;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    #hero {
        padding: 80px 15px;
    }

    #hero p {
        font-size: 1.2em;
    }

    section {
        padding: 40px 0;
    }

    section h2 {
        font-size: 2em;
    }

    .menu-items {
        grid-template-columns: 1fr; /* Stack menu items on small screens */
    }

    .reservation-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 1em;
    }

    nav ul li {
        width: 100%; /* Full width for nav items */
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    section h2 {
        font-size: 1.8em;
    }
}