* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-primary: #6ab04c;
    --yellow-primary: #f9ca24;
    --blue-primary: #0984e3;
    --teal-primary: #00b894;
    --bg-light: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-light);
    color: #333;
}

/* Header */
header {
    background: white;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}


.logo-img {
    width: 80px;
    height: auto;
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--green-primary);
}

.info-icon {
    background: var(--blue-primary);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Hero Banner Principal */
.hero-main {
    position: relative;
    height: 600px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('https://images.unsplash.com/photo-1542273917363-3b1817f69a2d?w=1600&h=600&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo-container {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
}

.colombia-map {
    width: 180px;
    height: 180px;
    background: var(--yellow-primary);
    border-radius: 50% 50% 0 50%;
    position: relative;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.mascot {
    width: 140px;
    height: 140px;
    position: relative;
}

.mascot-body {
    width: 80px;
    height: 100px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 40px 40px 50px 50px;
    position: absolute;
    left: 30px;
    top: 20px;
}

.mascot-head {
    width: 60px;
    height: 60px;
    background: #f5f6fa;
    border-radius: 50%;
    position: absolute;
    left: 40px;
    top: 0;
    border: 4px solid var(--yellow-primary);
}

.mascot-flower {
    width: 25px;
    height: 25px;
    background: #e74c3c;
    border-radius: 50%;
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
}

.bivii-text {
    font-size: 5rem;
    font-weight: bold;
    color: var(--green-primary);
    text-shadow: 3px 3px 0 rgba(0,0,0,0.1);
    letter-spacing: 5px;
    line-height: 1;
}

.bivii-text .bi-part { color: var(--green-primary); }
.bivii-text .vii-part { color: var(--green-primary); }

.hero-subtitle {
    color: white;
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.hero-btn {
    background: var(--blue-primary);
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

.hero-btn.biodiversidad { background: var(--green-primary); }
.hero-btn.economia { background: var(--blue-primary); }
.hero-btn.arte { background: #e67e22; }
.hero-btn.geografia { background: var(--teal-primary); }

/* Secciones Principales */
main {
    padding: 80px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--green-primary);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: var(--yellow-primary);
    border-radius: 3px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.card-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s;
}

.card:hover .card-image {
    transform: scale(1.15);
}

.card-image-container {
    overflow: hidden;
    position: relative;
}

.card-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.card-body {
    padding: 35px;
}

.card-body h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--green-primary);
}

.card-body p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.explorar {
    color: var(--blue-primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    transition: gap 0.3s;
}

.card:hover .explorar {
    gap: 18px;
}

/* Galería Temática */
.gallery-section {
    margin-top: 100px;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e9 100%);
    border-radius: 30px;
}

.gallery-content {
    padding: 0 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.gallery-item:hover img {
    transform: scale(1.2) rotate(2deg);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 40px 25px 25px;
    transform: translateY(100%);
    transition: transform 0.4s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.gallery-overlay p {
    color: rgba(255,255,255,0.95);
    font-size: 1rem;
    line-height: 1.5;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: white;
    padding: 60px 50px;
    text-align: center;
    margin-top: 100px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
}

footer p {
    margin: 10px 0;
    font-size: 1.1rem;
    opacity: 0.95;
}

.footer-copyright {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.3);
    font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        gap: 20px;
        font-size: 0.9rem;
    }

    .hero-main {
        height: 500px;
    }

    .bivii-text {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-wrap: wrap;
    }

    main, .gallery-content {
        padding: 40px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .colombia-map {
        width: 120px;
        height: 120px;
    }
}