/* =======================
   CONOCE VENTAPORTAPENDONES - ESTILOS EXCLUSIVOS
   CSS específico para página "Conócenos"
   Mobile-First Approach
   ======================= */

/* =======================
   DIV-1: HERO INTRO SECTION
   ======================= */
#div-1 {
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(27, 77, 62, 0.95) 0%, rgba(184, 115, 51, 0.90) 100%), 
                url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?w=1920') center/cover no-repeat;
    background-size: cover;
    background-position: center;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

#div-1.visible {
    display: flex;
}

.hero-intro-container {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    z-index: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-intro-content {
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-intro-title {
    font-family: 'poiret_oneregular', Arial, sans-serif;
    font-size: calc(2rem + 2.5vw);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.6);
    color: #ffffff;
}

.hero-intro-subtitle {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: calc(1.125rem + 0.875vw);
    line-height: 1.6;
    margin-bottom: 40px;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
    color: #FAF3E0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-button-container {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-intro-button {
    display: inline-block;
    padding: 18px 45px;
    background-color: #B87333;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Raleway', Arial, sans-serif;
    font-size: calc(1rem + 0.5vw);
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(184, 115, 51, 0.5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

.hero-intro-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.hero-intro-button:hover::before {
    width: 300px;
    height: 300px;
}

.hero-intro-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(184, 115, 51, 0.6);
    background-color: #9d5f27;
}

.hero-intro-button:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .hero-intro-title {
        font-size: calc(1.75rem + 3vw);
        margin-bottom: 20px;
    }

    .hero-intro-subtitle {
        font-size: calc(1rem + 1vw);
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .hero-button-container {
        padding: 0 20px;
    }

    .hero-intro-button {
        padding: 16px 35px;
        font-size: calc(0.9rem + 0.75vw);
        width: 90%;
        max-width: 320px;
    }
}

/* =======================
   ESTILOS PARA SECCIONES DE CONTENIDO
   Layout texto/imagen responsive
   ======================= */

.section-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.section-wrapper.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1;
    min-width: 0;
}

.text-content .section-title {
    font-family: 'poiret_oneregular', Arial, sans-serif;
    font-size: calc(1.75rem + 1vw);
    font-weight: 700;
    color: #1B4D3E;
    margin-bottom: 30px;
    line-height: 1.3;
}

.text-content .section-text {
    font-family: 'Raleway', Arial, sans-serif;
    font-size: calc(1.0625rem + 0.25vw);
    line-height: 1.85;
    color: #333;
    margin-bottom: 22px;
    text-align: justify;
}

.text-content .section-text:last-child {
    margin-bottom: 0;
}

.image-content {
    flex: 0 0 40%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* Responsive: móvil primero */
@media (max-width: 768px) {
    .section-wrapper {
        flex-direction: column;
        padding: 50px 20px;
        gap: 35px;
    }

    .section-wrapper.reverse {
        flex-direction: column;
    }

    .text-content {
        width: 100%;
        order: 1;
    }

    .image-content {
        flex: 1 1 100%;
        width: 100%;
        order: 2;
    }

    .text-content .section-title {
        font-size: calc(1.5rem + 1.25vw);
        text-align: center;
        margin-bottom: 25px;
    }

    .text-content .section-text {
        font-size: calc(1rem + 0.5vw);
        text-align: left;
        line-height: 1.75;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .section-wrapper {
        gap: 45px;
        padding: 70px 30px;
    }

    .image-content {
        flex: 0 0 45%;
    }

    .text-content .section-title {
        font-size: calc(1.6rem + 0.9vw);
    }

    .text-content .section-text {
        font-size: calc(1.05rem + 0.3vw);
    }
}

@media (min-width: 1025px) and (max-width: 1400px) {
    .section-wrapper {
        gap: 55px;
        padding: 75px 40px;
    }
}

/* =======================
   ANIMACIONES
   ======================= */
.animated {
    opacity: 0;
}

.animated.escalar.bounce-in {
    transform: scale(0.9);
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), opacity 1s ease-out;
}

.animated.escalar.bounce-in.visible {
    opacity: 1 !important;
    transform: scale(1);
}

.animated.visible {
    opacity: 1 !important;
}

/* =======================
   COLORES DE FONDO POR DIV
   ======================= */
#div-2 {
    background-color: #f9f4e8;
}

#div-3 {
    background-color: #FAF3E0;
}

#div-4 {
    background-color: #f9f4e8;
}

#div-5 {
    background-color: #FAF3E0;
}

#div-6 {
    background-color: #f9f4e8;
}

/* Asegurar que los divs tengan el tamaño mínimo correcto */
#div-2, #div-3, #div-4, #div-5, #div-6 {
    width: 100%;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    min-height: 600px;
}

#div-2 .content, 
#div-3 .content, 
#div-4 .content, 
#div-5 .content, 
#div-6 .content {
    position: relative;
    z-index: 2;
    max-width: 1800px;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    #div-2, #div-3, #div-4, #div-5, #div-6 {
        min-height: 500px;
    }
}

/* =======================
   ESPACIADO Y SEPARACIONES
   ======================= */
.content {
    position: relative;
    z-index: 2;
}

/* Mejoras de accesibilidad */
.section-title:focus {
    outline: 3px solid #1B4D3E;
    outline-offset: 5px;
}

.hero-intro-button:focus {
    outline: 3px solid #FAF3E0;
    outline-offset: 3px;
}

/* Transiciones suaves */
.section-wrapper {
    transition: opacity 0.3s ease;
}

