﻿/* =========================
   GENERAL
========================= */

body {
    background: #f4f7f9;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    margin: 0;
    color: #1f2d3d;
}

/* =========================
   HERO PREMIUM
========================= */

.hero-premium {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient( rgba(6,59,70,0.80), rgba(6,59,70,0.80) ), url('../img/imagen1.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 40px 20px;
}

.hero-content {
    max-width: 1000px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeUp 1s ease forwards;
}

 
.banner-animado {
    color: white;
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 18px;
    color: white;
    text-shadow: 0 6px 20px rgba(0,0,0,0.35);
    animation: itemUp 0.7s ease-out 0.25s both;
    animation: fadeUp 1s ease forwards;
    animation-delay: .3s;
}

.texto-animado {
    color: rgba(255,255,255,0.95);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.8;
    max-width: 850px;
    margin: auto;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1.2s ease forwards;
    animation-delay: .6s;
}

.hero-botones {
    margin-top: 40px;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s ease forwards;
    animation-delay: .9s;
}

.btn-principal,
.btn-secundario {
    display: inline-block;
    padding: 14px 28px;
    margin: 8px;
    border-radius: 35px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s ease;
}

.btn-principal {
    background: #ff4c1e;
    color: white;
}

    .btn-principal:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(255,76,30,.35);
    }

.btn-secundario {
    border: 2px solid white;
    color: white;
}

    .btn-secundario:hover {
        background: white;
        color: #063b46;
    }

/* =========================
   ANIMACION
========================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   CONTENIDO
========================= */

.section {
    padding: 80px 20px;
}

.proyectos-layout {
    max-width: 1300px;
    margin: auto;
    display: flex;
    gap: 35px;
}

/* =========================
   FOTOS
========================= */

.proyectos-fotos {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

    .proyectos-fotos img {
        width: 100%;
        height: 380px;
        object-fit: cover;
        border-radius: 14px;
        box-shadow: 0 10px 25px rgba(0,0,0,.12);
        transition: .3s ease;
    }

        .proyectos-fotos img:hover {
            transform: scale(1.02);
        }

/* =========================
   LISTA
========================= */

.proyectos-lista {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.proyecto-grupo {
    background: #063b46;
    color: white;
    padding: 14px 18px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.proyecto-item {
    background: white;
    padding: 16px;
    border-radius: 12px;
    color: #063b46;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(0,0,0,.06);
    transition: .3s ease;
}

    .proyecto-item:hover {
        transform: translateX(6px);
    }

    .proyecto-item span {
        display: block;
        margin-top: 6px;
        color: #666;
        font-size: 13px;
        font-weight: 400;
    }

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .banner-animado {
        font-size: 38px;
    }

    .texto-animado {
        font-size: 18px;
    }

    .hero-badge {
        font-size: 11px;
    }

    .proyectos-layout {
        flex-direction: column;
    }

    .proyectos-fotos img {
        height: 220px;
    }
}
