/* styles.css */
body {
    font-family: Arial, sans-serif;
    background-color: #1e1e1e;
    color: #f2f2f2;
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #444;
}

header .logo-container {
    text-align: center;
}

header .logo {
    width: 150px;
}

/* Hero section */
.hero {
    background-color: #222;
    padding: 80px 20px;
    text-align: center;
    color: #f2f2f2;
    background-image: url('https://via.placeholder.com/1500x700'); /* Imagen de fondo */
    background-size: cover;
    background-position: center;
    animation: fadeIn 2s ease-in-out;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.welcome-description {
    font-size: 1.5rem;
    margin-top: 10px;
    font-style: italic;
}

.peliculas {
    padding: 40px 20px;
    background-color: #333;
    text-align: center;
}

.peliculas h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Flexbox para las tarjetas */
.cards-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Tarjetas */
.card {
    background-color: #444;
    padding: 20px;
    width: 280px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.card h3 {
    color: #f2f2f2;
    margin: 15px 0;
}

.card p {
    color: #bbb;
}

.card .precio {
    color: #f9a825;
}

/* Botón de Ver Menú */
.ver-menu-btn {
    background-color: #f9a825;
    color: #333;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.ver-menu-btn:hover {
    background-color: #f57f17;
}

.card .reservar {
    background-color: #f9a825;
    color: #333;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
	font-weight: bold;
    transition: background-color 0.3s ease;
}

.card .reservar:hover {
    background-color: #f57f17;
}

.card .ciudades {
    color: #bbb;
}

.card .fechas-disponibles {
    color: #f9a825;
    font-weight: bold;
    margin-top: 10px;
}

footer {
    background-color: #222;
    text-align: center;
    padding: 20px;
}

footer p {
    color: #f2f2f2;
    margin: 5px 0;
}

/* Popup de menú */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.popup-content {
    background-color: #333;
    padding: 40px;
    border-radius: 8px;
    color: #f2f2f2;
    text-align: center;
    width: 80%;
    max-width: 500px;
    overflow-y: auto;  /* Permite el desplazamiento vertical */
    max-height: 80vh;  /* Limita la altura del contenido para hacer scroll si es necesario */
}

.popup-content h2 {
    margin: 20px 0;
}

.close {
    color: #f9a825;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

.menu-section {
    margin-bottom: 40px;
}

.menu-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #f9a825;
    text-transform: uppercase;
    font-weight: bold;
}

.menu-item {
    background-color: #444;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.menu-item:hover {
    background-color: #555;
}

.menu-item h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #f9a825;
}

.menu-item p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #bbb;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
    color: #f9a825;
    font-weight: bold;
}

/* MEDIA QUERIES para Responsividad */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .welcome-description {
        font-size: 1.2rem;
    }

    .cards-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
        margin-bottom: 20px;
    }

    .popup-content {
        width: 90%;
    }

    .menu-item h4 {
        font-size: 1.3rem;
    }

    .menu-item p {
        font-size: 0.9rem;
    }

    footer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .welcome-description {
        font-size: 1rem;
    }

    .card h3 {
        font-size: 1.3rem;
    }

    .card p {
        font-size: 0.9rem;
    }

    .popup-content {
        width: 95%;
    }

    .menu-item h4 {
        font-size: 1.2rem;
    }

    .menu-item p {
        font-size: 0.85rem;
    }

    footer p {
        font-size: 0.8rem;
    }
}
/* Añadir estilos específicos para los precios */
.precio {
    font-size: 1.2rem;
    font-weight: bold;
    color: #f9a825;
    margin-top: 10px;
}

.precio-total {
    font-size: 1.2rem;
    font-weight: bold;
    color: #f57f17;
    margin-top: 5px;
}
