/* ===========================
   Extreme Clean - Custom Styles
   Bootstrap 5 + Font Awesome
   =========================== */

body {
  background-color: #f3f3f3;
  font-family: "Libre Franklin", sans-serif;
  color: #333;
}

@media (max-width: 767.98px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  section.container,
  section > .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Navbar */
.navbar-ec {
  background: linear-gradient(to left, #e03611 0%, #a02610 40%, #2d2d2d 100%);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-ec .container {
  position: relative;
  align-items: center;
}

/* Logo - left aligned, floating below navbar */
.navbar-brand {
  z-index: 1080;
  padding: 0;
  margin-right: 1.5rem;
  margin-top: 0;
  margin-bottom: -80px;
  align-self: flex-start;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-brand img {
  max-height: 200px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Tablet */
@media (max-width: 991.98px) {
  .navbar-brand {
    margin-left: 0.5rem;
    margin-top: -5px;
    margin-bottom: -100px;
  }
  .navbar-brand img {
    max-height: 160px;
  }
  .navbar-ec .navbar-collapse {
    margin-top: 0.75rem;
  }
}

/* Small phones */
@media (max-width: 575.98px) {
  .navbar-brand {
    margin-left: 0.25rem;
    margin-top: -5px;
    margin-bottom: -70px;
  }
  .navbar-brand img {
    max-height: 120px;
  }
  .navbar-ec {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .hero-section {
    padding-top: 2rem;
  }
}

/* Nav links */
.navbar-ec .navbar-nav {
  align-items: center;
}

.navbar-ec .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 0.6rem;
}

.navbar-ec .navbar-nav .nav-link:hover,
.navbar-ec .navbar-nav .nav-link:focus {
  color: #fff;
}

.navbar-ec .navbar-nav .nav-link.active {
  color: #fff;
  font-weight: bold;
}

.navbar-ec .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-ec .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Email - inline with nav links, subtle */
.navbar-ec .nav-email {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.navbar-ec .nav-email:hover {
  color: #fff;
}

/* Book Now CTA in navbar */
.btn-book-nav {
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-book-nav:hover {
  color: #e03611;
  background: #fff;
  border-color: #fff;
}

/* Hero / Quote Section (Homepage) */
.hero-section {
  background: #2d2d2d;
  color: #fff;
  padding-top: 7rem;
  padding-bottom: 3rem;
  margin-top: 0;
}

.hero-quote {
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff;
  line-height: 1.4;
}

.hero-subtext {
  font-size: 1.4rem;
  color: #fff;
}

.hero-icon {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  display: block;
}

.hero-section .btn-book {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.hero-section .btn-book:hover {
  background: #fff;
  border-color: #fff;
  color: #e03611;
}

@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 3rem;
  }
}

/* Book Here Button */
.btn-book {
  color: #fff;
  font-size: 1.2rem;
  text-transform: uppercase;
  background: #e03611;
  border: 2px solid #e03611;
  padding: 0.75rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-book:hover {
  color: #e03611;
  background: #fff;
  border-color: #e03611;
}

/* Service Cards (Homepage) */
.service-card {
  border: none;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.service-card img {
  border-bottom: 3px solid #e03611;
}

.service-card .card-title {
  font-weight: 700;
  font-size: 1.5rem;
  color: #e03611;
}

.service-card .card-title a {
  color: #e03611;
  text-decoration: none;
}

.service-card .card-title a:hover {
  color: #333;
}

.btn-readmore {
  color: #fff;
  text-transform: uppercase;
  background: #333;
  border: 2px solid #333;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-readmore:hover {
  color: #333;
  background: #fff;
  border-color: #333;
}

/* Page Hero - title overlaid on banner image */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.page-hero .page-title {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 3rem;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin: 0;
  padding: 0;
}

@media (max-width: 991.98px) {
  .page-hero {
    margin-top: 0;
    min-height: 250px;
  }
  .page-hero .page-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 575.98px) {
  .page-hero {
    min-height: 200px;
  }
  .page-hero .page-title {
    font-size: 1.8rem;
  }
}

.hero-sweeping {
  background-image: url('../img/sweeping-page.jpg');
}

.hero-repairs {
  background-image: url('../img/repairs-page.jpg');
}

.hero-safety {
  background-image: url('../img/safety-page.jpg');
}

.hero-about {
  background-image: url('../img/sweepie2.jpg');
}

/* Page Content */
.page-content {
  padding: 2rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Safety Steps */
.safety-step {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.safety-icon {
  font-size: 2.5rem;
  color: #e03611;
  margin-bottom: 1rem;
  display: block;
}

.safety-step h4 {
  font-weight: 700;
  color: #e03611;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* Sweeping Features */
.sweep-feature {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.sweep-feature-icon {
  font-size: 2.5rem;
  color: #e03611;
  margin-bottom: 1rem;
  display: block;
}

.sweep-feature h4 {
  font-weight: 700;
  color: #e03611;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

/* About Page */
.about-portrait-icon {
  font-size: 5rem;
  color: #e03611;
}

.about-name {
  font-weight: 700;
  color: #e03611;
  font-size: 1.8rem;
}

.about-role {
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-quote {
  border-left: 4px solid #e03611;
  padding-left: 1.5rem;
  font-style: italic;
  color: #555;
}

/* Repair Cards */
.repair-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.repair-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.repair-icon {
  font-size: 2rem;
  color: #e03611;
  display: block;
  margin-bottom: 0.75rem;
}

.repair-card p {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* Gallery (Sweeping Page) */
.gallery-img {
  border: 3px solid #fff;
  box-shadow: 2px 2px 5px #333;
  cursor: pointer;
  transition: transform 0.2s ease;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

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

/* Footer */
.footer-ec {
  background-color: #000;
  color: #fff;
  padding: 2rem 0 1rem;
}

.footer-ec a {
  color: #fff;
  text-decoration: none;
}

.footer-ec a:hover {
  color: #e03611;
}

.footer-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.footer-ec ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-ec ul i {
  width: 1.2em;
  color: #e03611;
}

.footer-logo {
  max-width: 150px;
}

.footer-copyright {
  border-top: 1px solid #333;
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #999;
}
