/* =====================================================
   KEN'S DRYWALL & PAINTING
   STYLE SHEET - PART 1
===================================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#d9d9d9;
    color:#333;
    line-height:1.6;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

a{
    text-decoration:none;
}

/* ===========================
   HEADER
=========================== */
.header{
    background:linear-gradient(#00A651,#008C45);
    color:#fff;
}

.header-top{
    max-width:1200px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    padding:20px 30px;
}

.logo{
    height:140px;
    flex-shrink:0;
}

.header h1{
    flex:1;
    text-align:center;
    font-size:58px;
    font-weight:bold;
    line-height:1.1;
}

.header h1 span{
    color:#ff7a00;
}

.phone{
    text-align:right;
    font-size:24px;
    font-weight:bold;
    white-space:nowrap;
}

.real-number{
    font-size:18px;
    font-weight:normal;
}

/* ===========================
   NAVIGATION
=========================== */

.nav{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    background:#2C6B58;
}

.nav a{
    color:white;
    padding:15px 24px;
    font-weight:bold;
    transition:.25s;
}

.nav a:hover{
    background:#ff6600;
}

/* ===========================
   HERO
=========================== */

.hero{

    min-height:520px;

    display:flex;
    align-items:center;

    background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c")
    center center/cover no-repeat;

    color:white;

    padding:70px;
}

.hero-text{
    max-width:700px;
}

.hero h2{

    font-size:58px;

    line-height:1.15;

    margin-bottom:20px;

}

.hero p{

    font-size:24px;

    color:#ffb347;

    margin-bottom:10px;

}

.btn{

    display:inline-block;

    margin-top:25px;

    background:#ff6600;

    color:white;

    padding:16px 34px;

    border-radius:6px;

    font-weight:bold;

    transition:.25s;

}

.btn:hover{

    background:#e05400;

}



/* =====================================================
   FEATURES
===================================================== */

.features{

    display:grid;

    grid-template-columns:repeat(3,1fr);

}

.feature{

    background:#00C853;

    color:white;

    text-align:center;

    padding:35px;

    font-size:22px;

    font-weight:bold;

    border-bottom:6px solid #ff6600;

}

/* =====================================================
   CONTENT BOX
===================================================== */

.content-box{

    max-width:950px;

    margin:45px auto;

    background:white;

    padding:45px;

    border-radius:10px;

    box-shadow:0 5px 15px rgba(0,0,0,.15);

}

.content-box h2{

    color:#00C853;

    text-align:center;

    font-size:42px;

    margin-bottom:25px;

    border-bottom:4px solid #ff6600;

    padding-bottom:15px;

}

.content-box h3{

    color:#ff6600;

    text-align:center;

    margin-top:35px;

    margin-bottom:15px;

}

.content-box p{

    font-size:20px;

    line-height:1.75;

    margin-bottom:20px;

}

/* =====================================================
   SERVICES
===================================================== */

.services-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:25px;

    margin-top:35px;

}

.service-card{

    background:#f7f7f7;

    border-left:6px solid #ff6600;

    border-radius:8px;

    padding:28px;

    box-shadow:0 3px 10px rgba(0,0,0,.12);

}

.service-card h3{

    margin-top:0;

}

.service-card p{

    margin-bottom:0;

}

/* =====================================================
   GALLERY
===================================================== */

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

    margin-top:35px;

}

.placeholder{

    background:#ececec;

    border:3px dashed #999;

    border-radius:8px;

    min-height:190px;

    display:flex;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:20px;

    color:#666;

    font-weight:bold;

}

/* =====================================================
   CALL TO ACTION
===================================================== */

.cta{

    background:#00C853;

    color:white;

    text-align:center;

    padding:60px 20px;

}

.cta h2{

    font-size:44px;

    margin-bottom:15px;

}

.cta-phone{

    font-size:40px;

    font-weight:bold;

    margin:15px 0;

}

.cta-phone-small{

    font-size:22px;

    font-weight:normal;

    margin-top:-20px;

    margin-bottom:20px;

}

.email{

    font-size:24px;

    margin-bottom:30px;

}

.recommendation-box{

    max-width:850px;

    margin:30px auto 0;

    background:rgba(255,255,255,.15);

    border:2px solid rgba(255,255,255,.35);

    border-radius:10px;

    padding:30px;

}

.recommendation-box h3{

    margin-bottom:15px;

    font-size:28px;

}

.recommendation-box p{

    font-size:19px;

    line-height:1.7;

}

/* =====================================================
   FOOTER
===================================================== */

footer{

    background:#000;

    color:white;

    text-align:center;

    padding:25px;

    font-size:18px;

}

/* =====================================================
   FORM ELEMENTS
===================================================== */

input,
textarea{

    width:100%;

    padding:14px;

    margin:10px 0 20px;

    border:1px solid #bbb;

    border-radius:6px;

    font-size:18px;

    font-family:inherit;

}

textarea{

    min-height:180px;

    resize:vertical;

}

button{

    background:#ff6600;

    color:white;

    border:none;

    padding:16px 34px;

    border-radius:6px;

    font-size:18px;

    font-weight:bold;

    cursor:pointer;

}

button:hover{

    background:#e05500;

}


/* =====================================================
   MOBILE & TABLET
===================================================== */

/* =====================================================
   MOBILE & TABLET
===================================================== */

@media (max-width:900px){

    /* ---------- Header ---------- */

    .header-top{
        flex-direction:column;
        text-align:center;
        padding:12px 15px;
        gap:10px;
    }

    .logo{
        height:75px;
        margin:0;
    }

    .header h1{
        width:100%;
        font-size:30px;
        line-height:1.1;
        margin:0;
    }

    .phone{
        width:100%;
        text-align:center;
        font-size:20px;
        margin:0;
        white-space:normal;
    }

    /* ---------- Navigation ---------- */

    .nav{
        display:grid;
        grid-template-columns:repeat(2,1fr);
    }

    .nav a{
        padding:10px;
        font-size:18px;
        border-top:1px solid rgba(255,255,255,.15);
        border-right:1px solid rgba(255,255,255,.15);
    }

    .nav a:nth-child(5){
        grid-column:1 / span 2;
    }

    /* ---------- Page Banner ---------- */

.page-banner{
    padding:10px 15px;
}

    .page-banner h2{
        font-size:28px;
    }

    .page-banner p{
        font-size:16px;
        margin-top:6px;
    }

    /* ---------- Hero ---------- */

    .hero{
        min-height:auto;
        justify-content:center;
        text-align:center;
        padding:35px 18px;
    }

    .hero h2{
        font-size:34px;
    }

    .hero p{
        font-size:18px;
    }

    .btn{
        width:100%;
        max-width:300px;
        font-size:18px;
        padding:14px;
    }

    /* ---------- Features ---------- */

    .features{
        grid-template-columns:1fr;
    }

    .feature{
        font-size:18px;
        padding:22px;
    }

    /* ---------- Content ---------- */

    .content-box{
        margin:18px 12px;
        padding:20px;
    }

    .content-box h2{
        font-size:28px;
    }

    .content-box p{
        font-size:17px;
    }

    /* ---------- CTA ---------- */

    .cta{
        padding:30px 15px;
    }

    .cta h2{
        font-size:30px;
    }

    .cta-phone{
        font-size:28px;
    }

    .email{
        font-size:18px;
        word-break:break-word;
    }

    .recommendation-box{
        padding:18px;
    }

}

html,
body{

    overflow-x:hidden;

}

/* =====================================
   PAGE BANNER
===================================== */

.page-banner {
    background: #009245;
    color: white;
    text-align: center;
    padding: 35px 20px;
    border-bottom: 6px solid #ff6600;
}

.page-banner h2 {
    margin: 0;
    font-size: 42px;
}

.page-banner p {
    margin-top: 10px;
    font-size: 22px;
}

@media (max-width:900px) {

    .page-banner h2 {
        font-size: 32px;
    }

    .page-banner p {
        font-size: 18px;
    }

}
