/* ==========================================================================
   Sofa Clean - custom styles (green theme + booking + floating CTAs)
   Loaded after style.css so it can safely override the template.
   ========================================================================== */

:root {
  --sc-green: #1E8A3D;
  --sc-green-dark: #0C3B1C;
  --sc-green-light: #8CC63E;
}

/* ---- keep uploaded photos fully visible (no crop) ---- */
.photo-card img,
.service-article img,
.sc-gallery img {
  max-width: 100%;
  height: auto;
}

/* ---- WhatsApp group banner ---- */
.wa-group-banner {
  background: linear-gradient(120deg, #0C3B1C 0%, #1E8A3D 60%, #2E9B47 100%);
  padding: 24px 0;
}
.wa-group-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,.06);
  border: 1px dashed rgba(255,255,255,.35);
  border-radius: 18px;
  padding: 28px;
}
.wa-group-banner__icon {
  flex: 0 0 auto;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 26px rgba(0,0,0,.28);
  animation: sc-pulse 2s infinite;
}
.wa-group-banner__content { flex: 1 1 320px; }
.wa-group-banner__title { color: #fff; font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.wa-group-banner__desc, .wa-group-banner__sub { color: #eaf6ec; margin-bottom: 8px; }
.wa-group-banner .btn { margin-top: 10px; }

@keyframes sc-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.6); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---- floating social sidebar (medium size, left edge) ---- */
.sc-social-sidebar {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 950;
  display: flex;
  flex-direction: column;
  border-radius: 0 10px 10px 0;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.sc-social-sidebar a {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 21px;
  transition: width .2s ease, background .2s ease;
}
.sc-social-sidebar a:hover { width: 56px; }
.sc-social-fb { background: #1877f2; }
.sc-social-ig { background: #d6249f; background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.sc-social-tt { background: #010101; }
.sc-social-wa { background: #25D366; }

/* ---- floating bottom-right call + whatsapp ---- */
.sc-floating-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 960;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sc-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 50px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.sc-cta-btn:hover { transform: translateY(-2px); color: #fff; text-decoration: none; box-shadow: 0 10px 22px rgba(0,0,0,.3); }
.sc-cta-call { background: #1E8A3D; position: relative; }
.sc-cta-wa { background: #25D366; }
.sc-cta-label { white-space: nowrap; }

/* call button pulsing ring */
.sc-cta-ring {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50px;
  border: 3px solid #1E8A3D;
  animation: sc-ring 1.6s infinite;
  pointer-events: none;
}
@keyframes sc-ring {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ==========================================================================
   Booking form
   ========================================================================== */
.bk-app { max-width: 860px; margin: 0 auto; }
.bk-error-banner {
  display: none;
  background: #fdecea;
  color: #b3261e;
  border: 1px solid #f5c6c3;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
  font-weight: 600;
}
.bk-error-banner.show { display: block; }
.bk-input-error { border-color: #dc3545 !important; box-shadow: 0 0 0 3px rgba(220,53,69,.12) !important; }

.bk-service {
  background: #fff;
  border: 2px solid #e6eaef;
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.bk-service.selected { border-color: #1E8A3D; box-shadow: 0 4px 14px rgba(30,138,61,.12); }
.bk-service.error { border-color: #dc3545; box-shadow: 0 0 0 3px rgba(220,53,69,.12); }

.bk-service__header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 0;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease;
}
.bk-service.selected .bk-service__header { background: #1E8A3D; }
.bk-service.selected .bk-service__header .bk-service__name,
.bk-service.selected .bk-service__header .bk-service__toggle { color: #fff; }
.bk-service__icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: #EFF8F0; color: #1E8A3D;
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex: 0 0 auto;
}
.bk-service.selected .bk-service__icon { background: rgba(255,255,255,.2); color: #fff; }
.bk-service__name { flex: 1; font-size: 17px; font-weight: 700; color: #222; }
.bk-service__toggle { color: #1E8A3D; transition: transform .2s ease; }
.bk-service.open .bk-service__toggle { transform: rotate(180deg); }

.bk-service__body { display: none; padding: 16px 18px 20px; border-top: 1px solid #e6eaef; }
.bk-service.open .bk-service__body { display: block; }

.bk-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed #e6eaef;
}
.bk-option:last-child { border-bottom: 0; }
.bk-option__label { font-size: 15px; color: #333; }
.bk-option.has-qty { background: #EFF8F0; margin: 4px -10px; padding: 9px 10px; border-radius: 8px; border-bottom: 0; }

.bk-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d7d8da;
  border-radius: 8px;
  overflow: hidden;
}
.bk-qty__minus, .bk-qty__plus {
  width: 36px; height: 36px; border: 0; background: #f4f4f4; color: #1E8A3D;
  font-size: 18px; cursor: pointer; line-height: 1;
}
.bk-qty__minus:hover, .bk-qty__plus:hover { background: #E9F4EA; }
.bk-qty__input {
  width: 46px; height: 36px; border: 0; text-align: center; font-weight: 700;
  font-size: 15px; -moz-appearance: textfield; color: #222; background: #fff;
}
.bk-qty__input::-webkit-outer-spin-button,
.bk-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.bk-number { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0; }
.bk-number__label { font-size: 15px; font-weight: 600; color: #333; }

.bk-extras { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e6eaef; }
.bk-extras__title { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: #8e949e; font-weight: 700; margin-bottom: 10px; }
.bk-extras__list { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-extra { margin: 0; }
.bk-extra input { display: none; }
.bk-extra span {
  display: inline-block;
  padding: 8px 14px;
  border: 2px solid #e6eaef;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
  color: #333;
  transition: all .15s ease;
}
.bk-extra input:checked + span { border-color: #1E8A3D; background: #EFF8F0; color: #1E8A3D; font-weight: 700; }

.bk-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.bk-step-title { font-size: 22px; font-weight: 700; color: #0C3B1C; margin-bottom: 6px; }
.bk-step-sub { color: #6c757d; margin-bottom: 18px; }

/* step 2 */
.bk-photo-note {
  background: #EFF8F0;
  border-left: 4px solid #1E8A3D;
  border-radius: 8px;
  padding: 14px 16px;
  margin: 14px 0;
  color: #0C3B1C;
}
.bk-summary { background: #f9f9f9; border-radius: 10px; padding: 14px 16px; margin-bottom: 16px; }
.bk-summary ul { margin: 0; padding-left: 18px; }

/* ==========================================================================
   Sidebar WhatsApp CTA card
   ========================================================================== */
.widget-cta-wa__inner {
  background: linear-gradient(140deg, #0C3B1C, #1E8A3D);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.widget-cta-wa__icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; font-size: 30px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.widget-cta-wa__title { color: #fff; font-size: 19px; font-weight: 700; }
.widget-cta-wa__desc { color: #eaf6ec; font-size: 14px; margin-bottom: 16px; }

/* ==========================================================================
   Service / blog article layout
   ========================================================================== */
.service-article .post__desc p { margin-bottom: 1.1rem; }
.service-article h2 { color: #0C3B1C; font-weight: 700; margin-top: 1.6rem; font-size: 24px; }
.service-article h3 { color: #1E8A3D; font-weight: 700; margin-top: 1.2rem; font-size: 19px; }
.service-article img { border-radius: 10px; margin: 8px 0 16px; }
.service-article ul, .service-article ol { margin-bottom: 1.1rem; padding-left: 1.3rem; }
.service-article a { color: #1E8A3D; font-weight: 600; }
.service-article .post__img img { width: 100%; height: auto; }
/* Fix: stop the article body from overlapping the image on service pages */
.blog-single .post-item .post__body {
  margin-top: 0;
  padding: 20px 0 0;
}

/* ==========================================================================
   Service / area detail page — UI/UX improvements
   ========================================================================== */
.blog-single {
  padding-top: 40px !important;
}
.blog-single .post__img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}
.sidebar .widget {
  margin-bottom: 24px;
}
@media (max-width: 767px) {
  .blog-single {
    padding-top: 20px !important;
  }
  .blog-single .post__img img {
    height: 240px;
  }
}

/* ==========================================================================
   Instagram gallery grid
   ========================================================================== */
.sc-gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sc-gallery-grid a { display: block; border-radius: 12px; overflow: hidden; }
.sc-gallery-grid img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; transition: transform .25s ease; }
.sc-gallery-grid a:hover img { transform: scale(1.05); }
@media (min-width: 768px) {
  .sc-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Responsive fixes
   ========================================================================== */
@media (max-width: 575px) {
  .sc-cta-label { display: none; }
  .sc-cta-btn { padding: 14px; font-size: 20px; border-radius: 50%; }
  .sc-social-sidebar a { width: 40px; height: 40px; font-size: 18px; }
  .wa-group-banner__inner { padding: 20px; }
  .wa-group-banner__title { font-size: 20px; }
}

/* ==========================================================================
   Preloader fallback (fade out even if JS is blocked)
   ========================================================================== */
.preloader {
  animation: sc-preloader-hide 0.5s ease 2.6s forwards;
}
@keyframes sc-preloader-hide {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* ==========================================================================
   Booking photo upload
   ========================================================================== */
.bk-upload { border: 2px dashed #cbd5d0; border-radius: 12px; padding: 16px; background: #fafcfa; }
.bk-upload__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1E8A3D;
  color: #fff;
  border: 0;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.bk-upload__btn:hover { background: #176e30; }
.bk-upload__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.bk-upload__btn--camera { background: #0C3B1C; }
.bk-upload__btn--camera:hover { background: #0a2f16; }
.bk-upload__hint { display: block; margin-top: 10px; font-size: 13px; color: #6c757d; }
.bk-upload__preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.bk-upload__item { position: relative; width: 92px; height: 92px; }
.bk-upload__item img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; border: 1px solid #e6eaef; }
.bk-upload__remove {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
  background: #dc3545;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bk-status { margin-top: 12px; font-weight: 600; }

/* ==========================================================================
   Home hero + service cards
   ========================================================================== */
.sc-hero {
  background: linear-gradient(120deg, #0C3B1C 0%, #14532D 45%, #1E8A3D 100%);
  color: #fff;
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
.sc-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(140,198,62,.14);
}
.sc-hero__title { font-size: 38px; font-weight: 700; line-height: 1.15; margin-bottom: 16px; color: #fff; }
.sc-hero__desc { font-size: 17px; color: #eaf6ec; margin-bottom: 22px; }
.sc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.sc-hero__points { list-style: none; padding: 0; margin: 0; color: #eaf6ec; }
.sc-hero__points li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.sc-hero__points li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #8CC63E;
}
.sc-hero__img { position: relative; text-align: center; }
.sc-hero__img img {
  width: 100%;
  max-width: 460px;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.sc-hero__badge {
  position: absolute;
  left: 8px;
  bottom: 18px;
  background: #8CC63E;
  color: #0C3B1C;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

.sc-service-card {
  background: #eef3ef;
  border: 1px solid #d9e2dc;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.sc-service-card:hover { box-shadow: 0 14px 34px rgba(12,59,28,.12); transform: translateY(-4px); }
.sc-service-card img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.sc-service-card__body { padding: 16px 16px 4px; display: flex; flex-direction: column; flex: 1; }
.sc-service-card__body h4 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.sc-service-card__body h4 a { color: #0C3B1C; }
.sc-service-card__body p { color: #6c757d; font-size: 14px; margin-bottom: 0; }

/* More breathing room between service/area cards (horizontal + vertical) */
.sc-cards-row > [class*="col-"] {
  padding-left: 24px;
  padding-right: 24px;
  margin-bottom: 24px;
}

/* ==========================================================================
   Header: logo size + centered nav
   ========================================================================== */
.navbar .navbar-brand img {
  max-height: 58px;
  width: auto;
}
.footer-widget__logo img {
  max-height: 72px;
  width: auto;
}
@media (min-width: 992px) {
  .navbar .navbar-collapse {
    display: flex !important;
    justify-content: center;
  }
  .navbar .navbar-nav {
    margin-right: 0 !important;
  }
}

/* ==========================================================================
   Floating social sidebar (collapsible on mobile)
   ========================================================================== */
.sc-social-toggle {
  display: none;
}
.sc-social-items {
  display: flex;
  flex-direction: column;
}

@media (max-width: 991.98px) {
  .sc-social-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 60px;
    background: #0C3B1C;
    color: #fff;
    border: 0;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
  }
  .sc-social-items {
    display: none;
  }
  .sc-social-sidebar.open .sc-social-items {
    display: flex;
  }
  .sc-social-sidebar.open .sc-social-toggle .fa-chevron-right {
    transform: rotate(180deg);
  }
}

/* ==========================================================================
   Service area badges (contact page)
   ========================================================================== */
.sc-areas { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sc-area-badge {
  display: inline-block;
  background: #EFF8F0;
  color: #1E8A3D;
  border: 1px solid #bfe6c8;
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 15px;
}

/* ==========================================================================
   Global UI/UX refinements (mobile-first, accessibility, consistency)
   ========================================================================== */

/* Touch targets: at least 44px (Apple HIG / Material Design guidance) */
@media (max-width: 767px) {
  .btn { min-height: 44px; }
  .sc-cta-btn { min-width: 48px; min-height: 48px; }
  .navbar-toggler { min-width: 44px; min-height: 44px; }
  .bk-qty__minus, .bk-qty__plus { width: 44px; height: 44px; }
  .bk-qty__input { height: 44px; }
}

/* Clear visual hierarchy: smaller hero text on small phones */
@media (max-width: 575px) {
  .sc-hero__title { font-size: 27px; }
  .sc-hero__desc { font-size: 15px; }
  .sc-hero { padding: 44px 0 36px; }
}

/* Accessible, visible keyboard focus states */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #1E8A3D;
  outline-offset: 2px;
}

/* ==========================================================================
   Footer alignment: match logo/social, Company and Services with Quick Contacts
   ========================================================================== */
@media (min-width: 320px) and (max-width: 1199px) {
  .footer .footer-widget-about,
  .footer .footer-widget-nav {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media (min-width: 1200px) {
  .footer .footer-widget-about,
  .footer .footer-widget-nav {
    padding-right: 30px;
  }
}

/* ==========================================================================
   Homepage featured services (3 mini cards)
   ========================================================================== */
.sc-mini-service {
  display: block;
  background: #fff;
  border: 1px solid #e6eaef;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  margin-bottom: 24px;
  transition: box-shadow .2s ease, transform .2s ease;
}
.sc-mini-service:hover { box-shadow: 0 14px 34px rgba(12,59,28,.12); transform: translateY(-4px); text-decoration: none; }
.sc-mini-service img { width: 100%; height: 170px; object-fit: cover; display: block; }
.sc-mini-service__name {
  display: block;
  padding: 14px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 17px;
  color: #0C3B1C;
}

/* ==========================================================================
   Mobile menu: Book Now as a green button
   ========================================================================== */
.nav-book-now-item { margin-top: 16px; text-align: center; }
.nav-book-now {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0 18px;
  font-size: 18px;
  white-space: nowrap;
  border-radius: 50px;
}

/* ==========================================================================
   Page title banners: our own photos with a 50% dark overlay
   ========================================================================== */
[class*="page-title"].bg-overlay:before {
  background: none;
}
[class*="page-title"].bg-overlay:after {
  background: rgba(0, 0, 0, 0.85);
}

/* ==========================================================================
   Service area badges as links (contact page)
   ========================================================================== */
a.sc-area-badge { text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease; }
a.sc-area-badge:hover { background: #1E8A3D; color: #fff; border-color: #1E8A3D; }
.sc-service-card[id^="area-"] { scroll-margin-top: 110px; }

/* ==========================================================================
   Header: topbar link hover, larger contained logo, mobile header balance
   ========================================================================== */

/* "Call for a free quote" link: neutral normally, white on hover */
.header-topbar .topbar__text a {
  color: #9aaabb;
  transition: color .2s ease;
}
.header-topbar .topbar__text a:hover {
  color: #ffffff;
}

/* Logo: bigger while staying inside the header height */
.navbar .navbar-brand {
  display: flex;
  align-items: center;
  height: 100%;
  line-height: 1;
  margin-top: 0;
  margin-bottom: 0;
}
.navbar .navbar-brand img {
  max-height: 70px;
  width: auto;
  height: auto;
}
.is-sticky .navbar-brand img {
  max-height: 56px;
}

/* Mobile header: vertically center logo + hamburger, fill the empty space */
@media (max-width: 991px) {
  .navbar > .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 15px;
  }
  .navbar .navbar-brand {
    margin-left: 0 !important;
    height: 100%;
    display: flex;
    align-items: center;
  }
  .navbar .navbar-brand img {
    max-height: 60px;
  }
  .navbar .navbar-toggler {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
  }
  .navbar .navbar-toggler .menu-lines {
    position: relative;
    display: block;
    width: 23px;
    height: 13px;
  }
  .navbar .navbar-toggler .menu-lines:before { top: 0; }
  .navbar .navbar-toggler .menu-lines:after { top: 12px; }
  .navbar .navbar-toggler .menu-lines span { top: 6px; }
}

/* ==========================================================================
   Location map (footer)
   ========================================================================== */
.sc-location {
  padding: 60px 0;
  background: #f7faf7;
}
.sc-location__map {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(12, 59, 28, .14);
  line-height: 0;
}
.sc-location__map iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}
@media (max-width: 767px) {
  .sc-location__map iframe {
    height: 320px;
  }
}

/* Agency credit line in the footer bottom */
.sc-agency-credit {
  margin-top: 8px;
  color: #7f9c86;
  font-size: 12px;
}
