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

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

html{
    scroll-behavior:smooth;
}

body{

    font-family: Arial, Helvetica, sans-serif;

    background:#f5f5f5;

    color:#333;

    line-height:1.6;

}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

section{

    width:100%;

    padding:80px 10%;

}

h1{

    font-size:3.2rem;

    margin-bottom:20px;

}

h2{

    font-size:2.2rem;

    margin-bottom:20px;

}

h3{

    font-size:1.4rem;

    margin-bottom:15px;

}

p{

    margin-bottom:15px;

}

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

header{

    position:sticky;

    top:0;

    background:#ffffff;

    box-shadow:0 2px 12px rgba(0,0,0,.08);

    z-index:1000;

}

nav{

    width:80%;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 0;

}

.logo img{

    width:180px;

}

nav ul{

    display:flex;

    gap:40px;

}

nav ul li a{

    font-size:1rem;

    font-weight:600;

    color:#333;

    transition:.3s;

}

nav ul li a:hover{

    color:#4d78b5;

}

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

.hero{

    min-height:90vh;

    background:

    linear-gradient(
        rgba(0,0,0,.55),
        rgba(0,0,0,.55)
    ),

    url("../images/deck-finished.JPEG");

    background-size:cover;

    background-position:center;

    display:flex;

    align-items:center;

    color:white;

    padding:0 10%;

}

.hero-content{

    max-width:700px;

}

.hero h1{

    font-size:4rem;

    line-height:1.2;

    margin-bottom:25px;

}

.hero p{

    font-size:1.2rem;

    margin-bottom:40px;

    color:#e8e8e8;

}

.hero-buttons{

    display:flex;

    gap:20px;

    margin-top:40px;

}

.hero-buttons a{

    padding:16px 34px;

    border-radius:6px;

    font-weight:600;

    transition:.3s;

}

.hero-buttons a:first-child{

    background:#ffffff;

    color:#222;

}

.hero-buttons a:first-child:hover{

    background:#4d78b5;

    color:white;

}

.hero-buttons a:last-child{

    border:2px solid white;

    color:white;

}

.hero-buttons a:last-child:hover{

    background:white;

    color:#222;

}

/* ==========================
   WHY CHOOSE US
========================== */

#why-us{

    background:#ffffff;

}

#why-us h2{

    text-align:center;

    margin-bottom:60px;

}

.why-us-container{

    display:grid;

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

    gap:30px;

}

.why-card{

    background:white;

    padding:40px;

    border-radius:10px;

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

    transition:.3s ease;

}

.why-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,0,0,.15);

}

.why-card h3{

    margin-bottom:18px;

    color:#222;

}

.why-card p{

    color:#666;

    line-height:1.7;

}

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

#services{

    background:#f7f7f7;

}

#services h2{

    text-align:center;

    margin-bottom:60px;

}

.services-container{

    display:grid;

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

    gap:30px;

}

.service-card{

    background:white;

    padding:40px;

    border-radius:10px;

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

    transition:.3s ease;

}

.service-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,0,0,.15);

}

.service-card h3{

    margin-bottom:18px;

    color:#222;

}

.service-card p{

    color:#666;

    line-height:1.7;

}

.services-button{

    text-align:center;

    margin-top:60px;

}

.services-more{

    font-size:1.1rem;

    color:#666;

    margin-bottom:25px;

}

.services-btn{

    display:inline-block;

    background:#4d78b5;

    color:white;

    text-decoration:none;

    font-size:1.15rem;

    font-weight:700;

    padding:18px 42px;

    border-radius:8px;

    box-shadow:0 15px 35px rgba(77,120,181,.35);

    transition:.3s ease;

}

.services-btn:hover{

    background:#222;

    transform:translateY(-5px) scale(1.03);

    box-shadow:0 20px 45px rgba(0,0,0,.25);

}

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

#contact{

    background:#ffffff;

}

#contact h2{

    text-align:center;

}

#contact > p{

    text-align:center;

    max-width:700px;

    margin:20px auto 60px;

    color:#666;

    line-height:1.8;

}

.contact-container{

    display:grid;

    grid-template-columns:350px 1fr;

    gap:60px;

    align-items:start;

}

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

.contact-info{

    background:#f9f9f9;

    padding:45px;

    border-radius:12px;

    border:1px solid #ececec;

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

}

.contact-info h3{

    font-size:1.5rem;

    margin-bottom:30px;

    color:#222;

}

.contact-info p{

    margin-bottom:35px;

    line-height:1.8;

}

.contact-info a{

    color:#4d78b5;

    text-decoration:none;

    font-weight:600;

    transition:.3s ease;

}

.contact-info a:hover{

    color:#222;

}

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

.contact-form{

    background:#ffffff;

    padding:45px;

    border-radius:12px;

    border:1px solid #ececec;

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

}

.contact-form h3{

    font-size:1.5rem;

    margin-bottom:30px;

    color:#222;

}

.contact-form label{

    display:block;

    margin-bottom:8px;

    font-weight:600;

    color:#333;

}

.contact-form input,
.contact-form select,
.contact-form textarea{

    width:100%;

    padding:14px;

    margin-bottom:22px;

    border:1px solid #ddd;

    border-radius:10px;

    font-size:1rem;

    transition:.3s ease;

}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{

    outline:none;

    border-color:#4d78b5;

    box-shadow:0 0 0 4px rgba(77,120,181,.15);

}

.contact-form textarea{

    min-height:190px;

    resize:vertical;

}

.contact-form button{

    width:100%;

    padding:18px;

    background:#222;

    color:white;

    border:none;

    border-radius:10px;

    font-size:1rem;

    font-weight:700;

    letter-spacing:.3px;

    cursor:pointer;

    transition:.3s ease;

}

.contact-form button:hover{

    background:#4d78b5;

    transform:translateY(-2px);

}

/* ==========================
   FORM NOTE
========================== */

.form-note{

    margin-top:20px;

    text-align:center;

    color:#777;

    font-size:.95rem;

}

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

#page-hero{

    background:#ffffff;

    text-align:center;

    padding:90px 10%;

}

.page-hero-content{

    max-width:850px;

    margin:auto;

}

#page-hero h1{

    font-size:3rem;

    margin-bottom:20px;

    color:#222;

}

#page-hero p{

    font-size:1.15rem;

    color:#666;

    line-height:1.8;

}

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

.project-section{

    padding:80px 10%;

    background:#f7f7f7;

}

.project-section:nth-child(even){

    background:#ffffff;

}

.project-section h2{

    text-align:center;

    margin-bottom:20px;

}

.project-section p{

    text-align:center;

    max-width:750px;

    margin:0 auto 50px;

    color:#666;

    line-height:1.8;

}

.project-gallery{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));

    gap:30px;

}

.project-gallery img{

    width:100%;

    height:320px;

    object-fit:cover;

    border-radius:12px;

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

    transition:.35s ease;

}

.project-gallery img:hover{

    transform:translateY(-8px);

    box-shadow:0 22px 45px rgba(0,0,0,.18);

}

/* ==========================
   FINAL CALL TO ACTION
========================== */

#cta{

    background:#1f1f1f;

    color:white;

    text-align:center;

    padding:90px 20px;

}

.cta-content{

    max-width:850px;

    margin:auto;

}

#cta h2{

    font-size:2.8rem;

    margin-bottom:20px;

    color:white;

}

#cta p{

    color:#d6d6d6;

    font-size:1.15rem;

    line-height:1.8;

    margin-bottom:40px;

}

.cta-btn{

    display:inline-block;

    background:#4d78b5;

    color:white;

    text-decoration:none;

    padding:18px 40px;

    border-radius:8px;

    font-weight:700;

    transition:.3s ease;

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

}

.cta-btn:hover{

    background:white;

    color:#222;

    transform:translateY(-4px);

}

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

footer{

    background:#f5f5f5;

    padding:60px 20px 25px;

    text-align:center;

}

.footer-container{

    max-width:900px;

    margin:auto;

}

.footer-company{

    margin-bottom:40px;

}

.footer-company h3{

    font-size:2rem;

    margin-bottom:15px;

}

.footer-company p{

    margin:10px 0;

    color:#555;

    line-height:1.7;

}

.footer-company a{

    color:#4d78b5;

    text-decoration:none;

    font-weight:600;

}

.footer-company a:hover{

    color:#222;

}

.footer-powered{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    text-align:center;

    margin-top:40px;

}

.footer-powered p{

    margin-bottom:20px;

    color:#666;

}

.footer-powered img{

    display:block;

    margin:20px auto 0;

    max-width:220px;

    height:auto;

}

footer hr{

    margin:50px auto 25px;

    max-width:700px;

    border:none;

    border-top:1px solid #ddd;

}

.copyright{

    color:#777;

    font-size:.9rem;

}

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

@media screen and (max-width:992px){

    nav{

        width:95%;
        flex-direction:column;
        gap:20px;
        padding:15px 0;

    }

    nav ul{

        display:flex;
        justify-content:space-between;
        align-items:center;
        width:100%;
        gap:10px;
        flex-wrap:nowrap;

    }

    nav ul li a{

        font-size:.82rem;
        font-weight:600;

    }

    .logo img{

        width:150px;

    }

    section{

        padding:70px 8%;

    }

    .why-us-container,
    .services-container{

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

    }

    .contact-container{

        grid-template-columns:1fr;

    }

}

@media screen and (max-width:768px){

    .hero h1{

    font-size:1.7rem;

    line-height:1.3;

    max-width:100%;

    margin:0 auto 25px;

}

h1{

    font-size:2.2rem;

}

    h2{

        font-size:1.9rem;

    }

    h3{

        font-size:1.25rem;

    }

    section{

        padding:60px 6%;

    }

    .hero{

        min-height:auto;

        padding:100px 6%;

        text-align:center;

    }

    .hero-content{

        max-width:100%;

    }

    .hero p{

        font-size:1rem;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:center;

        gap:15px;

    }

    .hero-buttons a{

        width:100%;

        max-width:320px;

        text-align:center;

    }

    .why-us-container,
    .services-container{

        grid-template-columns:1fr;

    }

    .project-gallery{

        grid-template-columns:1fr;

    }

    .project-gallery img{

        height:auto;

    }

    .contact-container{

        grid-template-columns:1fr;

    }

    .contact-info,
    .contact-form{

        padding:30px;

    }

    .footer-company h3{

        font-size:1.6rem;

    }

    .footer-powered img{

        max-width:180px;

    }

}

@media screen and (max-width:480px){

    nav ul li a{

        font-size:.72rem;

    }

    .logo img{

        width:130px;

    }

    h1{

        font-size:1.9rem;

    }

    h2{

        font-size:1.6rem;

    }

    .hero{

        padding:90px 5%;

    }

    .service-card,
    .why-card,
    .contact-info,
    .contact-form{

        padding:25px;

    }

    .cta-btn,
    .services-btn{

        width:100%;

        text-align:center;

    }

}