/* Estilos Generales */
html {
    scroll-behavior: smooth;
    z-index: 1000;
}

body {
    font-family: 'Milonga', cursive;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: black;
}

h2 {
    text-align: center;
    Color: White;
    text-transform: uppercase;
}
.logofijo{
    position: fixed;
    top: 1rem;
    left:1rem;
    
}
.logofijo img{
    height: 10rem;
    width: 10rem;
    z-index: 2000;
        border-radius: 5rem;

}

/* Encabezado */
header {
    background-image: url(../imagenes/header.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.header-content {
    background-repeat: no-repeat;
    background-size: contain; /* Asegura que no se corte */
    background-position: center;
    background-color: transparent;
    
    width: 80vw;
    max-width: 600px;
    aspect-ratio: 1.2 / 1; /* Ajustalo según la proporción de tu imagen */
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    border-radius: 10px;
    gap: 1rem;
}

.header-content h1 {
    font-size: 3em;
    margin: 0;
    color: white;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.header-content .marca {
    font-family: 'Milonga', cursive;
    font-size: 1.6em;
    letter-spacing: 2px;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.header-content .subtitulo {
    font-size: 1.2em;
    font-weight: 300;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}


nav ul {
    display: flex;
    justify-content: flex-end;
    list-style-type: none;
    padding: 0;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
}

nav ul li a:hover {
    text-decoration: underline;
}

    /* Sección de apps de pedidos */
    .pedido-apps {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Dos columnas */
        grid-gap: 20px; /* Espacio entre las imágenes */
        margin: 70px ;
    }

    /* Ajustes para la imagen */
    .pedido-apps a {
        display: flex;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        justify-content: center;
       
    }

    .pedido-apps img {
        width: 5rem; /* Asegura que las imágenes llenen el contenedor */
        height: 5rem;
        border-radius: 6rem;
        margin-bottom: 30px;
        border: solid 2px white ;
    }

/* Efecto hover divertido */
.pedido-apps a:hover {
    transform: scale(1.2);
}
/* BOTON DELIVER FIJO */
.boton-delivery {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, #ff4e00, #ec9f05);
    color: white;
    padding: 12px 20px;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-size: 1rem;
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.boton-delivery.show {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1.05);
}

.boton-delivery:hover {
    transform: scale(1.1);
    background: linear-gradient(45deg, #ff6a00, #fcd307);
}
/* Contenedor principal del carrusel */
.carrusel {
    width: 100%; /* El carrusel ocupa todo el ancho del contenedor */
    overflow: hidden; /* Oculta las imágenes que no estén visibles */
}

/* Contenedor de las imágenes, con posición relativa para controlarlas */
.carrusel-contenedor {
    display: flex;
    transition: transform 1s ease-in-out; /* Transición suave entre imágenes */
    width: 400%; /* Para 4 imágenes, cada una ocupa el 100% del contenedor */
}

/* Estilo de cada imagen del carrusel */
.carrusel-imagen {
    width: 100%; /* Cada imagen ocupa el 100% del contenedor */
    height: 500px; /* Altura más razonable para notebooks */
    object-fit: cover; /* Mantiene la relación de aspecto de las imágenes */
    z-index: 1000;
}

/* Estilos para pantallas de notebook y desktop */
@media screen and (max-width: 1024px) {
    .carrusel-imagen {
        height: 400px; /* Ajuste de altura para notebooks */
    }
}

/* Estilos para pantallas de dispositivos móviles medianos (ej. tablets) */
@media screen and (max-width: 768px) {
    .carrusel-imagen {
        height: 250px; /* Ajuste de altura para dispositivos móviles medianos */
    }
}

/* Estilos para pantallas de celulares pequeños */
@media screen and (max-width: 480px) {
    .carrusel-imagen {
        height: 200px; /* Ajuste de altura para pantallas de celulares pequeños */
    }
}



/* Media Queries para móviles */
@media (max-width: 768px) {
    header {
        height: 90vh; /* Altura más ajustada para móviles */
        background-position: center;
        background-size: cover;
        background-attachment: scroll;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 20px;
    }

    .header-content {
        width: 100%;
        padding: 0;
        background-color: rgba(0, 0, 0, 0.5); /* Fondo sutil para mejor legibilidad */
        border-radius: 10px;
        padding: 10px 20px;
    }

    .header-content {
        width: 90%;
        text-align: center;
        padding: 1rem;
    }

    .header-content h1 {
        font-size: 2.2em;
    }

    .header-content .subtitulo {
        font-size: 0.9em;
    }

    nav ul {
        flex-direction: column; /* Cambia a vertical */
        align-items: center;
        gap: 10px;
        padding: 0;
        margin: 0;
    }

    nav ul li {
        margin: 0;
    }

    nav ul li a {
        font-size: 1.1em;
        background: rgba(255, 255, 255, 0.2);
        padding: 8px 15px;
        border-radius: 5px;
        transition: background 0.3s;
    }

    nav ul li a:hover {
        background: rgba(255, 255, 255, 0.4);
    }

    .pedido-apps {
        grid-template-columns: repeat(2, 1fr); /* Dos columnas */
        margin: 20px; /* Ajusta el margen */
    }

    .pedido-apps img {
      width: 80px;
    }
    .logofijo img{
    height: 4rem;
    width: 4rem;
}
.boton-fixed-delivery {
    top: 0.8rem;
    right: 0.8rem;
    padding: 10px 16px;
    font-size: 0.9rem;
}

}


/* Efecto hover divertido */
.pedido-apps a:hover {
    transform: scale(1.2);
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

/* Sección de suscripción */
#suscripcion {
    background-color: lightblue;
    padding: 30px;
    text-align: center;
}

#suscripcion form input {
    margin: 10px;
    padding: 10px;
    font-size: 1em;
}

#suscripcion form button {
    padding: 10px 20px;
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
}

/* Estilo del logo de WhatsApp fijo */
.whatsapp-fijo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25d366;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.whatsapp-fijo img {
    width: 40px;
    height: auto;
    border-radius: 10%;
}

/* Estilo del cartel emergente */
.mensaje-especial {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background-color: #ffcc00;
    color: #333;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    display: none;
    z-index: 1001;
}

.mensaje-especial.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sección del footer */
footer {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-logo img {
    max-width: 100px;
    height: auto;
}

.footer-info p, .footer-info ul {
    margin: 10px 0;
}

footer ul {
    list-style-type: none;
    padding: 0;
}

footer ul li {
    margin: 5px 0;
}

footer ul li a {
    color: white;
    text-decoration: none;
}

footer ul li a:hover {
    text-decoration: underline;
}

/* Redes sociales */
.footer-social {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-social a {
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-social img {
    width: 40px;
    height: auto;
    border-radius: 50%;
}

/* Efecto hover en los íconos sociales */
.footer-social a:hover {
    transform: scale(1.2);
}

/* Media Queries para móviles */
@media (max-width: 768px) {
    header {
        height: auto; /* Permite que crezca con el contenido */
        padding: 40px 20px; /* Agrega un poco más de espacio */
        background-attachment: scroll; /* Mejora el rendimiento en móviles */
    }
    .header-content {
        width: 100%; /* Ocupa todo el ancho */
        padding: 0; /* Elimina el padding derecho */
    }

    .header-content h1 {
        font-size: 2.5em; /* Ajusta el tamaño de la fuente */
    }

    .pedido-apps {
        flex-direction: column; /* Cambia a columna en móviles */
        margin: 30px; /* Ajusta el margen */
    }

    .pedido-apps img {
        width: 60px; /* Ajusta el tamaño de los íconos en móviles */
    }

    #suscripcion form input,
    #suscripcion form button {
        width: 90%; /* Ocupa el 90% del ancho en móviles */
        font-size: 0.9em; /* Ajusta el tamaño de la fuente */
    }

    .footer-logo img {
        max-width: 80px; /* Ajusta el tamaño del logo */
    }

    .footer-social img {
        width: 30px; /* Tamaño de los íconos en móviles */
    }
}
