/*==========================================
    ENAFOL
    style.css
==========================================*/

/*==============================
    VARIABLES
==============================*/

:root{

    --color-primary:#C1121F;
    --color-secondary:#003049;
    --color-gold:#D4A017;
    --color-dark:#111111;
    --color-light:#ffffff;
    --color-gray:#f5f5f5;

    --shadow:0 10px 30px rgba(0,0,0,.15);

    --radius:15px;

    --transition:.35s;

    --max-width:1200px;

}

/*==============================
    RESET
==============================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:#ffffff;

    color:#333;

    line-height:1.7;

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

section{

    padding:90px 20px;

}

/*==============================
    CONTENEDOR
==============================*/

.container{

    width:100%;

    max-width:var(--max-width);

    margin:auto;

}

/*==============================
    HEADER
==============================*/

header{

    position:fixed;

    width:100%;

    top:0;

    left:0;

    z-index:999;

    transition:.4s;

    background:rgba(0,0,0,.25);

    backdrop-filter:blur(12px);

}

.header-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    height:85px;

}

.logo img{

    width:75px;

}

/*==============================
    MENU
==============================*/

nav ul{

    display:flex;

    gap:35px;

}

nav a{

    color:#fff;

    font-weight:500;

    transition:var(--transition);

}

nav a:hover{

    color:var(--color-gold);

}

.menu-toggle{

    display:none;

    border:none;

    background:none;

    color:#fff;

    font-size:30px;

    cursor:pointer;

}

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

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    background-image:url("../assets/images/portada-hero.jpg");

    background-position:center;

    background-size:cover;

    background-repeat:no-repeat;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:rgba(0,0,0,.60);

}

.hero-content{

    position:relative;

    color:#fff;

    max-width:850px;

    z-index:2;

}

.hero-tag{

    display:inline-block;

    background:var(--color-primary);

    padding:8px 18px;

    border-radius:30px;

    margin-bottom:25px;

    letter-spacing:2px;

    font-size:.9rem;

    font-weight:600;

}

.hero h1{

    font-size:5rem;

    margin-bottom:10px;

    font-weight:800;

}

.hero h2{

    font-size:2rem;

    color:var(--color-gold);

    margin-bottom:25px;

    font-weight:500;

}

.hero p{

    font-size:1.15rem;

    margin:auto;

    max-width:700px;

    margin-bottom:40px;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

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

.btn-primary,
.btn-secondary{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:15px 35px;

    border-radius:50px;

    font-weight:600;

    transition:var(--transition);

}

.btn-primary{

    background:var(--color-primary);

    color:#fff;

}

.btn-primary:hover{

    transform:translateY(-5px);

    background:#9e0d18;

    box-shadow:var(--shadow);

}

.btn-secondary{

    border:2px solid #fff;

    color:#fff;

}

.btn-secondary:hover{

    background:#fff;

    color:var(--color-secondary);

}

/*==============================
    TITULOS
==============================*/

.section-header{

    text-align:center;

    margin-bottom:70px;

}

.section-header span{

    color:var(--color-primary);

    font-weight:700;

    letter-spacing:3px;

    font-size:.9rem;

}

.section-header h2{

    font-size:2.7rem;

    color:var(--color-secondary);

    margin:15px 0;

    font-weight:700;

}

.section-header p{

    max-width:750px;

    margin:auto;

    color:#666;

    font-size:1.05rem;

}

/*==============================
    FONDO OSCURO
==============================*/

.dark{

    background:var(--color-secondary);

}

.dark .section-header h2{

    color:#fff;

}

.dark .section-header p{

    color:#ddd;

}

/*==============================
    NOSOTROS
==============================*/

.about-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:35px;

}

.about-card{

    background:#fff;

    border-radius:var(--radius);

    padding:40px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.about-card:hover{

    transform:translateY(-10px);

}

.about-icon{

    width:80px;

    height:80px;

    margin:auto;

    margin-bottom:25px;

    border-radius:50%;

    background:var(--color-primary);

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:2rem;

}

.about-card h3{

    margin-bottom:20px;

    color:var(--color-secondary);

}

/*==============================
    GALERIA
==============================*/

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:20px;

}

.gallery-item{

    overflow:hidden;

    border-radius:18px;

    cursor:pointer;

    box-shadow:var(--shadow);

}

.gallery-item img{

    width:100%;

    height:320px;

    object-fit:cover;

    transition:.6s;

}

.gallery-item:hover img{

    transform:scale(1.12);

}

/*==============================
    PRESENTACIONES
==============================*/

.services-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:30px;

}

.service-card{

    background:#fff;

    padding:35px;

    text-align:center;

    border-radius:15px;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.service-card:hover{

    transform:translateY(-8px);

}

.service-icon{

    width:75px;

    height:75px;

    margin:auto;

    margin-bottom:20px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:var(--color-secondary);

    color:#fff;

    font-size:2rem;

}

.service-card h3{

    margin-bottom:18px;

    color:var(--color-secondary);

}
/*==============================
    VIDEOS
==============================*/

.video-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:30px;

}

.video-card{

    background:#ffffff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.video-card:hover{

    transform:translateY(-8px);

}

.video-card video{

    width:100%;

    display:block;

}

.video-card h3{

    padding:20px;

    text-align:center;

    color:var(--color-secondary);

    font-size:1.1rem;

}

/*==============================
    REDES SOCIALES
==============================*/

.social-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:30px;

}

.social-card{

    background:#fff;

    border-radius:18px;

    padding:35px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:var(--transition);

}

.social-card:hover{

    transform:translateY(-8px);

}

.social-card img{

    width:70px;

    margin:auto;

    margin-bottom:20px;

}

.social-card h3{

    color:var(--color-secondary);

    margin-bottom:10px;

}

.social-card p{

    color:#666;

}

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

.contact-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:40px;

    align-items:center;

}

.contact-info{

    background:#fff;

    padding:40px;

    border-radius:18px;

    box-shadow:var(--shadow);

}

.contact-info h3{

    color:var(--color-secondary);

    margin-bottom:25px;

}

.contact-info p{

    margin-bottom:20px;

}

.contact-qr{

    text-align:center;

}

.contact-qr img{

    width:260px;

    margin:auto;

    margin-bottom:20px;

    border-radius:12px;

    background:#fff;

    padding:10px;

    box-shadow:var(--shadow);

}

/*==============================
    CTA
==============================*/

.cta{

    background:linear-gradient(135deg,var(--color-primary),#8d0c17);

    color:#fff;

    text-align:center;

}

.cta h2{

    font-size:2.5rem;

    margin-bottom:20px;

}

.cta p{

    max-width:700px;

    margin:auto;

    margin-bottom:35px;

}

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

footer{

    background:#111;

    color:#ddd;

    padding:60px 20px;

}

.footer-content{

    text-align:center;

}

.footer-logo{

    width:110px;

    margin:auto;

    margin-bottom:25px;

}

.footer-content p{

    margin-bottom:10px;

}

/*==============================
    BOTON VOLVER ARRIBA
==============================*/

#btnTop{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:var(--color-primary);

    color:#fff;

    font-size:22px;

    cursor:pointer;

    box-shadow:var(--shadow);

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:998;

}

#btnTop.show{

    opacity:1;

    visibility:visible;

}

/*==============================
    WHATSAPP
==============================*/

.whatsapp-float{

    position:fixed;

    left:30px;

    bottom:30px;

    width:65px;

    height:65px;

    border-radius:50%;

    background:#25D366;

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:var(--shadow);

    z-index:998;

    transition:.35s;

}

.whatsapp-float:hover{

    transform:scale(1.1);

}

.whatsapp-float img{

    width:34px;

}

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

@media(max-width:992px){

    .hero h1{

        font-size:3.7rem;

    }

    .hero h2{

        font-size:1.6rem;

    }

}

@media(max-width:768px){

    .header-container{

        height:75px;

    }

    .menu-toggle{

        display:block;

    }

    nav{

        position:absolute;

        top:75px;

        left:0;

        width:100%;

        background:var(--color-secondary);

        display:none;

    }

    nav.active{

        display:block;

    }

    nav ul{

        flex-direction:column;

        gap:0;

    }

    nav li{

        border-bottom:1px solid rgba(255,255,255,.10);

    }

    nav a{

        display:block;

        padding:18px;

    }

    .hero{

        padding:140px 20px 80px;

    }

    .hero h1{

        font-size:3rem;

    }

    .hero h2{

        font-size:1.35rem;

    }

    .hero p{

        font-size:1rem;

    }

    .section-header h2{

        font-size:2rem;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:center;

    }

}

@media(max-width:480px){

    .hero h1{

        font-size:2.4rem;

    }

    .hero h2{

        font-size:1.15rem;

    }

    .section{

        padding:70px 20px;

    }

    .contact-qr img{

        width:200px;

    }

    #btnTop{

        width:50px;

        height:50px;

        right:20px;

        bottom:20px;

    }

    .whatsapp-float{

        width:58px;

        height:58px;

        left:20px;

        bottom:20px;

    }

}