/* ===========================
   JR Lawn Services
   =========================== */

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

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    background:#50a030;
    color:#222;
    line-height:1.6;
}

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 60px;
    background:rgba(0,0,0,.90);
    z-index:1000;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.logo img{
    height:100px;
    width:auto;
}

nav{
    display:flex;
    gap:28px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

nav a:hover{
    color:#74b72e;
}

.phone{
    color:white;
    text-decoration:none;
    border:2px solid #74b72e;
    padding:12px 22px;
    border-radius:40px;
    font-weight:bold;
    transition:.3s;
}

.phone:hover{
    background:#74b72e;
}

/* HERO SECTION */

.hero{
    height:100vh;
    background:url("Picture.jpg") center center/cover no-repeat;
    display:flex;
    align-items:center;
    padding:0 80px;
    position:relative;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:650px;
}

.hero h1{
    font-size:80px;
    line-height:0.95;
    font-weight:900;
    text-transform:uppercase;
    margin-bottom:25px;
}

.hero h1 span{
    color:#74b72e;
}

.hero p{
    font-size:24px;
    margin-bottom:35px;
    max-width:600px;
}

.buttons{
    display:flex;
    gap:20px;
}

.btn{
    padding:18px 34px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.btn-primary{
    background:#74b72e;
    color:white;
}

.btn-primary:hover{
    background:#5d9626;
}

.btn-secondary{
    border:2px solid white;
    color:white;
}

.btn-secondary:hover{
    background:white;
    color:black;
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:650px;
}

.hero h1{
    font-size:92px;
    line-height:0.95;
    font-weight:900;
    color:white;
    text-transform:uppercase;
    margin-bottom:20px;
}

.hero h1 span{
    color:#74b72e;
}

.hero p{
    color:white;
    font-size:24px;
    margin-bottom:35px;
    line-height:1.5;
}

.buttons{
    display:flex;
    gap:20px;
}

.btn{
    display:inline-block;
    padding:18px 34px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.btn-primary{
    background:#74b72e;
    color:white;
}

.btn-primary:hover{
    background:#5a9722;
}

.btn-secondary{
    border:2px solid white;
    color:white;
}

.btn-secondary:hover{
    background:white;
    color:black;
}

.services{
    padding:120px 60px;
    background:#f8f8f8;
    text-align:center;
}

.services h2{
    font-size:42px;
    margin-bottom:60px;
    color:#222;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.service-card{
    background:white;
    padding:40px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.service-card:hover{
    transform:translateY(-10px);
}

.service-card h3{
    color:#74b72e;
    margin-bottom:15px;
    font-size:28px;
}

.service-card p{
    color:#555;
    line-height:1.7;
}

.gallery{
    padding:140px 60px 80px;
    background:#f8f8f8;
    text-align:center;
}

.gallery h2{
    font-size:42px;
    margin-bottom:20px;
    color:#222;
}

.gallery p{
    max-width:700px;
    margin:0 auto 40px;
    color:#666;
    line-height:1.7;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
    margin-bottom:40px;
}

.gallery-grid img{
    width:100%;
    height:350px;
    object-fit:cover;
    border-radius:15px;}

    .gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));
    gap:30px;
    margin-top:50px;
}

.gallery-grid img{
    width:100%;
    border-radius:12px;
    box-shadow:0 8px 25px rgba(0,0,0,.15);
    transition:.3s;
}

.gallery-grid img:hover{
    transform:scale(1.03);
}

.estimate{
    max-width:700px;
    margin:220px auto 80px;
    padding:40px;
}

.estimate h2{
    text-align:center;
    margin-bottom:15px;
}

.estimate p{
    text-align:center;
    margin-bottom:30px;
}

.estimate form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.estimate input,
.estimate textarea{
    padding:15px;
    font-size:16px;
    border:1px solid #ccc;
    border-radius:8px;
}

.estimate textarea{
    height:160px;
    resize:vertical;
}

.estimate h3{
    margin-top:20px;
    color:#222;
}

.estimate button{
    margin-top:20px;
    cursor:pointer;
}

.about{
    max-width:900px;
    margin:220px auto 80px;
    padding:0 30px;
}

.about h2{
    text-align:center;
    font-size:42px;
    margin-bottom:30px;
}

.about p{
    font-size:18px;
    line-height:1.8;
    color:#222;
    margin-bottom:25px;
}

.about-values{
    max-width:700px;
    margin:60px auto 100px;
    padding:40px;
    background:#1e1c1c;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.about-values h2{
    text-align:center;
    margin-bottom:30px;
}

.about-values ul{
    list-style:none;
    padding:0;
}

.about-values li{
    font-size:20px;
    margin:18px 0;
}

.contact{
    max-width:700px;
    margin:220px auto 80px;
    padding:40px;
}

.contact h2{
    text-align:center;
    font-size:42px;
    color:#2e7d32;
    margin-bottom:20px;
}

.contact p{
    text-align:center;
    color:#222;
    line-height:1.8;
    margin-bottom:35px;
}

.contact form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.contact input,
.contact textarea{
    padding:15px;
    font-size:16px;
    border:1px solid #ccc;
    border-radius:8px;
}

.contact textarea{
    height:180px;
    resize:vertical;
}

.contact button{
    margin-top:10px;
}

.contact-info{
    margin-top:50px;
    text-align:center;
    background:#e8f5e0;
    padding:30px;
    border-radius:12px;
}

.contact-info h3{
    color:#2e7d32;
    margin-bottom:20px;
}

.contact-info p{
    font-size:18px;
    margin:12px 0;
    color:#222;
}

/* SERVICE AREAS */

.service-areas{
    background:#111;
    color:white;
    text-align:center;
    padding:80px 30px;
}

.service-areas h3{
    color:#8BC34A;
    font-size:22px;
    margin-bottom:10px;
}

.service-areas h2{
    font-size:42px;
    margin-bottom:20px;
}

.service-areas p{
    max-width:700px;
    margin:0 auto 45px;
    color:#ccc;
    font-size:18px;
    line-height:1.7;
}

.town-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    max-width:700px;
    margin:auto;
}

.town-grid div{
    background:#1b1b1b;
    padding:18px;
    border-radius:10px;
    border:1px solid rgba(139,195,74,.35);
    font-size:20px;
    transition:.3s;
}

.town-grid div:hover{
    transform:translateY(-4px);
    background:#222;
}

#services { 
    scroll-margin-top: 70px;
}

@media (max-width: 768px) {

header{
    flex-direction:column;
    padding:15px;
    gap:15px;
}

.logo img{
    height:70px;
}

nav{
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
}

.phone{
    padding:10px 18px;
    font-size:16px;
}

.hero{
    height:auto;
    padding:260px 20px 80px;
    text-align:center;
}

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

.hero h1{
    font-size:54px;
}

.hero p{
    font-size:20px;
}

.buttons{
    flex-direction:column;
    align-items:center;
}

.btn{
    width:100%;
    max-width:300px;
    text-align:center;
}

.services,
.gallery,
.service-areas{
    padding:80px 20px;
}

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

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

.gallery-grid img{
    height:250px;
}

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

}
