
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


:root{
    --white: #f9f9f9;
    --oscuro: #042608;
    --claro: #FAEDD9;
    --medio:#808F12;
    --intermedio: #2A5C0B;
    --naranja:#EA2A15;
    --font: "Montserrat", sans-serif;
}

/* Slider a pantalla completa */
.fullscreen-slider {
    width: 100%;
    height: 700px;
    position: relative;
    overflow: hidden;
}

/* Slides (imágenes) */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contenido Bilateral */
.slider-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    z-index: 10;
}

/* Lado Izquierdo (Logo + Texto) */
.left-content {
    text-align: center;
    color: #FAEDD9;
    max-width: 400px;
}

.logo {
    width: 150px; /* Ajusta según tu logo */
    margin-bottom: 15px;
}

.logo-text {
    font-size: 3.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-family: var(--font);
    font-weight: 700;
    text-align: center;
}

/* Lado Derecho (Título + Botón) */
.right-content {
    text-align: left;
    color: #FAEDD9;
    max-width: 500px;
}

.right-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.right-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cta-btn {
    padding: 12px 30px;
    background: #042608;
    color: #FAEDD9;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s;
}

.cta-btn:hover {
    background: #1a4720;
}

/* Controles del slider (flechas) */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: #FAEDD9;
    font-size: 2rem;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.6);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

/* Responsive */
@media (max-width: 768px) {

    .fullscreen-slider {
        height: 500px;
    }

    .slider-content {
        flex-direction: column;
        justify-content: center;
        padding: 0 5%;
    }

    .left-content, .right-content {
        text-align: center;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .right-content {
        order: -1; /* El título arriba en móvil */
    }

    .logo {
        width: 100px;
    }

    .right-content h1 {
        font-size: 2rem;
    }

    .right-content .subtitle {
        font-size: 1rem;
    }

    .logo-text {
    font-size: 2.2rem;
    }
}