/* ================================
   CONFIGURACIÓN GENERAL
================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f1f4f1;
    color: #222;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    height: auto;
}


/* ================================
   NAVBAR
================================ */

.navbar {
    background: #064130;
    padding: 12px 0;
    border-bottom: 2px solid #D4AF37;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white !important;
    font-weight: bold;
    font-size: 22px;
}

.navbar-brand img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.nav-link {
    color: white !important;
    margin-left: 15px;
    font-size: 14px;
    transition: .3s;
}

.nav-link:hover {
    color: #D4AF37 !important;
}


/* ================================
   HERO
================================ */

.hero {
    min-height: 100vh;
    background: #064130;
    color: white;
    display: flex;
    align-items: center;
    padding: 120px 0 70px;
    position: relative;
}

.hero-contenido {
    position: relative;
    z-index: 2;
}

.subtitulo {
    color: #D4AF37;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.05;
    margin: 20px 0;
    font-weight: 800;
}

.hero h1 span {
    color: #D4AF37;
}

.hero p {
    max-width: 550px;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.linea-dorada {
    width: 80px;
    height: 4px;
    background: #D4AF37;
    margin: 20px 0;
}

.hero-imagen {
    width: 100%;
    max-width: 500px;
    max-height: 500px;
    object-fit: contain;
}


/* ================================
   BOTONES
================================ */

.btn-dorado {
    display: inline-block;
    background: #D4AF37;
    color: #064130;
    padding: 13px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: .3s;
}

.btn-dorado:hover {
    background: white;
    color: #064130;
    transform: translateY(-3px);
}


/* ================================
   SECCIONES
================================ */

section {
    padding: 90px 0;
}

.titulo-seccion {
    text-align: center;
    margin-bottom: 50px;
}

.titulo-seccion h2,
.sobre-mi h2,
.contacto h2 {
    color: #064130;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    margin-top: 12px;
}


/* ================================
   SOBRE MÍ
================================ */

.sobre-mi {
    background: white;
}

.foto-luisa {
    width: 100%;
    max-width: 350px;
    max-height: 450px;
    object-fit: cover;
    border-radius: 20px;
    border: 5px solid #D4AF37;
}

.sobre-mi p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 15px;
}


/* ================================
   PORTAFOLIO
================================ */

.portafolio {
    background: #eef3ef;
}

.proyecto-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .12);
    transition: .3s;
}

.proyecto-card:hover {
    transform: translateY(-8px);
}

.proyecto-card > img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.proyecto-contenido {
    padding: 30px;
}

.proyecto-contenido span {
    color: #D4AF37;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 1px;
}

.proyecto-contenido h3 {
    color: #064130;
    font-size: 30px;
    margin: 10px 0;
}

.proyecto-contenido p {
    line-height: 1.7;
}


/* ================================
   FOTOGRAFÍA
================================ */

.fotografia {
    background: white;
}

.foto-card {
    height: 350px;
    overflow: hidden;
    border-radius: 15px;
}

.foto-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.foto-card:hover img {
    transform: scale(1.06);
}


/* ================================
   AUDIOVISUAL
================================ */

.audiovisual {
    background: #064130;
    color: white;
}

.audiovisual .titulo-seccion h2 {
    color: white;
}

.video-card {
    background: #0a513e;
    border-radius: 15px;
    overflow: hidden;
}

.video-card video {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.video-info {
    padding: 25px;
}

.video-info h3 {
    color: #D4AF37;
}


/* ================================
   PROCESO
================================ */

.proceso {
    background: #eef3ef;
}

.paso {
    background: white;
    padding: 30px;
    height: 100%;
    border-radius: 15px;
    border-top: 4px solid #D4AF37;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
}

.numero {
    color: #D4AF37;
    font-size: 35px;
    font-weight: bold;
}

.paso h3 {
    color: #064130;
    margin: 15px 0;
}


/* ================================
   HABILIDADES
================================ */

.habilidades {
    background: white;
}

.habilidades-lista {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.habilidades-lista span {
    background: #064130;
    color: white;
    padding: 12px 22px;
    border-radius: 30px;
}

.habilidades-lista span:hover {
    background: #D4AF37;
    color: #064130;
}


/* ================================
   CONTACTO
================================ */

.contacto {
    background: #064130;
    color: white;
}

.contacto h2 {
    color: white;
}

.contacto p {
    font-size: 18px;
    margin: 20px auto 30px;
}


/* ================================
   FOOTER
================================ */

footer {
    background: #032d21;
    color: white;
    padding: 50px 0 20px;
}

.footer-logo {
    width: 70px;
    margin-bottom: 10px;
}

footer h3 {
    color: #D4AF37;
}

footer h4 {
    color: #D4AF37;
    margin-bottom: 20px;
}

footer a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 8px;
}

footer a:hover {
    color: #D4AF37;
}

.copyright {
    text-align: center;
    margin-top: 20px;
}


/* ================================
   CELULAR
================================ */

@media (max-width: 768px) {

    .hero {
        min-height: auto;
        padding: 130px 20px 60px;
        text-align: center;
    }

    .linea-dorada {
        margin: 20px auto;
    }

    .hero-imagen {
        max-width: 350px;
        margin-top: 40px;
    }

    section {
        padding: 60px 20px;
    }

    .foto-card {
        height: 300px;
    }

    .video-card video {
        height: 250px;
    }

}
/* ======================================
   ANIMACIONES DE SECCIONES
====================================== */

section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.mostrar {
    opacity: 1;
    transform: translateY(0);
}


/* ======================================
   MENÚ ACTIVO
====================================== */

.nav-link.activo {
    color: #D4AF37 !important;
}


/* ======================================
   EFECTO EN BOTONES
====================================== */

.btn-dorado i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-dorado:hover i {
    transform: translateX(5px);
}
/* ======================================
   TARJETAS DE PROYECTOS — MEJORADAS
====================================== */

.proyecto-card {
    position: relative;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.proyecto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(6, 65, 48, 0.25);
}


/* Imagen del proyecto */

.proyecto-card > img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.proyecto-card:hover > img {
    transform: scale(1.06);
}


/* Capa dorada sobre la imagen */

.proyecto-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 330px;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(6, 65, 48, 0.45)
    );
    z-index: 1;
    pointer-events: none;
}


/* Contenido */

.proyecto-contenido {
    padding: 32px;
    position: relative;
    background: white;
}

.proyecto-contenido span {
    display: inline-block;
    color: #a27f12;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.proyecto-contenido h3 {
    color: #064130;
    font-size: 30px;
    margin: 5px 0 12px;
    font-weight: 800;
}

.proyecto-contenido p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}


/* Botón */

.proyecto-contenido .btn-dorado {
    font-size: 13px;
    letter-spacing: 1px;
}


/* ======================================
   GALERÍA DE FOTOGRAFÍA
====================================== */

.fotografia {
    background: #ffffff;
}

.fotografia .titulo-seccion p {
    max-width: 600px;
    margin: 15px auto 0;
    color: #666;
    line-height: 1.7;
}


/* Tarjetas fotográficas */

.foto-card {
    position: relative;
    height: 430px;
    overflow: hidden;
    border-radius: 20px;
    background: #064130;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.foto-card:hover {
    border-color: #D4AF37;
    transform: translateY(-8px);
    box-shadow: 0 18px 35px rgba(6, 65, 48, 0.25);
}


/* Imagen */

.foto-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}


/* Zoom */

.foto-card:hover img {
    transform: scale(1.08);
}


/* Capa oscura */

.foto-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(6, 65, 48, 0.65),
        transparent 55%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.foto-card:hover::after {
    opacity: 1;
}


/* ======================================
   DETALLE DORADO EN GALERÍA
====================================== */

.foto-card::before {
    content: "";
    position: absolute;
    z-index: 2;
    width: 45px;
    height: 45px;
    top: 18px;
    right: 18px;
    border-top: 2px solid #D4AF37;
    border-right: 2px solid #D4AF37;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.foto-card:hover::before {
    opacity: 1;
}


/* ======================================
   RESPONSIVE
====================================== */

@media (max-width: 768px) {

    .proyecto-card > img {
        height: 250px;
    }

    .proyecto-card::before {
        height: 250px;
    }

    .proyecto-contenido {
        padding: 25px;
    }

    .proyecto-contenido h3 {
        font-size: 25px;
    }

    .foto-card {
        height: 380px;
    }

}