html{
    scroll-behavior: smooth;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#0b0b0b;
    color:white;
}

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:25px 80px;

    transition:.4s;
}

header.scrolled{
    background:rgba(0,0,0,.95);
    backdrop-filter:blur(10px);
    padding:18px 80px;
    box-shadow:0 5px 20px rgba(0,0,0,.4);
}

.logo{
    font-size:28px;
    font-weight:bold;
    letter-spacing:3px;
    color:#ff5e00;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:25px;
    position:relative;
    transition:0.3s;
}

nav a:hover{
    color:#ff5e00;
}

nav a::after{
    content:'';
    position:absolute;
    bottom:-5px;
    left:0;
    width:0;
    height:2px;
    background:#ff5e00;
    transition:.3s;
}

nav a:hover::after{
    width:100%;
}

.hero{
    height:100vh;
    background:url("https://images.unsplash.com/photo-1502920917128-1aa500764ce7?w=1600")
    center/cover;

    position:relative;

    display:flex;
    align-items:center;
    padding-left:100px;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.55);
}

.hero-content{
    position:relative;
    z-index:2;
}

.hero h1{
    font-size:90px;
    line-height:90px;
    color:#fff;
}

.hero p{
    width:500px;
    margin-top:25px;
    line-height:28px;
}

.hero button{
    margin-top:30px;
    padding:15px 30px;
    border:none;
    background:#ff5e00;
    color:white;
    cursor:pointer;
    font-size:16px;
}

.about{
    padding:120px 10%;
    display:flex;
    gap:60px;
    align-items:center;
}

.about img{
    width:500px;
    border-radius:10px;
}

.about h2{
    color:#ff5e00;
    margin-bottom:20px;
}

.about p{
    margin-bottom:15px;
    line-height:30px;
}

.gallery{
    padding:100px 10%;
}

.gallery h2{
    color:#ff5e00;
    margin-bottom:50px;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.card{
    overflow:hidden;
}

.card img{
    width:100%;
    height:300px;
    object-fit:cover;
    transition:.5s;
}

.card:hover img{
    transform:scale(1.1);
}

.services{
    padding:100px 10%;
}

.services h2{
    color:#ff5e00;
    margin-bottom:40px;
}

.service-box{
    display:flex;
    gap:30px;
}

.service{
    background:#161616;
    padding:40px;
    border-left:5px solid #ff5e00;
}

.service h3{
    margin-bottom:15px;
}

.contact{
    padding:100px 10%;
}

.contact h2{
    color:#ff5e00;
    margin-bottom:30px;
}

form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

input, textarea{
    padding:15px;
    background:#111;
    border:1px solid #333;
    color:white;
}

textarea{
    height:150px;
}

form button{
    background:#ff5e00;
    color:white;
    border:none;
    padding:15px;
    cursor:pointer;
}

@media(max-width:768px){

    .hero{
        padding:40px;
    }

    .hero h1{
        font-size:55px;
        line-height:55px;
    }

    .about{
        flex-direction:column;
    }

    .about img{
        width:100%;
    }

    .gallery-grid{
        grid-template-columns:1fr;
    }

    .service-box{
        flex-direction:column;
    }

}

.hero button{
    margin-top:30px;
    padding:15px 30px;
    border:none;
    background:#ff5e00;
    color:white;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
}

.hero button:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(255,94,0,.4);
}

/* Smooth Scroll Offset */

#home,
#about,
#gallery,
#services,
#contact
    scroll-margin-top: 100px;
}