/* =============================================
   RESTAURANTE - CASA CAMPESTRE LOS NEVADOS
   ============================================= */

:root {
    --color-primary: #8B4513;
    --color-secondary: #A0522D;
    --color-accent: #CD853F;
    --color-dark: #5C3317;
    --color-light: #FFF8F0;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-verde: #228B22;
}

/* ---- BODY ---- */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333333;
    min-height: 100vh;
}

/* ---- HERO ---- */ 
.restaurante-hero {
    height: 60vh;
    min-height: 400px;
    background: var(--color-dark);
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 76px;
    overflow: hidden;
}

.restaurante-hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
}

.restaurante-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(92,51,23,0.55) 0%, rgba(139,69,19,0.85) 100%);
    z-index: 1;
}

.restaurante-hero .container {
    position: relative;
    z-index: 2;
}

.restaurante-hero h1 {
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
    animation: fadeInDown 1s ease;
}

.restaurante-hero p {
    animation: fadeInUp 1s ease 0.3s both;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.restaurante-hero .btn {
    animation: fadeInUp 1s ease 0.5s both;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- SECTION TITLES ---- */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #8B4513;
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #CD853F;
    border-radius: 2px;
}

.section-subtitle {
    color: #6c757d;
    font-size: 1.05rem;
}

/* ---- SECTION TABS ---- */
.secciones-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.seccion-card-link {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    width: 100%;
    text-decoration: none;
    color: inherit;
    text-align: left;
}

.seccion-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(92, 51, 23, 0.08);
    border: 1px solid rgba(205, 133, 63, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.seccion-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(92, 51, 23, 0.14);
}

.seccion-card-activa {
    border-color: rgba(139, 69, 19, 0.55);
    box-shadow: 0 16px 30px rgba(139, 69, 19, 0.18);
}

.seccion-card-activa .seccion-card-body h3 {
    color: var(--color-primary);
}

.seccion-thumb {
    width: 100%;
    height: 110px;
    object-fit: cover;
    display: block;
}

.seccion-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5e6d3 0%, #e8d5bc 100%);
    color: var(--color-accent);
    font-size: 2rem;
}

.seccion-card-body {
    padding: 0.9rem 1rem 1rem;
}

.seccion-card-body h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-dark);
}

/* ---- FULL MENU ---- */
.menu-seccion-bloque {
    background: #ffffff;
    border-radius: 22px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 28px rgba(92, 51, 23, 0.08);
    border: 1px solid rgba(205, 133, 63, 0.16);
    scroll-margin-top: 100px;
}

.menu-seccion-header {
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(205, 133, 63, 0.2);
}

.menu-seccion-titulo {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.articulos-lista {
    display: grid;
    gap: 0.85rem;
}

.articulo-item {
     
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    padding: 0.95rem 1.1rem;
    border-radius: 18px;
    background:rgb(167, 95, 0);
    border: 1px solid rgba(205, 133, 63, 0.18);
    box-shadow: 0 8px 18px rgba(250, 131, 51, 0.06);  
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.articulo-item:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 69, 19, 0.28);
    box-shadow: 0 14px 28px rgba(92, 51, 23, 0.12); 
}

.articulo-icono {
    width: 44px;
    height: 44px; 
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px; 
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
    color: rgb(216, 115, 0);
    font-size: 1.15rem; 
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 1);
}

.articulo-info {
    min-width: 0;
    position: relative;
}

.articulo-nombre {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    letter-spacing: 0.01em;
} 

.articulo-precio {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
}

.articulo-valor {
    text-align: right;
    padding-left: 1rem;
    border-left: 1px dashed rgba(139, 69, 19, 0.22);
}

.articulo-precio-tachado {
    display: block;
    text-decoration: line-through;
    color: #999999;
    font-size: 0.85rem;
    font-weight: 400;
}

/* ---- SPINNER & STATES ---- */
.spinner-border.text-primary {
    color: var(--color-primary) !important;
}

/* ---- FOOTER ---- */
.restaurante-footer {
    background: var(--color-dark);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 576px) {
    .restaurante-hero {
        height: 55vh;
        min-height: 320px;
    }

    .restaurante-hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .secciones-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .articulo-item {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 0.75rem;
        padding: 0.9rem;
    }

    .articulo-valor {
        grid-column: 2;
        text-align: left;
        padding-left: 0;
        margin-top: -0.1rem;
        border-left: 0;
    }
}

@media (max-width: 992px) {
    .secciones-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .secciones-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
