﻿/* Titulo Restaurante */
.portada_seccion_restaurantes {
    display: flex;
    justify-content: center;
    height: 540px !important;
    background-image: url('../images/imagen_portada_restaurantes.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 64% 82% !important; /* 64% horizontal y 82% vertical */
    background-color: rgba(0, 0, 0, 0.6);
    background-blend-mode: overlay; /* Combina el color con la imagen */
}

.title-restauranteCercano {
    margin-top: 10.5rem;
    font-family: "kentuckyfriedstripes-heavy";
    font-size: 26px !important;
    color: #fff;
    text-align: center;
}

/* Select Provincia - Cantón */
.select_restaurantes {
    font-family: 'kentuckyfriedserif-light';
}

.form_select_provincia, .form_select_canton {
    font-family: 'kentuckyfriedserif-light';
    font-size: 16px;
    color: #202124;
    border-radius: 10px;
    cursor: pointer;
}

    .form_select_provincia, .form_select_canton select:hover,
    select:focus {
        box-shadow: none;
        outline: none;
    }

/* Modal Activar Ubicacion */

.modal-header-location-permission {
    display: flex;
    justify-content: space-between; /* Espacio entre el título y el botón de cierre */
    align-items: center;
    position: relative;
    word-wrap: break-word; /* Permite que las palabras largas se dividan */
    height: 60px !important;
}

    .modal-header-location-permission .close {
        position: absolute;
        right: 15px;
        border: none !important;
        background-color: transparent;
    }

.modal-title-location-permission {
    font-family: 'kentuckyfriedstripes-heavy' !important;
    color: #202124;
    font-weight:bold;
    text-align: center;
    font-size: 19px !important;
    max-width: 100%;
    max-width: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}


.btn_active_ubication {
    font-family: 'kentuckyfriedstripes-heavy' !important;
    color: white !important;
    background-color: #F5002B!important;
    border-radius: 15px;
    border: none;
}

.btn_cancel_ubication {
    font-family: 'kentuckyfriedstripes-heavy' !important;
    color: white !important;
    background-color: #c5b2b3 !important;
    border-radius: 15px;
    border: none;
}

/* Modal Ubicacion Denegada */

.modal-header-location-denied {
    display: flex;
    justify-content: space-between; /* Espacio entre el título y el botón de cierre */
    align-items: center;
    position: relative;
    word-wrap: break-word; /* Permite que las palabras largas se dividan */
    height: 60px !important;
}

    .modal-header-location-denied .close {
        position: absolute;
        right: 15px;
        border: none !important;
        background-color: transparent;
    }

.modal-title-location-denied {
    font-family: 'kentuckyfriedstripes-heavy' !important;
    color: #202124;
    text-align: center;
    font-size: 16px !important;
    max-width: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.btn-close-modal-location-denied {
    font-family: 'kentuckyfriedstripes-heavy' !important;
    color: white !important;
    width: 150px !important;
    height: 40px !important;
    background-color: #F5002B!important;
    border-radius: 20px;
    border: none;
}

/* Card Restaurantes */

.card_restaurante {
    width: 22rem; /* Ancho fijo */
    height: 22rem; /* Altura fija */
    background-color: white;
    border-radius: 8px; /* Borde redondeado */
    margin-bottom: 20px;
    padding: 0;
    border: none;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.09);
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column; /* Coloca los elementos dentro en columna */
    justify-content: space-between; /* Distribuye el espacio entre los elementos */
}

.container_cards_restaurantes {
    display: flex;
    flex-wrap: wrap; /* Permite que las tarjetas se distribuyan en varias filas */
    justify-content: space-between; /* Alinea las tarjetas a la izquierda */
}

.card_body_restaurantes {
    height: 100%; /* Ocupa toda la altura disponible */
    background-color: white;
    border-radius: 0;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    padding: 1rem; /* Añadir espacio dentro de la tarjeta */
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2) !important;
}

/* Nombre Restaurante */
.nombre_restaurante {
    font-family: 'kentuckyfriedstripes-heavy';
    font-weight: bold;
    text-transform: uppercase;
    font-size: 18px;
    text-align: center;
    margin-top: 10px;
    height: 80px;
}

/* Dirección Restaurante */
.direccion_restaurante {
    height: 65px;
    font-family: 'kentuckyfriedserif-light';
}

/* Información Restaurantes */
.informacion_restaurantes {
    font-family: 'kentuckyfriedserif-light';
}

.link {
    text-decoration: none; 
    color: inherit; /* Mantiene el color */
}

    .link:hover{
        color: #202124
    }

.telefono_restaurante {
    text-decoration: underline;
    color: inherit;
}

    .telefono_restaurante:hover{
        color: #202124
    }

/* Horarios Restaurantes */

.horarios_restaurantes {
    height: 45px !important;
}
.horarios_restaurantes p {
    font-family: 'kentuckyfriedserif-light';
    margin-bottom: 1px;
}

.estado_restaurante{
    font-size:14px !important;
}

/**** Media Querys ****/
/* Media Query - Mobile Mini */
@media (max-width: 360px) {
    .portada_seccion_restaurantes {
        height: 400px !important;
        background-position: 52% 100% !important; /* 50% horizontal y 42% vertical */
        margin-top: 2rem !important; 
    }

    .titulo_portada_restaurantes h4 {
        margin-top: 5rem;
        font-family: "kentuckyfriedstripes-heavy";
        font-size: 24px;
        color: #fff;
        text-align: center;
    }

    .title-restauranteCercano {
        margin-top: 2.5rem;
        font-family: "kentuckyfriedstripes-heavy";
        font-size: 26px !important;
        color: #fff;
        text-align: center;
    }

    .card_restaurante {
        width: 18rem;
        height: 22rem; /* Altura fija */
        background-color: white;
        border-radius: 0;
        margin-bottom: 20px;
        padding: 0;
        border: none;
        box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.09);
        margin-left: auto;
        margin-right: auto;
    }

    .nombre_restaurante {
        font-size: 14px;
        text-align: center;
    }
}

/* Media Query - Mobile */
@media (min-width: 361px) and (max-width: 440px) {

    .portada_seccion_restaurantes {
        height: 400px !important;
        background-position: 54% 82% !important;
        margin-top: 2rem !important;
    }

    .titulo_portada_restaurantes h4 {
        margin-top: 5rem;
        font-family: "kentuckyfriedstripes-heavy";
        font-size: 24px;
        color: #fff;
        text-align: center;
    }

    .title-restauranteCercano {
        margin-top: 2.5rem;
        font-family: "kentuckyfriedstripes-heavy";
        font-size: 26px !important;
        color: #fff;
        text-align: center;
    }
}

/* Media Query - Tablet */
@media (min-width: 768px) and (max-width: 884px) {

    .portada_seccion_restaurantes {
        height: 380px;
        background-position: 54% 100%;
    }

    .titulo_portada_restaurantes h4 {
        margin-top: 9rem;
        font-family: "kentuckyfriedstripes-heavy";
        font-size: 24px;
        color: #fff;
        text-align: center;
    }

    .card_restaurante {
        /*width: calc(50% - 20px);*/ /* Quepan dos por fila */
        width: 21rem !important; /* Evita que se hagan muy grandes */
        height: 20rem; /* Altura fija */
        background-color: white;
        border-radius: 0;
        margin-bottom: 20px;
        padding: 0;
        border: none;
        box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.09);
        margin-left: auto;
        margin-right: auto;
    }

    .nombre_restaurante {
        font-size: 14px;
        text-align: center;
    }
}

/* Media Query - Desktop */
@media (min-width: 993px) and (max-width: 1728px) {

    .portada_seccion_restaurantes {
        height: 380px;
        background-position: 54% 87%;
    }

    .titulo_portada_restaurantes h4 {
        margin-top: 8rem;
        font-family: "kentuckyfriedstripes-heavy";
        font-size: 24px;
        color: #fff;
        text-align: center;
    }
}

/* Media Query - Large Desktop */
@media (min-width: 1729px) {

    .portada_seccion_restaurantes {
        height: 500px;
        background-position: 54% 85%;
    }

    .titulo_portada_restaurantes h4 {
        margin-top: 8rem;
        font-family: "kentuckyfriedstripes-heavy";
        font-size: 30px;
        color: #fff;
        text-align: center;
    }
}
