/* ========================================
   ESTILOS - MENÚ DIGITAL CABO FRÍO
   Diseño: Sunset Lounge Premium
   ======================================== */

/* Variables CSS */
:root {
    --primary-orange: #d4856a;
    --coral: #e5a398;
    --cream: #fdf8f3;
    --white: #fefefe;
    --white-glass: rgba(253, 248, 243, 0.75);
    --white-glass-hover: rgba(255, 255, 255, 0.92);
    --shadow-soft: 0 4px 15px rgba(0, 0, 0, 0.08);
    --shadow-elevated: 0 8px 30px rgba(0, 0, 0, 0.12);
    --text-dark: #3d3d3d;
    --text-light: #666666;
    --border-radius: 50px;
    --transition: all 0.3s ease;
}

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    background: linear-gradient(
        180deg,
        #9a82a0 0%,
        #c49098 25%,
        #e5a398 50%,
        #f0b8a8 75%,
        #fbd3b6 100%
    );
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.6;
}

/* Contenedor principal */
.menu-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

/* Header */
.menu-header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-soft);
}

.title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--white);
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Navegación de categorías */
.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white-glass);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
    background: var(--white-glass-hover);
}

.category-btn.active {
    background: var(--white);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

/* Contenido del menú */
.menu-content {
    margin-bottom: 30px;
}

.category-section {
    display: none;
    animation: fadeIn 0.4s ease;
}

.category-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    letter-spacing: 1px;
}

/* Grid de elementos del menú */
.menu-grid {
    display: grid;
    gap: 14px;
}

/* Items del menú */
.menu-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--white-glass);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    cursor: pointer;
}

.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
    background: var(--white-glass-hover);
}

.menu-item.promo {
    border: 2px solid var(--primary-orange);
    background: linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(252,240,232,0.85) 100%);
}

.promo-badge {
    position: absolute;
    top: -8px;
    right: 10px;
    background: var(--primary-orange);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.item-image {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff8f3 0%, #fcefe5 100%);
    border-radius: 12px;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.item-info {
    flex: 1;
    min-width: 0;
}

.item-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.item-info .description {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 3px;
}

.item-info .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-orange);
}

/* Sub-categoría Sandwich */
.sub-category {
    margin-top: 22px;
}

.sub-category-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    background: var(--white-glass);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.sub-category-btn:hover {
    background: var(--white-glass-hover);
    box-shadow: var(--shadow-soft);
}

.sub-category-btn .arrow {
    font-size: 0.75rem;
    transition: var(--transition);
}

.sub-category-btn.active .arrow {
    transform: rotate(180deg);
}

.sub-category-content {
    display: none;
    margin-top: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    backdrop-filter: blur(6px);
}

.sub-category-content.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.menu-footer {
    text-align: center;
    padding: 22px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
}

.menu-footer p {
    margin-bottom: 4px;
    font-weight: 300;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (min-width: 768px) {
    .menu-container { max-width: 580px; padding: 35px 20px; }
    .logo { width: 140px; height: 140px; }
    .title { font-size: 2.2rem; }
    .category-btn { padding: 14px 28px; font-size: 0.9rem; }
    .menu-item { padding: 16px; }
    .item-image { width: 65px; height: 65px; font-size: 1.8rem; }
}

@media (min-width: 1200px) {
    .menu-container { max-width: 650px; padding: 45px 20px; }
}

/* ========================================
   PALMERAS DECORATIVAS - Diseño Premium 
   ======================================== */
.palm-tree {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* ========================================
   PALMERAS DECORATIVAS - Efecto Natural Premium
   ======================================== 
.palm-tree {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

/* Palma izquierda - Efecto sombra natural 
.palm-tree-left {
    position: absolute;
    top: -50px;
    left: -60px;
    width: 50vw;
    max-width: 450px;
    height: 450px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cdefs%3E%3ClinearGradient id='palmL' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%232D1A0A' stop-opacity='0.3'/%3E%3Cstop offset='40%25' stop-color='%232D1A0A' stop-opacity='0.18'/%3E%3Cstop offset='100%25' stop-color='%232D1A0A' stop-opacity='0.02'/%3E%3C/linearGradient%3E%3Cfilter id='blur'%3E%3CfeGaussianBlur in='SourceGraphic' stdDeviation='1.5'/%3E%3C/filter%3E%3C/defs%3E%3Cg fill='url(%23palmL)' filter='url(%23blur)'%3E%3C!-- Tronco --%3E%3Cpath d='M130 400 Q120 300 110 200 Q105 130 120 80 L125 80 Q110 130 115 200 Q125 300 135 400 Z'/%3E%3C!-- Hojas principales arqueadas --%3E%3Cpath d='M120 200 Q80 140 50 90 Q10 30 70 15 Q120 25 160 70 Q200 120 220 200 Q190 240 150 260 Q100 220 120 200'/%3E%3Cpath d='M118 170 Q70 100 30 40 Q-20 10 40 0 Q100 15 145 70 Q185 130 205 210 Q170 240 135 210 Q85 170 118 170'/%3E%3Cpath d='M115 140 Q55 65 10 10 Q-45 -15 15 -10 Q80 10 125 70 Q165 130 185 220 Q150 250 115 215 Q60 170 115 140'/%3E%3Cpath d='M110 110 Q40 35 -10 -10 Q-55 -25 -15 -15 Q55 10 100 70 Q140 130 160 230 Q125 255 95 215 Q45 165 110 110'/%3E%3Cpath d='M115 230 Q65 180 25 120 Q-15 60 40 35 Q95 45 135 100 Q175 160 195 260 Q160 290 120 250 Q65 200 115 230'/%3E%3Cpath d='M118 200 Q55 140 10 80 Q-35 20 25 5 Q85 20 125 80 Q165 145 180 240 Q145 270 110 230 Q55 185 118 200'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top left;
    opacity: 0.2;
    transform: rotate(-6deg);
    filter: blur(2px);
}
    
/* Palma derecha - Espejada 
.palm-tree-right {
    position: absolute;
    top: -50px;
    right: -60px;
    width: 50vw;
    max-width: 450px;
    height: 450px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400'%3E%3Cdefs%3E%3ClinearGradient id='palmR' x1='100%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%232D1A0A' stop-opacity='0.3'/%3E%3Cstop offset='40%25' stop-color='%232D1A0A' stop-opacity='0.18'/%3E%3Cstop offset='100%25' stop-color='%232D1A0A' stop-opacity='0.02'/%3E%3C/linearGradient%3E%3Cfilter id='blur2'%3E%3CfeGaussianBlur in='SourceGraphic' stdDeviation='1.5'/%3E%3C/filter%3E%3C/defs%3E%3Cg fill='url(%23palmR)' filter='url(%23blur2)'%3E%3C!-- Tronco --%3E%3Cpath d='M130 400 Q120 300 110 200 Q105 130 120 80 L125 80 Q110 130 115 200 Q125 300 135 400 Z'/%3E%3C!-- Hojas principales arqueadas --%3E%3Cpath d='M120 200 Q80 140 50 90 Q10 30 70 15 Q120 25 160 70 Q200 120 220 200 Q190 240 150 260 Q100 220 120 200'/%3E%3Cpath d='M118 170 Q70 100 30 40 Q-20 10 40 0 Q100 15 145 70 Q185 130 205 210 Q170 240 135 210 Q85 170 118 170'/%3E%3Cpath d='M115 140 Q55 65 10 10 Q-45 -15 15 -10 Q80 10 125 70 Q165 130 185 220 Q150 250 115 215 Q60 170 115 140'/%3E%3Cpath d='M110 110 Q40 35 -10 -10 Q-55 -25 -15 -15 Q55 10 100 70 Q140 130 160 230 Q125 255 95 215 Q45 165 110 110'/%3E%3Cpath d='M115 230 Q65 180 25 120 Q-15 60 40 35 Q95 45 135 100 Q175 160 195 260 Q160 290 120 250 Q65 200 115 230'/%3E%3Cpath d='M118 200 Q55 140 10 80 Q-35 20 25 5 Q85 20 125 80 Q165 145 180 240 Q145 270 110 230 Q55 185 118 200'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top right;
    opacity: 0.2;
    transform: scaleX(-1) rotate(-15deg);
    filter: blur(2px);
}

/* Estilo para imágenes de platos */
.item-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .item-img {
        width: 70px;
        height: 70px;
    }
}
