/* ===================================================
   D&A BUILDING & LANDSCAPING
   Website Stylesheet
   Version 1.0
=================================================== */


/* ===================================================
   RESET
=================================================== */

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


/* ===================================================
   BRAND VARIABLES
=================================================== */

:root{

    --primary:#2E5E4E;
    --primary-dark:#24483B;

    --charcoal:#1D1D1D;
    --dark:#121212;

    --white:#FFFFFF;
    --off-white:#F7F7F5;

    --light-grey:#E8E8E8;
    --text-grey:#777777;

    --accent:#B8965A;

}


/* ===================================================
   GLOBAL STYLES
=================================================== */

body{

    font-family:'Manrope',sans-serif;
    background:var(--off-white);
    color:var(--charcoal);

}

section{

    padding:120px 8%;

}

.container{

    width:100%;
    max-width:1300px;
    margin:auto;

}


/* ===================================================
   TYPOGRAPHY
=================================================== */

h1{

    font-size:72px;
    font-weight:800;
    line-height:1.05;

}

h2{

    font-size:46px;
    font-weight:700;

}

h3{

    font-size:28px;
    font-weight:700;

}

p{

    font-size:18px;
    line-height:1.8;

}


/* ===================================================
   NAVIGATION
=================================================== */

.navbar{

    position:absolute;
    top:0;
    left:0;

    width:100%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:40px 8%;

    z-index:100;

}

.logo{

    display:flex;

    flex-direction:column;

}

.logo h1{

    color:var(--white);

    font-size:56px;

    line-height:1;

    font-weight:800;

}

.logo span{

    width:70px;

    height:4px;

    background:var(--primary);

    margin:12px 0;

    border-radius:20px;

}

.logo p{

    color:#d8d8d8;

    font-size:12px;

    letter-spacing:4px;

    text-transform:uppercase;

}

.navbar ul{

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

}

.navbar a{

    color:var(--white);
    text-decoration:none;
    font-weight:600;
    position:relative;
    transition:.3s;

}

.navbar a::after{

    content:"";
    position:absolute;

    left:0;
    bottom:-8px;

    width:0;
    height:2px;

    background:var(--primary);

    transition:.3s;

}

.navbar a:hover::after{

    width:100%;

}


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

.hero{

    position:relative;

    height:100vh;

    background:url(../images/hero.JPEG);
    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;

}

.overlay{

    position:absolute;
    inset:0;

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

}

.hero-content{

    position:relative;

    max-width:900px;

    text-align:center;

    color:var(--white);

    padding:20px;

}

.hero h1{

    font-size:72px;
    font-weight:800;
    line-height:1.05;

    margin-bottom:35px;

}

.intro{

    max-width:700px;

    margin:0 auto 50px;

    color:#efefef;

    font-size:24px;

    line-height:1.7;

}

.hero-badges{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-top:50px;

    flex-wrap:wrap;

}

.hero-badges span{

    background:rgba(255,255,255,.12);

    backdrop-filter:blur(8px);

    padding:12px 20px;

    border-radius:50px;

    color:white;

    font-size:15px;

    border:1px solid rgba(255,255,255,.2);

}

/* ===================================================
   BUTTONS
=================================================== */

.button{

    display:inline-block;

    padding:18px 42px;

    background:var(--primary);

    color:var(--white);

    text-decoration:none;

    font-weight:700;

    border-radius:50px;

    transition:.3s;

}

.button:hover{

    background:var(--primary-dark);

    transform:translateY(-3px);

}


/* ===================================================
   SERVICES
=================================================== */

/* Coming Next */


/* ===================================================
   PROJECTS
=================================================== */

/* ===================================================
   FEATURED PROJECTS
=================================================== */

.featured-projects{

    background:var(--white);

}

.section-heading{

    text-align:center;

    margin-bottom:60px;

}

.section-heading span{

    color:var(--primary);

    font-weight:700;

    letter-spacing:4px;

    font-size:14px;

}

.section-heading h2{

    margin:15px 0;

}

.section-heading p{

    max-width:700px;

    margin:auto;

    color:var(--text-grey);

}

.project-grid{

    display:grid;

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

    gap:30px;

}

.project-card{

    position:relative;

    overflow:hidden;

    border-radius:18px;

    box-shadow:0 20px 50px rgba(0,0,0,.08);

    transition:all .35s ease;

}

.project-card:hover{

    transform:translateY(-10px);

}

.project-card img{

    width:100%;

    height:320px;

    object-fit:cover;

    transition:transform .5s ease;

}

.project-card:hover img{

    transform:scale(1.08);

}

.project-overlay{

    position:absolute;

    left:0;
    right:0;
    bottom:0;

    padding:30px;

    background:linear-gradient(to top, rgba(0,0,0,.8), transparent);

}

.project-overlay h3{

    color:var(--white);

    margin-bottom:8px;

}

.project-overlay p{

    color:#dddddd;

    font-size:16px;

}

/* ===================================================
   CONTACT
=================================================== */

/* Coming Later */


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

/* Coming Later */

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        transform:translateY(0);
    }
}
    .hero-content{
        animation:fadeUp 1.2s ease;
    }

.scroll-indicator{

    position:absolute;

    bottom:40px;

    left:50%;

    transform:translateX(-50%);

    color:white;

    letter-spacing:4px;

    font-size:12px;

    opacity:.8;

    animation:bounce 2s infinite;

}

@keyframes bounce{

    0%,20%,50%,80%,100%{

        transform:translate(-50%,0);

    }

    40%{

        transform:translate(-50%,-10px);

    }

    60%{

        transform:translate(-50%,-5px);

    }

}