/* ======================================
   Home Tech Solutions & Services
   Version 0.1
====================================== */

/* ---------- RESET ---------- */

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

/* ---------- VARIABLES ---------- */

:root{

    --primary:#111111;
    --accent:#C9A227;

    --white:#ffffff;

    --light:#f5f5f5;

    --text:#444444;

    --max-width:1200px;

    --radius:12px;

    --transition:.3s ease;

}

/* ---------- GLOBAL ---------- */

html{

    scroll-behavior:smooth;

}

body{

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

    color:var(--text);

    background:var(--white);

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

.container{

    width:min(90%,var(--max-width));

    margin:auto;

}

/* ---------- HEADER ---------- */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    color:white;

    background:rgba(15,15,15,0.65);
    backdrop-filter:blur(10px);
}

header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:25px 0;

}

.logo img{
    height:70px;
    width:auto;
    filter: brightness(0) invert(1);
}

nav ul{

    display:flex;

    gap:35px;

}

nav a{

    color:white;

    font-weight:600;

    transition:var(--transition);

}

nav a:hover{

    color:var(--accent);

}

.quote-button{

    background:var(--accent);

    color:white;

    padding:12px 22px;

    border-radius:var(--radius);

    font-weight:600;

    transition:var(--transition);

}

.quote-button:hover{

    transform:translateY(-2px);

}

/* ---------- HERO ---------- */

.hero{

    position:relative;
    padding-top:90px;
    min-height:100vh;
    background:url("../assets/hero/desktop.webp") center center / cover no-repeat;
    display:flex;
    align-items:center;

}

.overlay{

    position:absolute;

    inset:0;

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

}
.hero .container{
    position:relative;
    z-index:2;

    width:100%;
    display:flex;
    justify-content:center;
}

.hero-content{
    width:100%;
    max-width:1000px;
    margin:0 auto;
    text-align:center;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}
.hero-content h1{
    font-size:clamp(2.8rem,5vw,4.8rem);
    line-height:1.05;
    max-width:900px;
    margin-bottom:25px;
}
.hero-content p{

    color:#fff;
    max-width:900px;
    margin:0 auto;
    text-align:center;

}
.hero h1{

    color:#fff;
    font-family:'Poppins',sans-serif;
    font-size:2rem;
    line-height:1.15;
    max-width:900px;
    margin:0 auto 30px;
    text-align:center;

}

.hero p{

    font-size:18px;

    line-height:1.7;

    margin-bottom:40px;

}

.hero-buttons{

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

}
.hero-features{
    justify-content: center;
}

/* ---------- BUTTONS ---------- */

.btn{

    padding:16px 32px;

    border-radius:var(--radius);

    font-weight:600;

    transition:var(--transition);

}

.btn-primary{

    background:#d4af37;

    color:white;

}

.btn-primary:hover{

    transform:translateY(-3px);

}

.btn-secondary{

    border:2px solid white;

    color:white;

}

.btn-secondary:hover{

    background:white;

    color:black;

}
.hero-features{

    display:flex;
    justify-content:center;
    gap:30px;
    margin-top:30px;
    flex-wrap:wrap;

}

.hero-features span{

    opacity:.9;

}
/* ---------- ABOUT ---------- */

.about{

    background:white;

    padding:100px 0;

}

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}

.about-image img{

    width:100%;

    border-radius:16px;

}

.about-content h2{

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

    font-size:42px;

    color:var(--primary);

    margin-bottom:25px;

}

.about-content p{

    font-size:20px;

    line-height:1.8;

    margin-bottom:20px;

}
.services{

    padding:100px 0;

    background:#f5f5f5;

}

.services h2{

    text-align:center;

    margin-bottom:60px;

    font-size:48px;

}

.services-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.service-card{

    background:white;

    padding:30px;

    border-radius:16px;

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

}

/* ---------- PROJECTS ---------- */

.projects{

    padding:100px 0;

    background:white;

}

.projects h2{

    text-align:center;

    font-size:48px;

    margin-bottom:60px;

    color:var(--primary);

}

.projects-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

}

.project-card{

    background:white;

    border-radius:16px;

    overflow:hidden;

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

    transition:var(--transition);

}

.project-card:hover{

    transform:translateY(-5px);

}

.project-card img{

    width:100%;

    height:280px;

    object-fit:cover;

}

.project-content{

    padding:25px;

}

.project-content h3{

    margin-bottom:15px;

    color:var(--primary);

}

.project-content p{

    line-height:1.7;

}

/* ======================================
   MOBILE
====================================== */

@media (max-width:768px){

    /* HEADER */

    header .container{
        padding:15px 0;
    }

    .logo img{
        height:50px;
    }

    nav{
        display:none !important;
    }

    .quote-button{
        padding:10px 16px;
        font-size:14px;
    }

    /* HERO */

    .hero{
        min-height:100vh;
        height:auto;
        padding:130px 0 80px;
        background-position:center center;
    }

    .hero-content{
        max-width:100%;
    }

    .hero h1{
        font-size:clamp(2.5rem,10vw,4rem);
        line-height:1.1;
        margin-bottom:20px;
    }

    .hero p{
        font-size:18px;
        line-height:1.6;
    }

    .hero-buttons{
        flex-direction:column;
        width:100%;
        max-width:320px;
        margin-top:30px;
    }

    .hero-buttons .btn{
        width:100%;
        text-align:center;
    }

    .hero-features{
        gap:12px;
        font-size:14px;
        margin-top:25px;
    }

    /* ABOUT */

    .about{
        padding:70px 0;
    }

    .about-grid{
        grid-template-columns:1fr;
        gap:35px;
    }

    .about-content h2{
        font-size:2.2rem;
        line-height:1.15;
        margin-bottom:20px;
    }

    .about-content p{
        font-size:18px;
        line-height:1.7;
    }

    /* SERVICES */

    .services{
        padding:70px 0;
    }

    .services h2{
        font-size:2.2rem;
        margin-bottom:40px;
    }

    .services-grid{
        grid-template-columns:1fr;
        gap:20px;
    }

    .service-card{
        padding:25px;
    }
    
    .projects{
    padding:100px 0;
    background:white;
    scroll-margin-top:120px;
}

    .projects h2{
    font-size:2.2rem;
    margin-bottom:40px;
    }

    .projects-grid{
    grid-template-columns:1fr;
    }
}