﻿/* ============================= */
/* General Styles */
/* ============================= */
*,
*:before,
*:after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    padding: 20px;
    font-family: 'Oswald', sans-serif;
}

    /* Background Image */
    body::after {
        content: '';
        background-image: url('../img/background.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -2;
        opacity: 0.3;
        pointer-events: none;
    }

/* ============================= */
/* Header Section */
/* ============================= */
.header {
    text-align: center;
}

    .header img {
        max-width: 300px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

.logo-link {
    display: inline-block;
    text-align: center;
    margin: 0 auto;
}

/* Mantener el estilo de horario */
.horario-titulo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.horario-lista {
    list-style-type: none;
    padding: 0;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
}

/* ============================= */
/* Menu Section */
/* ============================= */
.menu-seccion {
    margin-top: 20px;
    text-align: center;
}

.menu-titulo {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 15px;
}

.botones-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.menu-btn {
    padding: 10px 20px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .menu-btn.activo {
        background-color: #FFCA2C;
        color: black;
    }

    .menu-btn:not(.activo) {
        background-color: black;
        color: white;
    }

    .menu-btn:hover {
        color: white;
        background-color: #FFCA2C;
    }

/* ============================= */
/* Carruseles Section */
/* ============================= */

.carruseles-botones {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.carrusel-area, .carousel-comments-container {
    width: 100%;
}

@media (min-width: 768px) {
    .carrusel-area, .carousel-comments-container {
        margin-top: 20px;
        width: 48%;
    }
}

/* Carrusel de Imágenes */
.carousel-images-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-images-item {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
}

    .carousel-images-item img {
        width: 100%;
        height: auto;
        display: block;
        cursor: pointer;
    }

/* Botones del Carrusel de Imágenes */
.carousel-btn {
    position: absolute;
    top: 2%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
}

.carousel-prev-images {
    left: 0;
}

.carousel-next-images {
    right: 0;
}

.carousel-btn:hover {
    background-color: #FFD700;
}

/* Carrusel de Comentarios */
.carousel-comments-container {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-comments-wrapper {
    width: 100%;
    overflow: hidden;
}

.carousel-comments {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-comments-item {
    flex: 0 0 100%;
    box-sizing: border-box;
    text-align: center;
    border-bottom: 1px solid #ddd;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Estilo para la cabecera del comentario */
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-location {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin: 0;
}

.comment-rating {
    font-size: 16px;
    display: flex;
    align-items: center;
}

    .comment-rating i {
        margin-left: 5px;
        color: gold;
    }

/* Estilo para el texto del comentario */
.comment-text {
    font-size: 16px;
    color: white;
    margin: 10px 0;
}

.comment-date {
    font-size: 14px;
    color: lightgray;
}

/* Botones de navegación del carrusel de comentarios */
.carousel-prev-comments, .carousel-next-comments {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.carousel-prev-comments {
    left: 0;
}

.carousel-next-comments {
    right: 0;
}

    .carousel-prev-comments:hover, .carousel-next-comments:hover {
        background-color: #FFD700;
    }

/* Botón para agregar nuevos comentarios */
.add-comment-btn {
    position: absolute;
    top: 1px;
    right: 10px;
    background-color: #FFCA2C;
    color: black;
    padding: 10px 15px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

    .add-comment-btn:hover {
        background-color: black;
        color: white;
    }

/* ============================= */
/* Botones debajo del Carrusel de Comentarios */
.botones-area {
    margin-top: 20px;
    text-align: center;
}

.btn-call, .btn-waze {
    padding: 10px 20px;
    font-size: 18px;
    border: none;
    cursor: pointer;
    margin: 10px;
    width: 100%;
    background-color: #FFCA2C;
    border: 1.5px solid black;
    color: black;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

    .btn-call:hover, .btn-waze:hover {
        background-color: black;
        color: white;
        text-decoration: none;
    }

.comments-buttons-container {
    margin-top: 20px;
}

@media (min-width: 768px) {
    .btn-call, .btn-waze {
        width: 48%;
    }
}

.carousel-events-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
}

.carousel-events {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;  /* Cambiaremos este valor dinámicamente con JS */
}

.carousel-events-item {
    flex: 0 0 100%;  /* Asegura que cada item ocupe el 100% del espacio del carrusel */
    box-sizing: border-box;
    text-align: center;
}


/* Botones de navegación del carrusel de eventos */
.carousel-prev-events, .carousel-next-events {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
}

.carousel-prev-events {
    left: 0;
}

.carousel-next-events {
    right: 0;
}

    .carousel-prev-events:hover, .carousel-next-events:hover {
        background-color: #FFD700;
    }

/* ============================= */
/* Modal Section */
/* ============================= */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: red;
    color: white;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s ease;
}

    .close-modal:hover {
        background-color: rgba(0, 0, 0, 0.7);
    }

/* ============================= */
/* Footer Section */
/* ============================= */
.footer {
    padding: 20px;
    text-align: center;
}

.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: background 0.3s ease, transform 0.3s ease;
}

    .social-btn:link, .social-btn:visited, .social-btn:hover, .social-btn:active {
        text-decoration: none;
        color: white;
    }

    .social-btn:hover {
        transform: scale(1.1);
    }

    /* Social Media Backgrounds */
    .social-btn.facebook {
        background: linear-gradient(135deg, #3b5998, #8b9dc3);
    }

        .social-btn.facebook:hover {
            background: linear-gradient(135deg, #2d4373, #6d84b4);
        }

    .social-btn.instagram {
        background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    }

        .social-btn.instagram:hover {
            background: linear-gradient(135deg, #f09433, #d6249f);
        }

/* ============================= */
/* Botones Superiores */
/* ============================= */
.botones-superior {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-reservar {
    background-color: #FFCA2C;
    color: black;
    border: 2px solid black;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    animation: escalarBtnReserva 2s ease infinite;
    transition: background-color 0.3s ease;
}

.btn-eventos {
    background-color: #f0f0f0;
    color: black;
    border: 2px solid black;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    animation: escalarBtnEvento 2s ease infinite;
    transition: background-color 0.3s ease;
}

/* Animaciones */
@keyframes escalarBtnReserva {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(10px) rotate(5deg);
        background-color: orange;
    }

    100% {
        transform: translateY(0px) rotate(0deg);
        background-color: #FFCA2C;
    }
}

@keyframes escalarBtnEvento {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(10px) rotate(5deg);
        background-color: ghostwhite;
    }

    100% {
        transform: translateY(0px) rotate(0deg);
        background-color: #f0f0f0;
    }
}

/*ESTILOS PARA LAS ESTRELLAS QUE ELIGEN VALORACION DEL SITIO*/ 
.rating {
    display: flex;
    flex-direction: row-reverse; /* Las estrellas se mostrarán de derecha a izquierda */
    justify-content: center;
    gap: 5px; /* Añade espacio entre las estrellas */
}

    .rating input {
        display: none; /* Ocultar los inputs de tipo radio */
    }

    .rating label {
        font-size: 30px; /* Tamaño de las estrellas */
        color: lightgray; /* Color de estrellas no seleccionadas */
        cursor: pointer; /* Cursor en forma de mano al pasar sobre las estrellas */
        transition: color 0.3s ease; /* Transición suave del color al hacer hover o clic */
    }

        /* Cambiar el color de las estrellas al pasar el ratón sobre ellas */
        .rating label:hover,
        .rating label:hover ~ label {
            color: gold;
        }

    /* Cambiar el color de las estrellas cuando se seleccionan */
    .rating input:checked ~ label {
        color: gold;
    }

    /* Para hacer el área de clic más grande y fácil de seleccionar */
    .rating label:before {
        content: '★'; /* Utiliza el carácter estrella */
        position: relative;
        top: 0;
        left: 0;
        font-size: inherit;
        line-height: 1;
    }
