:root {
    --primary-color: #d32f2f;
    --accent-color: #ffc107;
    --text-color: #333;
    --light-text: #666;
    --background-color: #f9f9f9;
    --card-bg: #fff;
    --border-color: #eee;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Header */
header {
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1579751626657-72bc17010498?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 5rem 0;
    text-align: center;
}

header h1 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

header .address,
header .phone {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

header .welcome-text {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

header .phone a {
    font-weight: bold;
}

/* Navigation */
nav {
    background-color: #333;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav li {
    margin: 0;
}

nav a {
    display: block;
    padding: 1rem 1.5rem;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: var(--primary-color);
    color: var(--accent-color);
}

/* Menu Sections */
.menu-section {
    padding: 3rem 0;
    border-bottom: 1px solid #ddd;
}

.menu-section:last-child {
    border-bottom: none;
}

.menu-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    border-bottom: 3px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 0.5rem;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.menu-item {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border-color);
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 0.5rem;
}

.item-header h3 {
    font-size: 1.2rem;
    margin: 0;
    color: #333;
}

.price {
    font-weight: bold;
    color: var(--primary-color);
    white-space: nowrap;
    margin-left: 1rem;
}

.description {
    color: var(--light-text);
    font-size: 0.95rem;
    font-style: italic;
}

/* Category Images */
.category-image-container {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 0;
    margin: 0 auto 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    max-width: 400px;
    height: 250px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.category-image-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-section {
    margin-bottom: 1.5rem;
    text-align: center;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 0.3rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-section a {
    color: white;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    border-top: 1px solid #444;
    padding-top: 1rem;
    color: #888;
    font-size: 0.8rem;
}

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

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav a {
        width: 100%;
        text-align: center;
        padding: 0.8rem;
    }

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

    .category-image {
        height: 200px;
    }
}