/* ===========================
   ALESSANDRO SCIUTTO PORTFOLIO
=========================== */

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

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    background:#0b0b0b;
    color:#ffffff;
    line-height:1.6;

}

.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}

/*============================
LOADER
=============================*/

#loader{

    position:fixed;
    inset:0;
    background:#000;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;

}

.loader-logo{

    text-align:center;

}

.loader-logo img{

    width:170px;
    margin-bottom:25px;

}

.loader-logo h1{

    color:#d4af37;
    font-size:2.2rem;
    font-weight:600;
    letter-spacing:2px;

}

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

header{

    position:fixed;
    top:0;
    width:100%;
    background:rgba(0,0,0,.92);
    backdrop-filter:blur(10px);
    z-index:1000;

}

header .container{

    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;

}

.logo img{

    height:70px;

}

nav ul{

    display:flex;
    list-style:none;
    gap:35px;

}

nav a{

    color:white;
    text-decoration:none;
    transition:.3s;
    font-weight:500;

}

nav a:hover{

    color:#d4af37;

}

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

.hero{

    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    position:relative;
    background:linear-gradient(#000000,#1b1b1b);

}

.overlay{

    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);

}

.hero-content{

    position:relative;
    z-index:2;

}

.hero h1{

    font-size:4rem;
    color:#d4af37;
    margin-bottom:20px;

}

.hero p{

    font-size:1.3rem;
    margin-bottom:40px;

}

/*============================
BOTTONI
=============================*/

.btn{

    display:inline-block;
    padding:15px 35px;
    background:#d4af37;
    color:#000;
    text-decoration:none;
    border-radius:40px;
    transition:.35s;
    font-weight:600;

}

.btn:hover{

    background:white;
    transform:translateY(-4px);

}

.whatsapp{

    background:#25D366;
    color:white;

}

/*============================
SEZIONI
=============================*/

section{

    padding:110px 0;

}

h2{

    text-align:center;
    color:#d4af37;
    margin-bottom:50px;
    font-size:2.4rem;

}

/*============================
SERVIZI
=============================*/

.services-grid{

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

}

.service{

    background:#181818;
    padding:35px;
    border-radius:16px;
    transition:.35s;

}

.service:hover{

    transform:translateY(-10px);
    border:1px solid #d4af37;

}

.service h3{

    margin-bottom:15px;
    color:#d4af37;

}

/*============================
PORTFOLIO
=============================*/

.gallery{

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

}

.gallery-item{

    overflow:hidden;
    border-radius:15px;
    cursor:pointer;

}

.gallery img{

    width:100%;
    display:block;
    transition:.45s;

}

.gallery img:hover{

    transform:scale(1.08);

}

/*============================
CONTATTI
=============================*/

.contact-buttons{

    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;

}

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

footer{

    background:#000;
    text-align:center;
    padding:35px;
    color:#999;

}

/*============================
LIGHTBOX
=============================*/

#lightbox{

    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.95);
    justify-content:center;
    align-items:center;
    z-index:99999;

}

#lightbox img{

    max-width:90%;
    max-height:90%;
    border-radius:10px;

}

#close{

    position:absolute;
    top:30px;
    right:40px;
    color:white;
    font-size:50px;
    cursor:pointer;

}

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

@media(max-width:768px){

header .container{

    flex-direction:column;

}

nav ul{

    flex-wrap:wrap;
    justify-content:center;
    gap:15px;

}

.hero h1{

    font-size:2.4rem;

}

.hero p{

    font-size:1rem;

}

.logo img{

    height:55px;

}

}
