/* ============================================
   Daniel's Window Cleaning
   Global Stylesheet
   ============================================ */

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #222;
  background: #fff;
  overflow-y: auto;
}

/* --- Header --- */

header .header_top {
  background: #f7f7f7;
  font-size: 14px;
  padding: 8px 0;
}
header .header_top a {
  color: inherit;
  text-decoration: none;
}
header .header_mid {
  padding: 16px 0;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 18px;
  align-items: center;
}
nav a {
  text-decoration: none;
  color: #222;
  transition: 0.2s ease;
}
nav a:hover,
nav a.active {
  color: #006380;
}
.btn-primary {
  background: #006380;
  border-color: #006380;
}
.btn-primary:hover {
  background: #004f63;
  border-color: #004f63;
}

/* --- Banner --- */

.banner {
  background: url("../images/home_banner.jpg") center/cover no-repeat;
  color: #003344;
  padding: 100px 0;
}
.banner .content {
  background: rgba(255, 255, 255, 0.35);
  padding: 24px;
  border-radius: 8px;
  display: inline-block;
}
.banner .content h2 {
  font-size: 44px;
  line-height: 1.1;
  margin-bottom: 10px;
}
.banner .content p {
  font-size: 18px;
}

/* --- Main Sections --- */

.home_main .img_block img,
.home_main.bottom .img_block img {
  max-width: 100%;
  height: auto;
}
.services .service_block {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 24px;
  background: #fff;
}
.services .service_block img {
  width: 100%;
  height: auto;
  display: block;
}
.services .service_block .info {
  padding: 16px;
}

/* --- Features Section --- */
.features {
  background: url("../images/features_bg.jpg") center top no-repeat;
  background-size: cover;
  padding: 60px 0;
}
.features .features_inner {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 24px;
}
.features_inner img {
  filter: none;
  opacity: 0.9;
}

/* --- Testimonials Section --- */
.testimonials {
  background: url("../images/testimonials_bg.jpg") center top no-repeat;
  background-size: cover;
  padding: 80px 0;
}
.testimonial_block {
  border: 1px solid #eee;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  margin-bottom: 24px;
}
.testimonial_block img {
  margin-bottom: 10px;
}

/* --- Service Areas --- */
.service_areas ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 40px;
  padding: 0;
  list-style: none;
}
.service_areas li {
  width: auto;
  text-align: center;
  font-weight: 500;
}

/* --- Footer --- */
footer .footer_top {
  background: url("../images/footer_bg.jpg") center top no-repeat #0f0f0f;
  background-size: cover;
  color: #fff;
  padding: 32px 0;
}
footer .footer_bottom {
  background: #0a0a0a;
  color: #ccc;
  padding: 12px 0;
  font-size: 14px;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

/* --- Headings --- */
h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  background: url("../images/heading_line.png") no-repeat center;
  margin: 12px auto 0;
}
h2.alt::after {
  background: url("../images/heading_line_1.png") no-repeat center;
}

/* --- Lists --- */
ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}
ul li::before {
  content: "";
  background: url("../images/bullet.png") no-repeat left center;
  background-size: 12px 12px;
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
}
.tick-list li::before {
  background: url("../images/tick.png") no-repeat left center;
  background-size: 14px 14px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991px) {
  nav ul {
    flex-direction: column;
    background: #fff;
    padding: 10px;
    border-radius: 6px;
  }
}
@media (max-width: 767px) {
  .banner {
    padding: 60px 0;
    text-align: center;
  }
  .banner .content h2 {
    font-size: 34px;
  }
  .service_areas ul {
    gap: 10px 20px;
  }
}

/* --- Utility --- */
.text-center {
  text-align: center;
}



/* === Fixes to match archived design (2025-11) === */

/* Top contact strip: right aligned pill with subtle border */
.header_top .topline{
  justify-content: flex-end;
  gap: 14px;
}
.header_top .topline li{
  list-style:none;
}
.header_top .topline{
  /* background: #ffffff;
  border:1px solid rgba(0,0,0,.06);
  border-radius: 999px; */
  padding: 4px 12px;
  display:flex;
  align-items:center;
  width: fit-content;
  margin-left: auto;
  margin-right: 0;
}
.header_top .topline li i{
  color:#219EBC;
}

/* Main nav spacing and active state */
.header_mid {
  padding: 18px 0 12px;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.mainnav ul li a{
  padding: 8px 10px;
}
.mainnav ul li a.active{
  color:#219EBC;
}

/* Hero: headline card and button visual parity */
.banner .hero-card{
  background: rgba(255,255,255,.85);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.banner .hero-card h1{
  font-weight:800;
  line-height:1.2;
}

/* Decorative underline for emphasized word in h2 (e.g., 'Cleaning') */
.home_main h2 strong{
  position:relative;
  font-weight:800;
  color:#219EBC;
}
.home_main h2 strong::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-6px;
  height:6px;
  opacity:.9;
}

/* Section spacing harmony (match archived) */
section.home_main{ padding-top:60px; padding-bottom:40px; }
section.services{ padding-top:40px; padding-bottom:40px; }
section.expertise{ padding-top:40px; padding-bottom:30px; }
section.statsbar{ margin-top: 10px; margin-bottom: 20px; }

/* Services cards: consistent heights and inner padding */
.service_block{
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.service_block .info{ padding:16px 16px 18px; }
.service_block h3{ font-size:16px; font-weight:700; }

/* Feature tick list alignment */
.expertise ul{
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.expertise ul li{
  padding-left:28px;
  background: url('../images/tick.png') no-repeat 0 2px/18px;
  margin:8px 0;
}

/* Stats bar pill styling */
.stats-bar{
  background: linear-gradient(90deg, #0E6B81, #219EBC);
  color:#fff;
  border-radius: 14px;
  padding: 16px 22px;
  display:flex; gap:30px; justify-content:center;
}
.stats-bar .item{
  display:flex; align-items:center; gap:10px; font-weight:600;
}
.stats-bar .item img{ height:26px; width:auto; }

/* Testimonials: spacing and quote icon */
.testimonials .bg-white{
  box-shadow:0 8px 24px rgba(0,0,0,.06);
}
.testimonials p{ margin-bottom:10px; }

/* Service areas: 4 columns with custom bullets and equal spacing */
.service_areas .areas-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 40px;
}
.service_areas .areas-grid ul{
  list-style:none; margin:0; padding:0;
}
.service_areas .areas-grid li{
  background: url('../images/bullet.png') 0 9px/8px 8px no-repeat;
  line-height:1.7;
}

/* Footer: reduce extra spacing under copyright */
footer .copyright{ padding:12px 0 10px; }

/* Responsive tweaks */
@media (max-width: 991.98px){
  .service_areas .areas-grid{ grid-template-columns: repeat(2, 1fr); }
  .header_top .topline{ margin-right:auto; }
}

@media (max-width: 575.98px){
  .service_areas .areas-grid{ grid-template-columns: 1fr; }
  .banner{ min-height: 460px; }
}


/* Small decorative heading underline image */
.heading-underline{
  display:inline-block;
  width:140px;
  height:9px;
  background: url('../images/heading_line.png') center/contain no-repeat;
}
