:root {
    --primary-color: #C8553D;
    /* Terracotta */
    --secondary-color: #3E2723;
    /* Dark Brown */
    --accent-color: #25D366;
    /* WhatsApp Green */
    --bg-premium: #FFF8F0;
    /* Cream/Beige */
    --text-color: #333;
    --text-muted: #666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-premium);
    background-image: url('https://www.transparenttextures.com/patterns/natural-paper.png');
    /* Subtle texture */
    color: var(--text-color);
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Header & Nav */
header {
    background: white;
    padding: 1rem 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.btn-whatsapp {
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Hero Section */
.hero {
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(rgba(255, 248, 240, 0.8), rgba(255, 248, 240, 0.8)), url('/img/restaurante.jpeg');
    background-size: cover;
    background-position: center;
}

.hero-title {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-hero {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s;
}

.btn-hero.primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-hero.secondary {
    background-color: white;
    color: var(--secondary-color);
    border: 1px solid #ddd;
}

/* Features Section */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.food-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
}

.food-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.food-card h3 {
    padding: 1rem 1rem 0.5rem;
    color: var(--secondary-color);
}

.food-card p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* History Section */
.history-section {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.history-text {
    flex: 1;
    min-width: 300px;
}

.history-image {
    flex: 1;
    min-width: 300px;
}

.history-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Info Icons */
.info-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-top: -3rem;
    position: relative;
    z-index: 10;
}

.info-item {
    text-align: center;
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: block;
}

/* Base styles for hamburger (hidden by default) */
.hamburger {
    display: none;
}

body.no-scroll {
    overflow: hidden;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hamburger {
        display: block;
        cursor: pointer;
        background: transparent;
        border: none;
        padding: 10px;
        z-index: 1001;
    }

    .hamburger .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        background-color: var(--secondary-color);
        border-radius: 2px;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--primary-color);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--primary-color);
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: white;
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 2rem;
        padding: 0;
        display: flex !important;
        /* Ensure they are visible when drawer is active */
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .logo img {
        height: 45px;
    }

    .info-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .btn-whatsapp {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    /* Keep text visible on mobile if space allows, or hide it if it's too cramped */
    /* For now, just smaller padding */
}


/* Footer Section - Global */
footer {
    background-color: var(--secondary-color);
    background-image: linear-gradient(rgba(62, 39, 37, 0.97), rgba(62, 39, 37, 0.97)), url('https://www.transparenttextures.com/patterns/dark-matter.png');
    color: #e2e8f0;
    padding: 5rem 2rem 3rem;
    margin-top: 5rem;
    border-top: 4px solid var(--primary-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
}

.footer-section h3 {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.footer-logo {
    font-size: 2rem !important;
    text-transform: uppercase;
}

.footer-section p,
.footer-section li {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-section i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: #718096;
}

.footer-bottom strong {
    color: #fff;
}