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

body {
    font-family: 'Montserrat', sans-serif;
    color: #2c1810;
    background-color: #f8f5f0;
    line-height: 1.6;
    padding: 0;
    margin: 0;
    font-size: 15px;
}

.container {
    width: 100%;
    padding: 12px;
    margin: 0 auto;
    overflow-x: hidden;
    max-width: 100%;
}

.header {
    text-align: center;
    padding: 16px;
    background-color: #5d4037;
    color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    width: 100%;
}

h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 36px;
    margin: 0;
    font-weight: normal;
    line-height: 1.2;
}

.subtitle {
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 10px;
    margin-top: 6px;
    color: rgba(248, 245, 240, 0.95);
    font-weight: 400;
}

.menu-nav {
    width: 100%;
    display: flex;
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 16px;
    background: #fff;
    padding: 8px 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu-nav-item {
    flex: 0 0 auto;
    padding: 8px 12px;
    white-space: nowrap;
    color: #5d4037;
    font-weight: 500;
    font-size: 0.95em;
    cursor: pointer;
    transition: all 0.3s;
}

.menu-nav-item:hover {
    color: #c5a880;
}

.menu-nav-item.active {
    color: #c5a880;
}

.menu-sections-wrapper {
    width: 100%;
}

.menu-section {
    width: 100%;
    margin-bottom: 24px;
    padding: 12px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.menu-section h2 {
    color: #5d4037;
    font-size: 16px;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-bottom: 12px;
    border-bottom: 2px solid #c5a880;
    font-weight: 600;
}

.menu-item {
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(197, 168, 128, 0.3);
}

.item-name {
    font-weight: 500;
    font-size: 0.95em;
    color: #2c1810;
    letter-spacing: 0.3px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.item-price {
    font-weight: 500;
    color: #5d4037;
    text-align: right;
}

.item-details {
    font-size: 0.85em;
    color: #666;
    margin-top: 4px;
    font-style: italic;
    line-height: 1.5;
    letter-spacing: 0.2px;
    font-weight: 300;
}

.note {
    font-style: italic;
    font-size: 0.85em;
    color: #666;
    letter-spacing: 0.2px;
    line-height: 1.5;
    font-weight: 300;
    text-align: center;
}

.footer {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    color: #666;
    font-size: 0.85em;
    letter-spacing: 0.2px;
    line-height: 1.6;
    border-top: 1px solid #c5a880;
}

/* Selector de idioma */
.language-selector {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 200;
}

.language-dropdown-button {
    background-color: #c5a880;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.language-dropdown-button:hover {
    background-color: #b89a70;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    overflow: hidden;
    width: 180px;
    display: none;
    margin-top: 5px;
    border: 1px solid rgba(0,0,0,0.08);
    animation: dropdownFade 0.2s ease;
    z-index: 201;
}

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

.language-dropdown.show {
    display: block;
}

.language-option {
    padding: 12px 18px;
    color: #444;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.25s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.language-option:before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: #c5a880;
    transition: transform 0.25s ease;
    transform: translateX(-100%);
}

.language-option:hover {
    background-color: #f8f5f2;
    color: #5d4037;
    padding-left: 22px;
}

.language-option:hover:before {
    transform: translateX(10px);
}

.language-option img {
    margin-right: 12px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.current-language {
    background-color: rgba(197, 168, 128, 0.1);
    font-weight: 500;
    color: #5d4037;
}

.current-language:before {
    transform: translateX(10px);
}

.language-option:last-child {
    border-bottom: none;
}

/* Estilos para tablet y desktop */
@media screen and (min-width: 768px) {
    body {
        font-size: 16px;
    }

    .container {
        max-width: 760px;
        padding: 20px;
    }
    
    .header {
        padding: 20px 0;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 60px;
    }
    
    .subtitle {
        font-size: 13px;
        letter-spacing: 3px;
        margin-top: 8px;
    }

    .menu-nav {
        padding: 10px;
        margin-bottom: 20px;
        justify-content: center;
    }

    .menu-nav-item {
        padding: 8px 16px;
        font-size: 1em;
    }
    
    .menu-sections-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .menu-section {
        flex: 1 0 calc(50% - 20px);
        padding: 15px;
        margin-bottom: 30px;
    }

    .menu-section h2 {
        font-size: 18px;
        letter-spacing: 2.5px;
    }

    .menu-item {
        margin-bottom: 20px;
        padding-bottom: 12px;
    }

    .item-name {
        font-size: 1em;
        letter-spacing: 0.3px;
    }

    .item-details {
        font-size: 0.9em;
        line-height: 1.6;
    }

    .note {
        font-size: 0.9em;
        line-height: 1.6;
    }

    .language-selector {
        top: 15px;
        right: 15px;
    }
}

@media screen and (min-width: 1024px) {
    .container {
        max-width: 960px;
    }
}

/* Ajustes adicionales para móvil */
@media screen and (max-width: 767px) {
    body {
        overflow-x: hidden;
    }

    .menu-nav-item {
        padding: 8px 10px;
        font-size: 0.9em;
    }

    .language-dropdown {
        right: 0;
        width: 160px;
    }

    .language-dropdown-button {
        padding: 8px 14px;
    }

    h1 {
        font-size: 36px;
    }

    .subtitle {
        font-size: 10px;
    }
}

.footer-contact {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-contact p {
    margin: 5px 0;
}

.footer-contact a {
    color: #5d4037;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
}

.footer-contact a:hover {
    color: #c5a880;
}

.footer-contact a svg {
    margin-right: 5px;
    transition: transform 0.3s ease;
}

.footer-contact a:hover svg {
    transform: scale(1.2);
    color: #c5a880;
}

.footer-contact strong {
    font-weight: 500;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Link Styles */
a {
    color: #5d4037;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

a:hover {
    color: #c5a880;
} 