/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#050816;
    color:white;
    overflow-x:hidden;
}

/* =========================
   FONDO FUTURISTA
========================= */

.bg-overlay{
    position:fixed;
    inset:0;

    background:
    radial-gradient(circle at top left,#1b2845 0%,transparent 40%),
    radial-gradient(circle at bottom right,#7b1fa2 0%,transparent 35%),
    linear-gradient(135deg,#050816,#0a1020);

    z-index:-3;
}

.glow{
    position:fixed;
    width:450px;
    height:450px;
    border-radius:50%;
    filter:blur(120px);
    opacity:.25;
    z-index:-2;
}

.glow1{
    background:#d4af37;
    top:-100px;
    left:-100px;
}

.glow2{
    background:#6c63ff;
    bottom:-100px;
    right:-100px;
}

/* =========================
   SIDEBAR
========================= */

.sidebar{
    position:fixed;
    width:280px;
    height:100vh;

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(20px);

    border-right:1px solid rgba(255,255,255,.08);

    padding:30px 22px;

    display:flex;
    flex-direction:column;

    z-index:100;
}

/* LOGO */

.logo{
    text-align:center;
    margin-bottom:40px;
}

.logo img{
    width:180px;

    filter:
    drop-shadow(0 0 25px rgba(212,175,55,.5));
}

.logo h2{
    font-size:28px;
    margin-top:10px;
    font-weight:700;

    background:linear-gradient(
        90deg,
        #d4af37,
        #ffffff
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.logo p{
    font-size:13px;
    opacity:.8;
}

/* MENU */

.menu{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.menu a{
    text-decoration:none;
    color:white;

    padding:14px 18px;

    border-radius:16px;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.05);

    transition:.35s;

    display:flex;
    align-items:center;
    gap:10px;
}

.menu a:hover{

    transform:translateX(8px);

    background:
    linear-gradient(
        135deg,
        rgba(212,175,55,.18),
        rgba(255,255,255,.06)
    );

    box-shadow:
    0 0 20px rgba(212,175,55,.2);
}

/* CONTACTO */

.contact-box{
    margin-top:auto;

    background:rgba(255,255,255,.04);

    padding:20px;

    border-radius:20px;

    border:1px solid rgba(255,255,255,.06);
}

.contact-box h3{
    margin-bottom:12px;
    color:#d4af37;
}

.contact-box p{
    margin-bottom:8px;
    font-size:14px;
    opacity:.9;
}

/* =========================
   CONTENT
========================= */

.content{
    margin-left:280px;
    padding:50px;
}

/* =========================
   HERO
========================= */

.hero{
    min-height:90vh;

    display:flex;
    align-items:center;
}

.tag{
    display:inline-block;

    padding:8px 16px;

    border-radius:50px;

    background:rgba(212,175,55,.15);

    color:#d4af37;

    font-size:13px;

    margin-bottom:20px;
}

.hero h1{
    font-size:72px;
    line-height:1.05;

    max-width:850px;

    margin-bottom:25px;
}

.hero p{
    max-width:650px;

    color:#cfd4e0;

    line-height:1.8;

    font-size:18px;

    margin-bottom:35px;
}

/* =========================
   BUTTONS
========================= */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:14px 30px;

    border-radius:60px;

    text-decoration:none;
    color:white;

    font-weight:600;

    background:
    linear-gradient(
        135deg,
        #d4af37,
        #9b59b6
    );

    transition:.35s;
}

.btn:hover{
    transform:translateY(-4px);

    box-shadow:
    0 10px 35px rgba(212,175,55,.35);
}

.secondary{
    background:transparent;
    border:1px solid rgba(255,255,255,.15);
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

/* =========================
   SECTIONS
========================= */

.section{
    margin-top:90px;
}

.section-title h2{
    font-size:36px;
    margin-bottom:30px;
}

/* =========================
   GALERIA
========================= */

.gallery-grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(260px,1fr));

    gap:24px;
}

.gallery-card{
    position:relative;

    overflow:hidden;

    border-radius:24px;

    border:1px solid rgba(255,255,255,.08);

    height:320px;
}

.gallery-card img{
    width:100%;
    height:100%;
    object-fit:cover;

    transition:.6s;
}

.gallery-card:hover img{
    transform:scale(1.1);
}

.overlay{
    position:absolute;
    inset:0;

    background:
    linear-gradient(
        transparent,
        rgba(0,0,0,.75)
    );

    display:flex;
    align-items:end;
    justify-content:center;

    padding:25px;

    opacity:0;

    transition:.4s;
}

.gallery-card:hover .overlay{
    opacity:1;
}

/* =========================
   SERVICES
========================= */

.services-grid{
    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(260px,1fr));

    gap:25px;
}

.service-card{
    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    padding:35px;

    border-radius:24px;

    transition:.4s;
}

.service-card:hover{
    transform:translateY(-10px);

    box-shadow:
    0 15px 40px rgba(0,0,0,.35);
}

.icon{
    font-size:40px;
    margin-bottom:18px;
}

.service-card h3{
    margin-bottom:14px;
}

.service-card p{
    color:#cfd4e0;
    line-height:1.7;
}

/* =========================
   ABOUT
========================= */

.about-card{
    display:flex;
    align-items:center;
    gap:35px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.08);

    padding:35px;

    border-radius:30px;

    flex-wrap:wrap;
}

.about-card img{
    width:280px;
}

.about-card p{
    color:#cfd4e0;
    line-height:1.9;
    margin-top:15px;
}

/* =========================
   UTILIDADES
========================= */

.mt{
    margin-top:25px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:980px){

    .sidebar{
        position:relative;
        width:100%;
        height:auto;
    }

    .content{
        margin-left:0;
        padding:25px;
    }

    .hero h1{
        font-size:48px;
    }

    .hero{
        min-height:auto;
        padding-top:50px;
    }
}

@media(max-width:600px){

    .hero h1{
        font-size:38px;
    }

    .section-title h2{
        font-size:28px;
    }

    .gallery-card{
        height:240px;
    }
}