/* MenuDigital - Plantilla Rústico
   Estilo cálido artesanal con colores tierra, bordes redondeados.
   Ideal para cervecerías, parrillas y cocina de campo. Con fotos.
*/
@import url('base.css?v=5.16');

:root {
    --theme-primary: #6b4226;
    --theme-primary-hover: #583618;
    --theme-secondary: #8b7355;
    --theme-accent: #d4853a;
    --theme-bg: #f5efe6;
    --theme-surface: #fefcf8;
    --theme-text: #3e2f1c;
    --theme-text-muted: #8c7a65;

    --theme-font-heading: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
    --theme-font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;

    --theme-radius: 1.25rem;
    --theme-shadow: 0 3px 15px rgba(107, 66, 38, 0.08);
    --theme-shadow-lg: 0 8px 30px rgba(107, 66, 38, 0.14);
}

body {
    background-color: var(--theme-bg);
    color: var(--theme-text);
    font-family: var(--theme-font-body);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4b896' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* HEADER */
.menu-header {
    background: linear-gradient(160deg, #5c3a1e 0%, #3e2714 60%, #2c1a0d 100%);
    padding: 2.5rem 1.5rem;
    border-bottom: 4px solid var(--theme-accent);
    position: relative;
}

.menu-header::before {
    background: radial-gradient(circle at 30% 50%, rgba(212, 133, 58, 0.15) 0%, transparent 60%);
}

.restaurant-logo {
    width: 85px;
    height: 85px;
    background: rgba(255, 255, 255, 0.12);
    border: 3px solid var(--theme-accent);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.restaurant-name {
    color: #fff;
    font-family: var(--theme-font-heading);
    font-size: 2rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.restaurant-description {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

/* NAVIGATION */
.categories-nav {
    background: var(--theme-surface);
    border-bottom: 2px solid rgba(107, 66, 38, 0.1);
    box-shadow: 0 2px 10px rgba(107, 66, 38, 0.06);
}

.category-btn {
    background: rgba(107, 66, 38, 0.06);
    color: var(--theme-text-muted);
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.88rem;
}

.category-btn:hover,
.category-btn.active {
    background: var(--theme-primary);
    color: #fff;
}

/* CONTENT */
.menu-content {
    padding: 2rem 1.5rem;
    max-width: 780px;
}

.menu-section {
    margin-bottom: 2.5rem;
}

.section-header {
    border-bottom: 2px dashed rgba(107, 66, 38, 0.2);
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

.section-title {
    font-family: var(--theme-font-heading);
    color: var(--theme-primary);
    font-size: 1.5rem;
    font-weight: 800;
}

/* DISH CARDS */
.dish-card {
    background: var(--theme-surface);
    border: 1px solid rgba(107, 66, 38, 0.1);
    border-radius: var(--theme-radius);
    box-shadow: var(--theme-shadow);
    transition: all 0.3s ease;
}

.dish-card:hover {
    box-shadow: var(--theme-shadow-lg);
    transform: translateY(-3px);
    border-color: rgba(212, 133, 58, 0.25);
}

.dish-card.featured {
    border: 2px solid var(--theme-accent);
    background: linear-gradient(135deg, #fefcf8, #fdf6ec);
}

.dish-image {
    background-color: #efe6d8;
    border-radius: var(--theme-radius) 0 0 var(--theme-radius);
}

.dish-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--theme-text);
}

.dish-price {
    color: var(--theme-primary);
    font-weight: 800;
    font-size: 1.15rem;
}

.dish-description {
    color: var(--theme-text-muted);
    font-size: 0.88rem;
}

/* MODAL */
.dish-modal-content {
    background: var(--theme-surface);
    border-radius: var(--theme-radius);
    border: 2px solid rgba(107, 66, 38, 0.1);
}

.modal-dish-name {
    font-family: var(--theme-font-heading);
    font-weight: 800;
}

.modal-dish-price {
    color: var(--theme-primary);
}

/* SOCIAL */
.social-links a {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a:hover {
    background: rgba(212, 133, 58, 0.3);
    border-color: var(--theme-accent);
}

/* SEARCH */
.search-bar {
    background: var(--theme-surface);
}

.search-input {
    background: var(--theme-bg);
    border: 2px solid transparent;
    border-radius: 2rem;
}

.search-input:focus {
    border-color: var(--theme-primary);
    background: var(--theme-surface);
}

/* FOOTER */
.menu-footer {
    border-top: 2px dashed rgba(107, 66, 38, 0.15);
}

.menu-footer a {
    color: var(--theme-primary);
}

/* BADGES */
.badge-new {
    background: linear-gradient(135deg, #d4853a, #c46e22);
    color: #fff;
}

.badge-popular {
    background: linear-gradient(135deg, #6b4226, #8b5a30);
    color: #fff;
}

.dish-tag {
    font-size: 0.9rem;
}

.floating-controls .control-btn {
    background: var(--theme-surface);
    border: 2px solid rgba(107, 66, 38, 0.1);
    box-shadow: var(--theme-shadow);
}

@media (max-width: 600px) {
    .menu-header {
        padding: 1.75rem 1rem;
    }

    .restaurant-name {
        font-size: 1.7rem;
    }
}