/* --- Variables de Color y Reset Básico --- */
:root {
    --dark-bg: #21272F;
    --light-green: #ceda8c;
    /* Color ajustado al de la imagen */
    --button-accent: #8E9A5B; 
    --text-light: #f0f0f0;
    --input-bg: #4a4a4a;
    --box-bg: #2C333C; /* Color para las cajas del contador */
    --font-main: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow: hidden; /* Evita el scroll */
}

/* --- Contenedor Principal (Flexbox) --- */
.container {
    display: flex;
    width: 100vw;
    height: 100vh;
}

/* --- Columna Izquierda: Información --- */
.info-panel {
    flex-basis: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Esto ya lo tenías, centra verticalmente */
    align-items: center;     /* CAMBIO: Esto centra horizontalmente el contenido */
    padding: 4rem;
    background-color: var(--dark-bg);
    z-index: 2;
    position: relative;
}

.content-wrapper {
    max-width: 450px; /* Aumentado un poco para dar espacio */
}

h1 {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--light-green);
    line-height: 1.2;
    margin-bottom: 2rem;
}

/* --- ESTILOS ACTUALIZADOS PARA EL CONTADOR --- */
.countdown-container {
    display: flex;
    gap: 0.75rem; /* Espacio entre las cajas */
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Estilo para cada caja (días, horas, etc.) */
.countdown-container > div {
    background-color: var(--box-bg);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    text-align: center;
    min-width: 80px; /* Ancho mínimo para consistencia */
    color: #a0a0a0; /* Color del texto secundario (DAYS, H, etc.) */
    line-height: 1.2;
}

/* Estilo para los números grandes */
.countdown-container span {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    color: var(--text-light); /* Números más brillantes */
}

.info-panel p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* --- ESTILOS ACTUALIZADOS PARA EL FORMULARIO --- */
.subscribe-form {
    display: flex;
    border-radius: 50px;
    overflow: hidden;
    background-color: var(--input-bg);
    margin-bottom: 3rem;
    border: 1px solid #a0a0a0;/* AÑADIDO: Este es el borde/stroke */
}

.subscribe-form input {
    flex-grow: 1;
    background-color: transparent; /* El fondo lo da el <form> */
    border: none;
    padding: 1rem 1.5rem;
    color: var(--text-light);
    font-size: 1rem;
    font-family: var(--font-main);
    outline: none; /* Quita el borde azul al hacer foco */
}

.subscribe-form input::placeholder {
    color: #a0a0a0;
}

.subscribe-form button {
    background-color: var(--button-accent); /* Color verde olivo de la imagen */
    border: none;
    /* Eliminamos el border-radius del botón */
    padding: 1rem 2.5rem;
    color: var(--dark-bg); /* Texto oscuro para mejor contraste */
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: var(--font-main);
    white-space: nowrap;
}

.subscribe-form button:hover {
    background-color: #A3B071; /* Un poco más claro en hover */
}

/* --- Iconos Sociales --- */
.social-links {
    position: absolute;
    left: 4rem;
    bottom: 4rem;
    display: flex;
    gap: 1.5rem;
}

.social-links a img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-links a:hover img {
    opacity: 1;
}

/* --- Columna Derecha: Imagen --- */
.image-panel {
    flex-grow: 1;
    background-image: url('./assets/bg.img.png');
    background-size: cover;
    background-position: center right;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #21272F;
    opacity: 0.90;
}

.main-logo {
    width: 60%; 
    max-width: 450px;
    height: auto;
    z-index: 1;
}

/* --- Responsividad para móviles --- */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }
    .info-panel {
        flex-basis: auto;
        order: 2; 
        height: auto;
        padding: 2rem;
        align-items: center;
        text-align: center;
    }
    .content-wrapper {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .image-panel {
       order: 1; 
       min-height: 300px;
    }
    .social-links {
        position: static;
        padding-top: 1rem;
    }
    h1 {
        font-size: 2rem;
    }
    .main-logo {
        width: 50%;
    }
}