/* --- Base y Contenedores --- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #fff; /* Texto blanco en secciones oscuras */
}

/* El contenedor principal de la Landing Page */
.landing-page {
    position: relative;
    min-height: 100vh;
    background-image: url('{{ asset('./images/fondo-principal.jpg') }}');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 50px 20px;
}
.landing-background {
                /* Asegura que el contenedor de fondo cubra toda la pantalla */
                background-image: url("{{ asset('images/findera.jpg') }}") !important;
                background-repeat: no-repeat;
                background-size: cover;
                background-position: center;
                min-height: 100vh;
                width: 100%;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                /* Estilo móvil: Cambia la imagen para móvil si existe */
                /* Nota: En Blade, es mejor usar media queries directas o Tailwind para esto */
            }
            @media (max-width: 767px) {
                .landing-background {
                    background-image: url("{{ asset('images/fondo1_celu.jpg') }}") !important;
                    background-position: center;
                    min-height: 90vh; /* Ajuste si es necesario */
                }
            }
            /* Reset de estilos de Laravel que pueden interferir con tu diseño */
            .landing-page {
                padding-top: 50px; /* Espacio para la barra de navegación de Laravel */
                /* Asegura que el contenido se vea sobre el fondo */
                position: relative;
                z-index: 10;
            }

            .header-content, .countdown-section {
                position: relative;
                z-index: 2;
                max-width: 600px;
                margin: 0 auto;
                text-align: center;
            }
/* Estilos del contador de tiempo para que se vean bien sobre la imagen */
.countdown-section h2 { color: white; margin-bottom: 20px; }
.countdown-timer { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; }
.time-unit { background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.3); padding: 15px; border-radius: 10px; min-width: 80px; text-align: center; color: white; }
.time-unit span:first-child { display: block; font-size: 2.5em; font-weight: bold; color: #4dc0b5; } /* Color de acento */
.time-unit .label { display: block; font-size: 0.8em; text-transform: uppercase; color: #ccc; }

/* Estilo del botón (ajustado para Tailwind/Blade) */
.call-to-action { background-color: #3490dc; color: white; padding: 15px 30px; font-size: 1.2em; border: none; border-radius: 8px; cursor: pointer; transition: background-color 0.3s; }
.call-to-action:hover { background-color: #2779bd; }

.header-content, .countdown-section {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Contador de Tiempo --- */
.countdown-section h2 {
    color: #fff;
    font-size: 2em;
    margin-bottom: 20px;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.time-unit {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);

    /* MODIFICACIÓN: Aumentar el padding para hacer la caja más grande */
    padding: 25px; /* Estaba en 15px */

    border-radius: 10px;
    min-width: 80px;
    text-align: center;
}

/* Opcional: Si aumentas el padding, puedes aumentar la fuente del número */
.time-unit span:first-child {
    display: block;
    font-size: 3em; /* Estaba en 2.5em */
    font-weight: bold;
    color: #4dc0b5;
}


.time-unit .label {
    display: block;
    font-size: 0.8em;
    text-transform: uppercase;
    color: #ccc;
}

/* --- Botón Call-to-Action --- */
.call-to-action {
    background-color: #3490dc; /* Azul Laravel */
    color: white;
    padding: 15px 30px;
    font-size: 1.2em;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.call-to-action:hover {
    background-color: #2779bd;
}


/* --- Sección de Videos --- */
.media-section {
    background-color: #f7f7f7;
    padding: 60px 20px;
    text-align: center;
    color: #333;
}

.media-section h2 {
    font-size: 2em;
    margin-bottom: 40px;
    color: #333;
}

.video-cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.video-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    padding: 20px;
    text-align: left;
}

.video-thumbnail img {
    width: 100%;
    border-radius: 8px;
    height: auto;
    margin-bottom: 15px;
}

.watch-btn {
    display: inline-block;
    background-color: #ff0000; /* Rojo YouTube */
    color: white;
    padding: 10px 15px;
    margin-top: 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

/* --- Sección de Información y Contacto --- */
.info-section, .contact-section {
    padding: 60px 20px;
    text-align: center;
    color: #333;
}

.info-section {
    background-color: #fff;
}

.contact-section {
    background-color: #eee;
}

.info-section .containe {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
}

.info-section h1 {
    font-size: 1.5em;
    color: #3490dc;
    margin-top: 20px;
}

/* --- Footer y WhatsApp --- */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}


/* --- Modal del Formulario (Asegura que el Livewire lo use) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none; /* Controlado por Livewire, pero importante para estilos */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay[style*="display: flex;"] {
    display: flex;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    position: relative;
    color: #333;
    max-height: 90vh;
    overflow-y: auto;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #999;
}

.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.submit-button {
    width: 100%;
    background-color: #4dc0b5;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    margin-top: 10px;
}

.submit-button:disabled {
    background-color: #999;
    cursor: not-allowed;
}

.error-message {
    color: #e3342f;
    font-size: 0.9em;
    display: block;
    margin-top: 5px;
}

.message-container {
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
}

.message-container.success {
    background-color: #c6f6d5;
    color: #38a169;
}
/* --- Media Query para Móviles (Pantallas de hasta 600px) --- */
@media (max-width: 600px) {

    /* 1. Reducir el espacio entre las unidades */
    .countdown-timer {
        gap: 10px; /* Reducido de 20px a 10px */
    }

    /* 2. Reducir el padding interno de cada caja de tiempo */
    .time-unit {
        padding: 10px 5px; /* Reducido para ahorrar espacio horizontal */
        min-width: 60px; /* Asegura un ancho mínimo más pequeño */
    }

    /* 3. Reducir el tamaño de la fuente de los números (el elemento principal) */
    .time-unit span:first-child {
        font-size: 1.8em; /* Reducido de 2.5em o 3em */
    }

    /* 4. Reducir el tamaño de la fuente de la etiqueta (Días, Horas) */
    .time-unit .label {
        font-size: 0.7em; /* Reducido de 0.8em */
    }
}




