@font-face {
    font-family: Lora-Variable;
    src: url("../fonts/Lora-VariableFont.ttf");
}

@font-face {
    font-family: Poppins;
    src: url("../fonts/Poppins-Regular.ttf");
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    width: 200px;
    margin-bottom: 20px;
    animation: slideIn 1s ease-out;
}
.mb-n1 {
    margin-bottom: -0.35rem !important;
}

.btn-primary {
    position: relative;
    /* Esto permite usar top, bottom, etc. */
    top: 100px;
    /* Ajusta este valor para mover el botón hacia abajo */
    text-decoration: none;
    background-color: #d9534f;
    padding: 15px 30px;
    color: white;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #f8d86d;
}



/* Video con parallax */
/* Sección de galería de platillos */
#dishes-gallery {
    padding: 60px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

#dishes-gallery h2 {
    font-family: Poppins;
    color: #d9534f;
    font-size: 36px;
    margin-bottom: 40px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.dish {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dish img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dish:hover {
    transform: scale(2.0);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.dish:hover img {
    transform: scale(1.1);
}

.dish p {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
}



/* Historia, Misión, Visión con animaciones */
#about {
    font-family: Poppins;
    padding: 80px 20px;
    background: linear-gradient(135deg, #000000, #63616193);
    display: flex;
    justify-content: space-around;
    text-align: justify;
    animation: fadeIn 1.5s ease;

}

/*.history {*/
/*    font-size: 11px;*/
/*}*/

.Rivas {
    height: 10%;
}

#about div {
    width: 30%;
}

#about h2 {
    font-family: Poppins;
    color: white;
    font-size: 36px;
    text-align: center;
    text-shadow: 1px 1px 2px rgb(174, 77, 77);
}

#about h2:hover {
    font-family: Poppins;
    color: #d9534f;
    font-size: 36px;
    text-align: center;
    text-shadow: 1px 1px 2px rgb(174, 77, 77);
}

.logo-small {
    width: 20px;
    /* Tamaño ajustado para el logo pequeño */
    height: auto;
    margin-top: 5px;
    /* Espacio más pequeño entre el nombre y el logo */
}

#about p {
    line-height: 1.6;
    color: #fff;
}

/* Menú de platillos con efectos hover 3D */
#menu {
    padding: 60px 20px;
    text-align: center;
    background-color: #f4f4f4;
}

#menu h2 {
    font-family: Poppins;
    color: #1a1919;
    font-size: 36px;
    margin-bottom: 40px;
}

h2:hover {
    font-family: Poppins;
    font-size: 36px;
    /* margin-bottom: 40px; */
    color: #d9534f;
}

.dishes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.dish-card {
    width: 250px;
    height: 350px;
    margin: 20px;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #676563;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.dish-card:hover {
    transform: rotateY(10deg) scale(1.5);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.dish-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.icon-3d {
    transition: all 0.4s ease;
    transform: perspective(1000px) translateZ(0);
    display: inline-block;
    padding: 8px;
    border-radius: 50%;
}

.icon-3d:hover {
    transform: perspective(1000px) translateZ(20px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
}

/* Colores personalizados al hacer hover */
.bi-facebook:hover {
    color: #1877f2 !important;
}

.bi-instagram:hover {
    color: #f46c85 !important;
}

.bi-youtube:hover {
    color: #ff0000 !important;
}

.bi-tiktok:hover {
    color: #f9f6f6 !important;
}

.dish-card:hover img {
    transform: scale(1.1);
}

.dish-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.dish-card:hover .dish-info {
    transform: translateY(0);
}

.dish-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.ingredients {
    font-size: 14px;
    font-style: italic;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-social .social-icon {
    margin-right: 15px;
    /* Espacio entre íconos */
    width: 35px;
    height: 35px;
}

.footer-social .social-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

s

/* Footer con animación */
footer {
    background-color: #191717;
    color: white;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    animation: slideUp 1s ease-out;
}

footer p {
    margin: 10px 0;
}

/* Animaciones */
@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividad */
@media (max-width: 768px) {
    #about {
        flex-direction: column;
    }

    .dishes {
        flex-direction: column;
        align-items: center;
    }

    .dish-card {
        width: 90%;
        height: auto;
    }
}

@media screen and (max-width: 480px) {


    .navbar {
        flex-direction: column;
        align-items: center;
        padding: 50px;
    }

    .navbar .logo img {
        width: 100px;
    }

    .navbar .navbar-name {
        /* font-size: 18px; */
        padding-left: 0;
    }
}

@media (max-width: 1024px) {
    section#about {
        flex-direction: row;
        /* Asegura que sigan siendo tres columnas en tablet */
        justify-content: space-between;
    }

    section#about div {
        width: 30%;
        /* Mantener 3 columnas */
    }

    h2 {
        font-family: Poppins;
        font-size: 1.6rem;
    }

    h2:hover {
        color: #d9534f;
        font-size: 1.4rem;
    }

    p {
        font-size: 0.95rem;
    }
}

/* Media Query para teléfonos móviles */
@media (max-width: 480px) {
    section#about {
        padding: 0.5rem;
        flex-direction: row;
        /* Mantener 3 columnas en móvil */
    }

    section#about div {
        width: 30%;
        /* Mantener 3 columnas incluso en móvil */
        margin: 0.5rem;
        /* Añadir un pequeño margen entre columnas */
    }

    h2 {
        font-size: 1.4rem;
    }

    h2:hover {
        color: #d9534f;
        font-size: 1.4rem;
    }

    p {
        font-size: 0.9rem;
    }
}


@media (max-width: 600px) {
    #footer {
        position: fixed;
        bottom: 70px;
        /* Ajusta este valor para mover el footer más arriba */
        left: 0;
        width: 100%;
        z-index: 9998;
    }

    .storefront-floating-button {
        bottom: 0;
        /* Botón sigue fijo en la parte inferior */
    }
}