/* index-styles.css - Estilos específicos del index */
/* HERO SECTION */
.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
    transition: filter 0.5s ease;
}

.hero video.dimmed {
    filter: brightness(0.4);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(30, 102, 73, 0.17) 0%, rgba(0, 0, 0, 0) 40%);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 70px;
    font-weight: 900;
    max-width: 600px;
    line-height: 1.1;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

/* BOTÓN PAUSA MEJORADO */
.pause-btn {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

.pause-btn:hover {
    transform: scale(1.1) rotate(5deg);
    background: #fff;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

/* NEWS SECTION */
.news {
    padding: 80px 40px;
    background: #f5f9f8;
}

.news-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #01795b;
    position: relative;
}

.news-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #01795b;
    border-radius: 2px;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
}

.card.animated {
    opacity: 1;
    transform: translateY(0);
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover img {
    transform: scale(1.08);
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #01795b;
}

.card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: #01795b;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    gap: 10px;
    color: #014d3a;
}