/* styles.css */

/* Estilos generales */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    position: relative;
    overflow-x: hidden;
}

/* Fondo con desenfoque y superposición negra */
.background-overlay, .overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.background-overlay {
    background: url('img/WP.jpg') center/cover fixed no-repeat;
    filter: blur(0px);
}

/* Para pantallas más pequeñas, como móviles */
@media (max-width: 768px) {
    .background-overlay {
        background: url('img/WP-VERTICAL.jpg') center/cover fixed no-repeat;
    }
}

/* Estilo general de la imagen de bienvenida */
.main-image-container {
    margin-top: 0px;
    text-align: center;
}

.welcome-image {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Cambia la imagen de bienvenida para pantallas más pequeñas */
@media (max-width: 768px) {
    .welcome-image {
        content: url('img/TO-VERTICAL.jpg'); /* Cambiar por la imagen específica para móviles */
    }
}

/* Estilos del aviso */
.notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 0 25px rgba(0, 0, 0, 0.3), 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    opacity: 0; /* Ocultamos el aviso por defecto */
    transition: opacity 0.5s ease;
    overflow: hidden;
    box-sizing: border-box;
    display: none; /* Ocultamos el aviso por defecto */
    align-items: center;
    justify-content: center;
}

.notification img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .notification {
        width: 90%;
    }
    .notification img {
        width: 70%;
    }
}

@media (max-width: 480px) {
    .notification {
        width: 95%;
    }
    .notification img {
        width: 100%;
    }
}

        /* Encabezado */
        header {
            background: linear-gradient(black, rgba(0, 0, 0, 0));
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 20px;
            height: 70px;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1;
            width: 100%;
            transition: background-color 0.5s ease;
            box-sizing: border-box;
        }

        .logo {
            max-width: 100px;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .logo.show {
            opacity: 1;
        }

        .contact-button {
            background-color: #ffffffd5;
            color: rgb(0, 0, 0);
            border: none;
            padding: 10px 20px;
            border-radius: 10px;
            font-weight: bold;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        .contact-button {
    opacity: 0;
    transition: opacity 0.3s;
}

.contact-button.show {
    opacity: 1;
}

        .contact-button:hover {
            background-color: #e59400;
        }
/* Sección para centrar el botón */
.promotions-section {
    display: flex; /* Usamos flexbox */
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    margin: 100px auto 0px; /* Margen vertical */
}

/* Estilo para el cuadro de promociones */
.promotions-box {
    display: inline-block; /* Ajusta el tamaño al contenido */
    background-color: transparent; /* Sin color de fondo */
    color: #000; /* Color del texto */
    padding: 15px; /* Espaciado interno */
    border: 0px solid #ffffff; /* Borde rojo */
    border-radius: 10px; /* Esquinas redondeadas */
    font-size: 18px; /* Tamaño de fuente */
    font-weight: bold; /* Negrita */
    text-decoration: none; /* Sin subrayado */
    text-align: center; /* Centrar texto */
    transition: transform 0.3s; /* Transiciones suaves */
    box-shadow: 0 0px 0px rgba(255, 208, 0, 0.452); /* Sombra */
    animation: breathe 6s infinite; /* Efecto de respiración */
}

/* Imagen dentro del cuadro */
.promotions-image {
    width: 100%; /* Hace que la imagen ocupe todo el ancho del cuadro */
    height: auto; /* Mantiene la proporción de la imagen */
    border-radius: 10px; /* Esquinas redondeadas para la imagen */
}

/* Animación de respiración */
@keyframes breathe {
    0% {
        transform: scale(.9);
    }
    50% {
        transform: scale(1.05); /* Aumenta un poco el tamaño */
    }
    100% {
        transform: scale(.9);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .promotions-box {
        font-size: 16px; /* Ajusta el tamaño de la fuente en pantallas pequeñas */
        padding: 12px; /* Ajusta el espaciado interno */
    }
}


/* Estilo para los correos electrónicos */
.menu-box p {
    color: #ffa600; /* Color del texto */
    font-size: 16px; /* Tamaño de fuente */
    margin: 10px 0; /* Margen */
    text-align: center; /* Centrar texto */
    font-weight: bold; /* Negrita */
}

.menu-box p a {
    color: #ffffff; /* Color del enlace */
    text-decoration: none; /* Sin subrayado */
    transition: color 0.3s; /* Transición suave para el color */
}

.menu-box p a:hover {
    color: #e59400; /* Color del enlace al pasar el cursor */
}

/* Cuadros de menú */
.menu-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 75px 20px;
    flex-wrap: wrap;
}

.menu-box {
    width: 100%;
    max-width: 300px;
    border: 0px solid #222222;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 10px;
}

.menu-box img {
    width: 100%;
    height: auto;
}


/* Estilos para el formulario de cotización */
.quotation-title {
    color: #000000; /* Cambia el color aquí */
    font-size: 24px; /* Tamaño de fuente */
    text-align: center; /* Centrado */
    margin-bottom: 20px; /* Espacio inferior */
    font-weight: bold; /* Negrita */
}
.quotation-form {
    background: rgba(255, 255, 255, 0.9); /* Fondo blanco con opacidad */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Sombra sutil */
    padding: 20px; /* Espaciado interno */
    margin: 100px auto 100px; /* Centrar el formulario */
    max-width: 600px; /* Ancho máximo */
    display: flex;
    flex-direction: column; /* Colocar los elementos en columna */
}

.quotation-form label {
    margin-bottom: 5px; /* Margen debajo de cada etiqueta */
    font-weight: bold; /* Negrita para etiquetas */
    color: #000; /* Color del texto */
}

.quotation-form input, 
.quotation-form select, 
.quotation-form textarea {
    padding: 10px; /* Espaciado interno */
    margin-bottom: 15px; /* Margen inferior */
    border: 1px solid #ccc; /* Borde gris claro */
    border-radius: 5px; /* Bordes redondeados */
    font-size: 16px; /* Tamaño de fuente */
    transition: border-color 0.3s; /* Transición suave */
}

.quotation-form input:focus, 
.quotation-form select:focus, 
.quotation-form textarea:focus {
    border-color: #ffa600; /* Cambiar color de borde al enfocar */
    outline: none; /* Sin contorno */
}

.quotation-form button {
    background-color: #ffa600; /* Color de fondo del botón */
    color: white; /* Color del texto del botón */
    padding: 10px; /* Espaciado interno */
    border: none; /* Sin borde */
    border-radius: 5px; /* Bordes redondeados */
    font-size: 18px; /* Tamaño de fuente */
    cursor: pointer; /* Cambiar cursor a puntero */
    transition: background-color 0.3s, box-shadow 0.3s; /* Transiciones suaves */
}

.quotation-form button:hover {
    background-color: #e59400; /* Color al pasar el cursor */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Sombra al pasar el cursor */
}

/* Footer */
footer {
    background-color: #000000;
    padding: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    color: #ffffff;
}

.footer-info p {
    margin: 10px 0;
    font-size: 19px;
}

.footer-info strong {
    color: #ffffff;
}

.maps-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.map-box {
    flex: 1;
    max-width: 48%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.map-box iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-box h3 {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.8);
    color: #000;
    font-size: 16px;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 0;
}

/* Redes sociales */
.social-links {
    position: fixed;
    bottom: 10px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
}

.social-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 35px; /* Tamaño inicial */
    transition: color 0.3s ease, transform 0.3s ease; /* Añadido para transición en tamaño */
}

.social-links a:hover {
    color: #ffa600;
    transform: scale(1.2); /* Aumenta el tamaño al pasar el cursor */
}

/* Clase para reducir tamaño de los iconos */
.social-links.small a {
    font-size: 12px; /* Tamaño reducido */
    transform: scale(1); /* Restablece el tamaño al original cuando no está en hover */
}

.whatsapp-links {
    position: fixed; /* Mantenerlo fijo en la pantalla */
    left: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 2;
}

.whatsapp-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8); /* Fondo blanco con opacidad del 90% */
    padding: 10px; /* Aumenta el padding para mayor separación */
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(15, 0, 15, 0.4); /* Sombra más visible */
    margin-bottom: 10px; /* Espaciado entre cuadros */
    transition: background-color 0.3s; /* Añadir transición para hover */
}

.whatsapp-box:hover {
    background-color: rgba(255, 255, 255, 0.9); /* Cambiar color al pasar el cursor */
}

.whatsapp-link {
    display: flex; /* Permite que el enlace sea un contenedor flexible */
    align-items: center; /* Centra verticalmente el contenido */
    text-decoration: none; /* Elimina el subrayado */
    color: inherit; /* Hereda el color del texto */
    width: 100%; /* Ocupa todo el ancho del cuadro */
}

.whatsapp-icon {
    color: #25D366;
    font-size: 25px;
    margin-right: 5px;
}

.whatsapp-box p {
    margin: 0;
    color: #000;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .whatsapp-box p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .whatsapp-box p {
        font-size: 18px;
    }

    .whatsapp-box {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px;
    }
}


/* Estilo del carrusel */
.carousel {
    position: relative;
    overflow: hidden;
    max-width: 100%; /* Ajusta el ancho según sea necesario */
    margin: auto; /* Centrar el carrusel */
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease; /* Transición suave */
}

.carousel-images img {
    min-width: 75%; /* Cada imagen ocupa todo el contenedor en móviles */
    height: auto; /* Mantiene la relación de aspecto */
    opacity: 0.65; /* Opacidad por defecto */
    transition: opacity 0.5s ease; /* Transición suave para la opacidad */
}

.carousel-images img.active {
    opacity: 1; /* Imagen activa sin opacidad */
}

/* Ajustes para tabletas y pantallas más grandes */
@media (min-width: 768px) {
    .carousel-images img {
        min-width: 50%; /* Cada imagen ocupa la mitad del contenedor en tabletas */
    }
}

@media (min-width: 1024px) {
    .carousel-images img {
        min-width: 33.33%; /* Cada imagen ocupa un tercio del contenedor en pantallas más grandes */
    }
}

/* Ajustes para tamaños específicos */
.carousel-images img.medium {
    min-width: 75%; /* Ejemplo de tamaño medio */
}

.carousel-images img.small {
    min-width: 50%; /* Ejemplo de tamaño pequeño */
}


.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8); /* Fondo semi-transparente */
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.prev {
    left: 10px; /* Posición izquierda */
}

.next {
    right: 10px; /* Posición derecha */
}

/* Responsive Design */
@media (max-width: 768px) {
    .prev, .next {
        padding: 12px; /* Reducir el tamaño de los botones en pantallas pequeñas */
    }
}
