
/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    background:#0a0a0a;
    color:#fff;
    overflow-x:hidden;
}

/* =========================
   NAVBAR
========================= */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:20px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:rgba(0,0,0,.65);
    backdrop-filter:blur(12px);
    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    height:80px;
}

.logo h2{
    font-size:1.5rem;
    font-weight:700;
}

.menu{
    display:flex;
    list-style:none;
    gap:35px;
}

.menu a{
    text-decoration:none;
    color:white;
    font-weight:500;
    transition:.3s;
}

.menu a:hover{
    color:#cfcfcf;
}

/* =========================
   HERO
========================= */

.hero{
    height:100vh;
    background:url('../assents/hero.png');
    background-size:cover;
    background-position:center;
    position:relative;
    display:flex;
    align-items:center;
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(0,0,0,.85),
        rgba(0,0,0,.4)
    );
}

.hero-content{
    position:relative;
    z-index:2;
    margin-left:8%;
    max-width:700px;
}

.hero h1{
    font-size:5rem;
    line-height:1.1;
    margin-bottom:25px;
}

.hero p{
    font-size:1.2rem;
    color:#d5d5d5;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    gap:15px;
}

.btn-primary{
    background:white;
    color:black;
    padding:16px 32px;
    border-radius:50px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.btn-primary:hover{
    transform:translateY(-3px);
}

.btn-secondary{
    border:1px solid white;
    color:white;
    padding:16px 32px;
    border-radius:50px;
    text-decoration:none;
    transition:.3s;
}

.btn-secondary:hover{
    background:white;
    color:black;
}

/* =========================
   SECCIONES
========================= */

section{
    padding:120px 8%;
}

section h2{
    text-align:center;
    font-size:3rem;
    margin-bottom:60px;
}

/* =========================
   SERVICIOS
========================= */

.services{
    background:white;
    color:black;
}

.services-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.card{
    background:white;
    border-radius:15px;
    padding:30px;
    text-align:center;
    border:1px solid #ececec;
    transition:.4s;
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.12);
}

.card h3{
    margin-bottom:15px;
}

.card p{
    color:#666;
    margin-bottom:20px;
}

.card img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:10px;
}

/* =========================
   PROYECTOS
========================= */

.projects{
    background:#0a0a0a;
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.project-grid img{
    width:100%;
    height:450px;
    object-fit:cover;
    border-radius:12px;
    transition:.4s;
}

.project-grid img:hover{
    transform:scale(1.03);
}

/* =========================
   GALERÍA VIDEO
========================= */

.gallery{
    background:white;
    color:black;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.video-card{
    position:relative;
    cursor:pointer;
    overflow:hidden;
    border-radius:15px;
}

.video-card img{
    width:100%;
    height:350px;
    object-fit:cover;
    transition:.4s;
}

.video-card:hover img{
    transform:scale(1.05);
}

.play-button{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:75px;
    height:75px;
    border-radius:50%;
    background:rgba(255,255,255,.9);
    color:black;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    font-weight:bold;
}

/* =========================
   MODAL VIDEO
========================= */

.video-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.95);
    z-index:99999;
    justify-content:center;
    align-items:center;
}

.video-modal video{
    width:90%;
    max-width:1000px;
    max-height:85vh;
    border-radius:15px;
}

.close-video{
    position:absolute;
    top:20px;
    right:40px;
    color:white;
    font-size:55px;
    cursor:pointer;
}

/* =========================
   CONTACTO
========================= */

.contact{
    background:#111;
}

form{
    max-width:700px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:20px;
}

input,
textarea{
    background:#1a1a1a;
    color:white;
    border:none;
    border-radius:10px;
    padding:18px;
}

textarea{
    min-height:150px;
}

button{
    padding:18px;
    border:none;
    border-radius:10px;
    background:white;
    color:black;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#e5e5e5;
}

/* =========================
   FOOTER
========================= */

.footer{
    background:#111;
    text-align:center;
    padding:50px 20px;
}

.footer h3{
    margin-bottom:20px;
}

.social-links{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
}

.social-links a{
    color:white;
    text-decoration:none;
}

.social-links a:hover{
    opacity:.8;
}

.footer p{
    margin-top:25px;
}

/* =========================
   WHATSAPP
========================= */

.whatsapp-float{
    position:fixed;
    right:25px;
    bottom:25px;
    width:65px;
    height:65px;
    border-radius:50%;
    background:#25D366;
    color:white;
    text-decoration:none;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:30px;
    z-index:9999;
}

.whatsapp-float:hover{
    transform:scale(1.1);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

    .menu{
        display:none;
    }

    .hero h1{
        font-size:2.6rem;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .services-grid,
    .project-grid,
    .gallery-grid{
        grid-template-columns:1fr;
    }

    .logo h2{
        font-size:1rem;
    }

    .logo img{
        height:60px;
    }
}
/* =========================
   SOBRE NOSOTROS
========================= */

.about{
    background:#111;
    color:white;
    padding:120px 8%;
}

.about-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.about-image img{
    width:100%;
    border-radius:20px;
    object-fit:cover;
    box-shadow:0 20px 40px rgba(0,0,0,.3);
}

.about-content h2{
    font-size:3rem;
    margin-bottom:30px;
    text-align:left;
}

.about-content p{
    color:#d5d5d5;
    line-height:1.9;
    margin-bottom:20px;
    font-size:1.05rem;
}

@media(max-width:768px){

    .about-container{
        grid-template-columns:1fr;
    }

    .about-content h2{
        text-align:center;
    }

}
/* =========================
   REDES SOCIALES PREMIUM
========================= */

.social-cards{
    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;
    margin-top:30px;
}

.social-card{
    width:280px;
    padding:25px;
    display:flex;
    align-items:center;
    gap:20px;
    text-decoration:none;
    color:white;

    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.1);
    border-radius:20px;

    backdrop-filter:blur(10px);

    transition:.35s;
}

.social-card:hover{
    transform:translateY(-8px);
    background:rgba(255,255,255,.08);
    box-shadow:0 15px 40px rgba(0,0,0,.35);
}

.social-icon{
    width:70px;
    height:70px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:32px;
    transition:.3s;
}

.social-card:hover .social-icon{
    transform:scale(1.1);
}

.social-card h4{
    margin-bottom:5px;
    font-size:1.1rem;
}

.social-card p{
    color:#cfcfcf;
    font-size:.9rem;
}
.fa-instagram{
    color:#E4405F;
}

.fa-facebook-f{
    color:#1877F2;
}

.fa-tiktok{
    color:#ffffff;
}