/* style.css */

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

body{
  font-family:'Poppins',sans-serif;
  background:#f3f3f3;
  color:#222;
}

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

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

/* HEADER */

.header{
  position:fixed;
  top:0;
  width:100%;
  z-index:999;
  background:#fff;
  box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:22px 0;
}

.logo{
  font-size:22px;
  font-weight:800;
}

nav ul{
  display:flex;
  gap:40px;
  list-style:none;
}

nav ul li a{
  text-decoration:none;
  color:#111;
  font-weight:600;
  transition:0.3s;
}

nav ul li a:hover{
  color:#f5b400;
}

.estimate-btn{
  background:#111;
  color:#fff;
  text-decoration:none;
  padding:14px 28px;
  border:2px solid #f5b400;
  font-weight:600;
}

/* HERO */

.hero{
  height:50vh;
  background:url('https://images.unsplash.com/photo-1486006920555-c77dcf18193c?q=80&w=1600&auto=format&fit=crop') center/cover;
  position:relative;
  display:flex;
  align-items:center;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.72);
}

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

.hero-left{
  color:white;
  max-width:650px;
}

.mini-title{
  color:#f5b400;
  font-weight:600;
  letter-spacing:1px;
}

.hero-left h1{
  font-size:78px;
  line-height:1;
  margin:20px 0;
  font-weight:800;
}

.hero-left p{
  color:#ddd;
  line-height:1.8;
  margin-bottom:35px;
}

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

.primary-btn{
  background:#f5b400;
  color:#111;
  padding:16px 32px;
  text-decoration:none;
  font-weight:700;
}

.secondary-btn{
  border:2px solid white;
  color:white;
  padding:16px 32px;
  text-decoration:none;
  font-weight:700;
}

/* OVERVIEW */

.overview{
  padding:120px 0;
  background:#f5f5f5;
}

.section-heading{
  text-align:center;
  margin-bottom:70px;
}

.section-heading h2{
  font-size:58px;
  font-weight:800;
}

.section-heading p{
  margin-top:10px;
}

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

.overview-box{
  display:flex;
  gap:20px;
}

.yellow-line{
  width:4px;
  min-width:4px;
  background:#f5b400;
}

.overview-box h3{
  font-size:38px;
  margin-bottom:15px;
}

.overview-box p{
  line-height:1.8;
  color:#555;
}

/* APPOINTMENT */

.appointment{
  padding:100px 0;
  background:white;
}

.appointment-wrapper{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:50px;
}

.appointment-content h2{
  font-size:60px;
  line-height:1.1;
}

.appointment-content h2 span{
  color:#f5b400;
}

.appointment-content p{
  margin:15px 0;
}

.appointment-content h3{
  font-size:44px;
  margin:20px 0;
}

.appointment-btn{
  display:inline-block;
  padding:18px 45px;
  border:2px solid #111;
  text-decoration:none;
  color:#111;
  margin-top:15px;
}

.appointment-image img{
  width:650px;
}

/* ESTIMATOR */

.estimator{
  padding:110px 0;
  background:#111;
}

.white h2{
  color:white;
}

.white h2 span{
  color:#f5b400;
}

.white p{
  color:#ddd;
}

.estimate-form{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 0.7fr 1fr 1fr;
  gap:15px;
}

.estimate-form input,
.estimate-form select{
  height:65px;
  padding:0 20px;
  border:none;
  font-size:16px;
}

.estimate-form button{
  background:#111;
  color:white;
  border:2px solid #f5b400;
  font-size:16px;
  font-weight:700;
  cursor:pointer;
}

/* SERVICES */

.services{
  padding:120px 0;
}

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

.service-card{
  min-height:400px;
  padding:60px;
  position:relative;
  overflow:hidden;
}

.service-card h3{
  font-size:28px;
  line-height:1.3;
  margin-bottom:25px;
}

.service-card p{
  line-height:1.8;
}

.service-card span{
  position:absolute;
  bottom:-20px;
  left:20px;
  font-size:110px;
  font-weight:800;
  opacity:0.12;
}

.yellow-card{
  background:#f5c000;
}

.light-card{
  background:#efefef;
}

.dark-card{
  background:#111;
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
}

.dark-card h3{
  color:#f5c000;
  text-align:center;
}

.service-image img{
  height:400px;
  object-fit:cover;
}

/* RESPONSIVE */

@media(max-width:992px){

  .overview-grid,
  .service-grid,
  .estimate-form{
    grid-template-columns:1fr;
  }

  .appointment-wrapper{
    flex-direction:column;
  }

  .hero-left h1{
    font-size:52px;
  }

  .section-heading h2{
    font-size:42px;
  }

  .appointment-content h2{
    font-size:42px;
  }

  nav{
    display:none;
  }

}

@media(max-width:768px){

  .hero-buttons{
    flex-direction:column;
  }

  .hero-left h1{
    font-size:42px;
  }

  .appointment-image img{
    width:100%;
  }

  .service-card{
    padding:40px;
  }

}