* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, #f5e6d3 0%, #e8d4b8 100%);
    color: #2c2c2c;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

header {
    margin-bottom: 50px;
    padding: 30px;
    background: rgba(0,0,0,0.05);
    border-radius: 15px;
}

a{
    text-decoration: none; color:#002868;
}


#spanish-menu{
    background-image: url("img_assets/basket.png"), url("img_assets/tennis.png"), url("img_assets/basball.png");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 100px 150px, 50px 50%, 200px 95%;
}

#english-menu{
    background-image: url("img_assets/tennis.png"), url("img_assets/basball.png"), url("img_assets/basket.png");
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: 100px 15%, 50px 60%, 50px 85%;
}


.logo {
    display: block;
    margin: auto;
}

.titulo {
    text-align: center;
    margin: 0;
    font-size: 1.5rem;
    font-family: Arial, Helvetica, sans-serif;
}

h1 {
    font-size: 3.5em;
    font-family: 'Impact', sans-serif;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.language-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    scroll-margin-top: 80px;
    overflow-x: visible;
}

.language-title {
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #d4a574;
    color: #c41e3a;
}

.section {
    margin-bottom: 35px;
}

.section-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #002868;
    margin-bottom: 15px;
    padding: 10px;
    background: linear-gradient(90deg, rgba(0, 40, 104, 0.2) 0%, transparent 100%);
    border-left: 4px solid #c41e3a;
}

.subsection-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #2c2c2c;
    margin: 15px 0 10px 0;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dotted #d4a574;
}

.item-name {
    flex: 1;
    padding-right: 15px;
    color: #2c2c2c;
}

.item-price {
    font-weight: bold;
    color: #c41e3a;
    white-space: nowrap;
}

.note {
    font-style: italic;
    color: #666;
    padding: 10px;
    background: rgba(212,165,116,0.15);
    border-radius: 6px;
    margin: 10px 0;
}

.sauce-list {
    padding: 10px;
    background: rgba(212,165,116,0.1);
    border-radius: 6px;
    font-size: 0.95em;
    color: #444;
}

.drinks-note {
    font-size: 0.9em;
    color: #666;
    margin: 10px 0;
    padding: 8px;
    background: rgba(196,30,58,0.05);
    border-radius: 4px;
}

/* Icono de foto para items con imagen */
.photo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.2s ease;
    font-size: 14px;
    flex-shrink: 0;
}

.photo-icon:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Overlay oscuro de fondo */
.photo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.photo-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Contenedor de preview de imagen */
.photo-preview {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 2000;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: 80%;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photo-preview.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.photo-preview img {
    max-width: 100%;
    max-height: calc(85vh - 60px);
    object-fit: contain;
    border-radius: 8px;
}

.photo-preview .dish-name {
    margin-top: 12px;
    font-size: 1.1em;
    font-weight: bold;
    color: #2c2c2c;
    text-align: center;
    max-width: 100%;
}

.photo-preview .close-btn {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 36px;
    height: 36px;
    background: #c41e3a;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.photo-preview .close-btn:hover {
    transform: scale(1.1);
}

.mobile-nav {
    display: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    gap: 10px;
    margin-bottom: 20px;
    border-radius: 0 0 12px 12px;
}

.mobile-nav.show {
    display: flex;
    justify-content: center;
}

.nav-btn {
    flex: 1;
    max-width: 150px;
    padding: 12px 20px;
    font-size: 1em;
    font-weight: bold;
    border: 2px solid #002868;
    background: white;
    color: #002868;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
}

.nav-btn:hover, .nav-btn:active {
    background: #c41e3a;
    border-color: #c41e3a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(196,30,58,0.3);
}

.copyright{
    text-align: center;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .mobile-nav {
        display: flex;
        justify-content: center;
    }

    .container {
        padding: 20px 15px;
    }

    header {
        padding: 20px 15px;
        margin-bottom: 20px;
        gap: 15px;
    }

    .logo {
        margin: auto;
        display: block;
    }

    h1 {
        font-size: 2em;
        letter-spacing: 3px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .language-section {
        padding: 20px;
        overflow-x: visible;
    }

    .section-title {
        font-size: 1.3em;
    }

    .item-name {
        font-size: 0.95em;
    }

    .photo-preview {
        max-width: 95vw;
        max-height: 80vh;
        padding: 10px;
    }

    .photo-preview img {
        max-height: calc(80vh - 80px);
    }

    .photo-preview .dish-name {
        font-size: 0.95em;
    }

    .photo-preview .close-btn {
        width: 32px;
        height: 32px;
        font-size: 18px;
        top: -10px;
        right: -10px;
    }
}

/* Imagenes de deportistas */
.sport-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0;
    padding: 20px 0;
}

.sport-image {
    max-width: 100%;
    width: 280px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.sport-image:hover {
    transform: scale(1.05);
}

/* Mapa interactivo */
.map-section {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-title {
    font-size: 1.8em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: #c41e3a;
    padding-bottom: 15px;
    border-bottom: 3px solid #d4a574;
}

.map-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-links a {
    color: #002868;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: #c41e3a;
    transform: scale(1.15);
}

@media (max-width: 480px) {
    header {
        padding: 15px 10px;
        gap: 10px;
    }

    h1 {
        font-size: 1.6em;
        letter-spacing: 2px;
        line-height: 1.1;
    }

    .language-section {
        padding: 15px;
    }

    .section-title {
        font-size: 1.2em;
        padding: 8px;
    }

    .nav-btn {
        padding: 10px 15px;
        font-size: 0.95em;
    }

    .photo-preview {
        max-width: 98vw;
        padding: 8px;
        border-radius: 8px;
        width: 90%;
    }

    .photo-preview img {
        max-height: calc(75vh - 60px);
    }

    .photo-preview .dish-name {
        font-size: 0.85em;
        margin-top: 8px;
    }

    .photo-icon {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }

    .sport-image-container {
        margin: 20px 0;
        padding: 15px 0;
    }

    .sport-image {
        width: 180px;
    }

    .map-section {
        padding: 15px;
        margin-top: 25px;
    }

    .map-title {
        font-size: 1.3em;
    }

    .map-container iframe {
        height: 300px;
    }

    .social-links{
        margin-top: 30px;
    }

    #spanish-menu{
        background-position: 100px 150px, 50px 50%, 80px 95%;
    }

}

@media (max-width: 768px) {
    .sport-image {
        width: 220px;
    }

    .map-section {
        padding: 20px;
        margin-top: 30px;
    }

    .map-title {
        font-size: 1.5em;
    }

    .map-container iframe {
        height: 350px;
    }
}