﻿


.hero {
    position: relative;
    min-height: 90vh;
    padding: 80px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--fondo);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(8px);
    opacity: 0.4;
    z-index: 1;
    transform: scale(1.1);
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-image {
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(92, 201, 245, 0.3);
    box-shadow: var(--shadow-lg);
    transition: transform var(--dur) ease;
}

.hero-image:hover {
    transform: translateY(-5px);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 48px);
    color: var(--secundario);
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--primario);
    margin-bottom: 16px;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 16px;
    color: var(--texto);
    margin-bottom: 32px;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-cta {
    font-size: 18px;
    padding: 16px 32px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}


.fish-types,
.fishing-techniques,
.equipment,
.fishing-spots {
    padding: 64px 0;
}

.fish-types {
    background: var(--panel);
}

.fishing-techniques {
    background: var(--fondo);
}

.equipment {
    background: var(--panel);
}

.fishing-spots {
    background: var(--fondo);
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 32px;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transition: transform var(--dur) ease, box-shadow var(--dur) ease;
}

.content-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur-slow) ease;
}

.content-image:hover img {
    transform: scale(1.1);
}

.content-text h3 {
    font-family: 'Playfair Display', serif;
    color: var(--secundario);
    margin-bottom: 16px;
    font-size: 28px;
}

.content-text p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.images-grid .content-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 250px;
}

.images-grid .content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--dur);
}

.images-grid .content-image:hover img {
    transform: scale(1.05);
}

.accordion {
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    color: var(--muted);
    font-weight: 600;
    transition: color var(--dur) ease;
}

.accordion-header:hover {
    color: var(--primario);
}

.accordion-icon {
    font-size: 20px;
    font-weight: 300;
    transition: transform var(--dur) ease;
}

.accordion.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur-slow) ease, padding var(--dur-slow) ease;
    padding: 0;
}

.accordion.active .accordion-content {
    max-height: 500px;
    padding-top: 16px;
}

.accordion-content p {
    color: var(--muted);
    line-height: 1.7;
}



@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-image {
        height: 400px;
        order: 2;
    }

    .hero-content {
        order: 1;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
        min-height: auto;
    }

    .hero-background {
        background-attachment: scroll;
    }

    .hero-image {
        height: 300px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .content-grid.reverse {
        direction: ltr;
    }

    .content-image {
        height: 300px;
    }

    .images-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn,
    .hero-actions .google-play-link {
        width: 100%;
        justify-content: center;
    }
}


