/* Variables de Diseño */
:root {
    --color-primary: #a83232; /* Rojo Intenso (Color Restaurante) */
    --color-secondary: #ffc107; /* Amarillo Oro (Acento) */
    --color-dark: #333;
    --color-light: #f4f4f4;
    --font-heading: 'Georgia', serif;
    --font-body: 'Arial', sans-serif;
}

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

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-dark);
}

a {
    text-decoration: none;
    color: var(--color-primary);
    transition: color 0.3s;
}

h1, h2 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    margin-bottom: 20px;
    text-align: center;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }

section {
    padding: 60px 0;
}

.section-padding {
    padding: 60px 5%;
    max-width: 1200px;
    margin: auto;
}

.background-grey {
    background-color: var(--color-light);
}

/* --- HEADER Y NAVEGACIÓN --- */

.main-header {
    background-color: var(--color-dark);
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 15px 5%;
}

.logo {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--color-secondary);
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li a {
    color: white;
    padding: 10px 15px;
    display: block;
    font-weight: 500;
}

.nav-list li a:hover {
    color: var(--color-secondary);
}

.cta-teléfono {
    background-color: var(--color-primary);
    border-radius: 5px;
    padding: 8px 12px !important;
    margin-left: 10px;
    font-weight: bold !important;
}

.cta-teléfono:hover {
    background-color: #8c2525;
}

/* Menú Toggle (Hamburguesa - SOLO MÓVIL) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* --- SECCIÓN HERO --- */

.hero-section {
    /* Simulación de imagen de fondo sugerente */
    background: url('images/restaurante-la-raspa.jpg') no-repeat center center/cover;
    height: 60vh; /* Altura generosa */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.hero-content {
    background-color: rgba(0, 0, 0, 0.4); /* Capa oscura para legibilidad */
    padding: 30px;
    border-radius: 10px;
    max-width: 80%;
}

.hero-content p {
    font-size: 1.2em;
    margin-bottom: 25px;
}

.seo-title {
    color: white; /* Sobrescribir el color oscuro por defecto */
}

/* Botones CTA */
.cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.cta-button.primary {
    background-color: var(--color-primary);
    color: white;
    border: 2px solid var(--color-primary);
}

.cta-button.primary:hover {
    background-color: #8c2525;
    border-color: #8c2525;
}


/* --- SECCIÓN MENÚ --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.menu-item {
    text-align: center;
    border: 1px solid var(--color-light);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.menu-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
    margin-bottom: 10px;
}

.menu-item figcaption {
    font-weight: bold;
    font-size: 1.1em;
    color: var(--color-primary);
    margin-bottom: 5px;
}

/* --- SECCIÓN UBICACIÓN Y MAPA --- */
.contact-info {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.map-container {
    width: 100%;
    height: 450px; /* Altura definida para el mapa */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    /* Asegura que el iframe ocupe todo el contenedor */
    display: block; 
}


/* --- FOOTER --- */
footer {
    background-color: var(--color-dark);
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}


/* --- MEDIA QUERIES (RESPONSIVO) --- */

@media (max-width: 768px) {
    /* Muestra la hamburguesa y oculta el menú por defecto */
    .menu-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px; /* Ajustar según la altura del header */
        left: 0;
        background-color: var(--color-dark);
        text-align: center;
        padding: 10px 0;
    }

    /* Clase activada por JS para mostrar el menú */
    .nav-list.active {
        display: flex;
    }

    .nav-list li a {
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .cta-teléfono {
        margin: 10px auto;
        width: 80%;
    }

    /* Animación de la hamburguesa (opcional) */
    .menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle.active span:nth-child(2) { opacity: 0; }
    .menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    h1 { font-size: 2em; }
    h2 { font-size: 1.7em; }
}
