/* About Section - Premium Version */
.about-section {
    background-color: var(--tacmex-dark-gray);
    position: relative;
    padding: 5rem 2rem;
    max-height: 950px;
    overflow: hidden;
}

.about-content {
    display: flex;
    align-items: stretch;
    gap: 3rem;
    max-height: 850px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Columna de texto - Proporción elegante */
.about-text-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem;
    position: relative;
    z-index: 3;
}

/* Animación de aparición del texto */
.about-text-column {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 1.2s ease-out 0.3s forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Header alineado a la izquierda */
.about-text-column .section-header-left {
    text-align: left;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-text-column .section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem; /* Ligeramente más pequeño para elegancia */
    font-weight: 300; /* Más delgado para sofisticación */
    text-transform: uppercase;
    letter-spacing: 3px; /* Espaciado elegante */
    margin: 0;
    color: var(--tacmex-white);
    position: relative;
    display: table;
    line-height: 1.1;
}

.about-text-column .section-title::after {
    content: '';
    position: absolute;
    width: 120px; /* Línea más larga */
    height: 2px; /* Más delgada */
    background: var(--tacmex-white); /* Solo blanco */
    bottom: -15px;
    left: 0;
    opacity: 0;
    animation: expandLine 1s ease-out 1s forwards;
}

@keyframes expandLine {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 120px;
        opacity: 1;
    }
}

/* Contenedor de párrafos */
.about-text {
    flex: 1;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.about-text p {
    font-size: 1.1rem; /* Tamaño más refinado */
    line-height: 1.8; /* Más espaciado para legibilidad premium */
    margin-bottom: 2rem; /* Más espacio entre párrafos */
    color: var(--tacmex-white);
    font-weight: 300; /* Texto más ligero */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Delays escalonados para cada párrafo */
.about-text p:nth-child(1) { animation-delay: 1.2s; }
.about-text p:nth-child(2) { animation-delay: 1.4s; }
.about-text p:nth-child(3) { animation-delay: 1.6s; }

.about-text p:last-child {
    margin-bottom: 0;
}

/* Columna de imagen - Parallax y efecto cinematográfico */
.about-image-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.about-image {
    flex: 1;
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Slides automáticos */
.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.25s ease-in-out, transform 0.5s ease;
}

.about-slide.active {
    opacity: 1;
}

/* Overlay cinematográfico sutil */
.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 107, 63, 0.1) 0%,
        transparent 30%,
        transparent 70%,
        rgba(206, 17, 38, 0.1) 100%
    );
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    animation: overlayFadeIn 2s ease-out 0.5s forwards;
}

@keyframes overlayFadeIn {
    to {
        opacity: 1;
    }
}

/* Hover effect refinado */
.about-image:hover img {
    transform: scale(1.02); /* Zoom muy sutil */
    transition: transform 1s ease-out;
}

/* Responsive refinado */
@media (max-width: 992px) {
    .about-section {
        max-height: 800px;
        padding: 4rem 2rem;
    }
    
    .about-content {
        max-height: 700px;
        gap: 2rem;
    }
    
    .about-text-column .section-title {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    
    .about-text-column {
        padding: 2rem 1.5rem;
    }
    
    .about-text p {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (max-width: 768px) {
    .about-section {
        max-height: none;
        padding: 3rem 1.5rem;
    }
    
    .about-content {
        flex-direction: column;
        max-height: none;
        gap: 2rem;
    }
    
    .about-text-column {
        flex: none;
        padding: 2rem 1rem;
    }
    
    .about-text-column .section-header-left {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .about-text-column .section-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .about-text-column .section-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
    }
    
    .about-text p {
        text-align: center;
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .about-image-column {
        flex: none;
    }
    
    .about-image {
        height: 400px;
    }
}
