* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 60px;
    background-color: #0a0a0a;
    border-bottom: 2px solid #ff1a1a;
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
    height: 40px; 
}

.logo img {
    height: 100%; 
    width: auto; 
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #ff1a1a;
}

.hero {
    background: url("images/backgroundtaco.jpg") center/cover no-repeat;
    text-align: center;
    padding: 160px 20px;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: auto;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    color: #fff;
}

.hero p {
    color: #ccc;
    margin: 15px 0 30px;
}

.cta-btn {
    background-color: #ff1a1a;
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.cta-btn:hover {
    background-color: #ff1a1a;
    opacity: 0.85;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #ff1a1a;
    display: inline-block;
    width: 100%;
    padding-bottom: 10px;
}

.menu-section {
    padding: 80px 20px;
    background-color: #0a0a0a;
}

.menu-grid {
    display: grid;
    grid: auto-flow dense / repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.menu-card {
    background-color: #111;
    border: 1.5px solid #ff1a1a;
    border-radius: 10px;
    padding: 15px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
    border-color: #ff1a1a;
}

.image-container {
    height: 180px;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 10px;
}

.menu-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    margin-bottom: 0;
}

.menu-card h3 {
    font-family: 'Playfair Display', serif;
    color: #fff;
}

.menu-card p {
    color: #ccc;
    font-size: 0.95em;
    margin: 10px 0;
}

.price {
    background-color: #ff1a1a;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 600;
}

.category-divider {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    color: #ff1a1a;
    text-align: center;
    width: 100%;
    margin: 60px 0 20px;
    border-bottom: 2px solid rgba(255, 26, 26, 0.4);
    padding-bottom: 10px;
}

.gallery-section {
    background-color: #000;
    padding: 80px 20px;
}

.gallery-grid {
    display: grid;
    grid: auto-flow dense / repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.4s ease;
    cursor: pointer;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

.about-section {
    padding: 80px 20px;
    background-color: #0a0a0a;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-grid img {
    width: 90%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.about-text p {
    color: #ddd;
    font-size: 1.1em;
}

.contact-section {
    padding: 80px 20px;
    background-color: #111;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info p {
    color: #ccc;
    margin-bottom: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ff1a1a;
    background-color: #000;
    color: #fff;
    border-radius: 5px;
}

.contact-form button {
    background-color: #ff1a1a;
    color: #fff;
    padding: 12px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background-color: #ff1a1a;
    opacity: 0.85;
}

.footer {
    background-color: #000;
    padding: 40px 20px 10px;
    border-top: 2px solid #ff1a1a;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6em;
}

.footer-menu {
    display: flex;
    gap: 25px;
    list-style: none;
}

.footer-menu a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #ff1a1a;
}

.social-links img {
    width: 20px;
    height: 20px;
    margin: 0 5px;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.2);
}

.copy {
    color: #ff1a1a;
    font-size: 0.85em;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
    }

    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.2em;
    }

    .about-grid img {
        width: 80%;
        max-width: 200px;
    }
}