/*
Theme Name: Seobin Clean
Theme URI: https://wp.seobin.info
Author: Seobin Studio
Author URI: https://seobin.info
Description: Custom clone of Jasa Cleaning Service landing design (bin-care.com inspired). Outfit + Atkinson Hyperlegible fonts, Elementor-blue palette.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPLv2 or later
Text Domain: seobin-clean
Tags: cleaning-service, business, one-page
*/

/* =========================================================
   1. BASE
========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: "Atkinson Hyperlegible", Arial, sans-serif;
  background: #EBEBEB;
  color: #222E34;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5 { font-family: "Outfit", sans-serif; font-weight: 600; line-height: 1.2; }

.site-content-wrap { background: #EBEBEB; }

/* =========================================================
   2. TOP BAR
========================================================= */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}
.top-bar .topbar-left {
  display: flex;
  align-items: center;
  gap: 32px;
}
.topbar-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  color: #353535;
}
.topbar-item i { font-size: 19px; color: #353535; }
.topbar-tags {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
  color: #5a5a5a;
  font-weight: 500;
}

/* =========================================================
   3. HEADER
========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.header-logo img { max-height: 46px; width: auto; }
.site-nav .menu {
  display: flex;
  align-items: center;
  list-style: none;
}
.site-nav .menu li a {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: #353535;
  padding: 10px 26px;
  position: relative;
  transition: color .2s;
}
.site-nav .menu li a::after {
  content: "";
  position: absolute;
  left: 26px; right: 26px; bottom: 4px;
  height: 2px;
  background: transparent;
  transition: background .25s;
}
.site-nav .menu li a:hover::after,
.site-nav .menu li.current-menu-item a::after,
.site-nav .menu li.current-menu-ancestor a::after { background: #ff622a; }
.site-nav .menu li a:hover { color: #353535; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header-search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: #353535;
  font-size: 18px;
  padding: 6px;
}
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 2px solid #039619;
  color: #039619;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  padding: 11px 20px;
  border-radius: 6px;
  transition: all .25s;
  white-space: nowrap;
}
.wa-btn i { font-size: 18px; }
.wa-btn:hover { background: #039619; color: #fff; }

/* mobile header */
.mobile-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  padding: 8px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.mobile-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mobile-search { flex: 1; min-width: 0; }
.mobile-search form { display: flex; }
.mobile-search .field {
  width: 100%;
  border: 1px solid #D2D2D2;
  border-radius: 6px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 15px;
  background: #F4F7F7;
}
.mobile-icons { display: flex; align-items: center; gap: 8px; }
.mobile-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #2A2A2A;
  color: #fff;
  font-size: 15px;
}
.mobile-icons a.mob-phone { background: #313131; }
.mobile-icons a.mob-mail { background: #272727; }
.mobile-nav {
  margin-top: 8px;
  border-top: 1px solid #eee;
  display: none;
}
.mobile-nav.open { display: block; }
.mobile-nav .menu li a {
  display: block;
  padding: 12px 4px;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  color: #353535;
  border-bottom: 1px solid #f0f0f0;
}
.menu-toggle {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #353535;
  padding: 4px;
}

/* full screen search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.97);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
}
.search-overlay.open { display: flex; }
.search-overlay form { width: 90%; max-width: 720px; position: relative; }
.search-overlay input {
  width: 100%;
  border: none;
  border-bottom: 2px solid #BFBFBF;
  background: transparent;
  font-family: "Outfit", sans-serif;
  font-size: 40px;
  color: #353535;
  padding: 12px 44px 12px 0;
  outline: none;
}
.search-overlay input::placeholder { color: #999; }
.search-overlay .close-search {
  position: absolute;
  top: -60px;
  right: 0;
  background: none;
  border: none;
  font-size: 34px;
  cursor: pointer;
  color: #353535;
}

/* =========================================================
   4. HERO CAROUSEL
========================================================= */
.hero {
  padding: 0 0 8px 0;
  overflow: hidden;
}
.hero-track {
  display: flex;
  gap: 7px;
  overflow: hidden;
}
.hero-slides {
  display: flex;
  gap: 7px;
  animation: heroScroll 20s linear infinite;
}
.hero-slides:hover { animation-play-state: paused; }
@keyframes heroScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero-slide {
  flex: 0 0 calc((100% / 4) - 7px);
  border-radius: 13px;
  overflow: hidden;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   5. COMPANY SECTION
========================================================= */
.company {
  padding: 50px 0 30px;
  background: #EBEBEB;
}
.company-wrap { display: flex; gap: 20px; }
.company-main { flex: 1 1 78%; }
.company h3.company-title {
  font-size: 30px;
  color: #222E34;
  margin-bottom: 14px;
}
.company-text {
  text-align: justify;
  color: #222E34;
  font-size: 17px;
}
.company-divider {
  height: 1px;
  width: 100%;
  background: rgba(142,142,142,0.76);
  margin: 15px 0;
}
.company h4.block-title {
  font-size: 32px;
  color: #222E34;
  margin: 18px 0 16px;
}

.area-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 -16px 0;
}
.area-card {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 5px;
  padding: 9px 11px 7px 11px;
  color: #fff;
  font-size: 15px;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
}
.area-card i { font-size: 22px; }
.area-household { background: linear-gradient(90deg,#6B0350,#B20686); }
.area-hotel    { background: linear-gradient(90deg,#520074,#810AB2); }
.area-office   { background: linear-gradient(90deg,#9E9200,#D8C802); }
.area-resto    { background: linear-gradient(90deg,#016E79,#0AA3B2); }
.area-hospital { background: linear-gradient(90deg,#265301,#469A01); }
.area-bank     { background: linear-gradient(90deg,#015791,#007DD2); }
.area-apartment{ background: linear-gradient(90deg,#760000,#B20A0A); }

.android-img { margin-top: 22px; border-radius: 13px; }
.android-img img { border-radius: 13px; }

/* keunggulan */
.company-features {
  display: flex;
  justify-content: space-around;
  gap: 75px;
  margin-top: 35px;
  flex-wrap: wrap;
}
.feature-item { text-align: center; }
.feature-item .feature-icon {
  font-size: 62px;
  color: #264A66;
  line-height: 1;
  margin-bottom: 6px;
}
.feature-item .feature-icon i { display: block; }
.feature-item h3 {
  font-size: 20px;
  color: #222E34;
  font-weight: 500;
}

/* =========================================================
   6. LAYANAN KAMI
========================================================= */
.services {
  background: #F4F7F7;
  padding: 120px 0;
}
.services-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}
.services-head h2 {
  font-size: 48px;
  color: #222E34;
  flex: 0 0 50%;
}
.services-head p {
  flex: 1;
  color: #222E34;
  font-size: 17px;
}
.view-all {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-direction: row-reverse;
  background: transparent;
  color: #222E34;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 17px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  padding-top: 6px;
}
.view-all:hover { color: #039619; }

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.gallery-filters button {
  border: 1px solid #ccc;
  background: #fff;
  color: #444;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 9px 18px;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
}
.gallery-filters button.active {
  background: #333;
  color: #fff;
  border-color: #333;
  border-radius: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.hidden { display: none; }

/* =========================================================
   7. KLIEN
========================================================= */
.clients {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  background: #222E34 url("assets/img/clients/bg.jpg") center/cover no-repeat;
}
.clients::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.9);
}
.clients > .container { position: relative; }
.clients h2 {
  font-size: 52px;
  color: #282828;
  text-align: center;
  margin-bottom: 8px;
}
.clients-sub {
  text-align: center;
  color: #222E34;
  margin: -15px 0 0 0;
}
.clients-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 30px 0;
}
.clients-row .terpercaya {
  flex: 0 0 20%;
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  color: #242424;
  font-weight: 600;
}
.client-logos {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.client-track {
  display: flex;
  align-items: center;
  gap: 59px;
  animation: logoScroll 24s linear infinite;
}
.client-track:hover { animation-play-state: paused; }
@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client-slide { flex: 0 0 auto; }
.client-slide img { max-height: 60px; width: auto; }

/* =========================================================
   8. FOOTER
========================================================= */
.site-footer { background: #264A66; color: #fff; padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-logo img { max-height: 46px; width: auto; }
.footer-logo a { display: inline-flex; }
.footer h4.title {
  font-size: 20px;
  color: #fff;
  margin: 0 0 18px;
}
.footer-social { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: #fff;
  color: #264A66;
  font-size: 17px;
  transition: opacity .2s;
}
.footer-social a:hover { opacity: .85; }
.footer-list li {
  padding: 6px 0;
  color: #e4eaf0;
  font-size: 16px;
}
.footer-list li i { margin-right: 10px; color: #9fc6ff; }
.footer-posts li { padding: 8px 0; }
.footer-posts a { color: #e4eaf0; line-height: 1.4; }
.footer-posts a:hover { color: #fff; }
.footer-posts .post-meta { display: block; font-size: 14px; color: #9fb4c9; margin-top: 3px; }

.copyright {
  background: #fff;
  text-align: center;
  padding: 14px 20px;
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  color: #222E34;
  position: relative;
}

/* floating wa (mobile bottom sticky) */
.wa-sticky {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  max-width: 100%;
  z-index: 200;
  padding: 10px 20px;
  background: #ffffff;
}
.wa-sticky .wa-btn {
  width: 100%;
  justify-content: center;
  background: #0AA65F;
  border-color: #0AA65F;
  color: #fff;
}
.wa-sticky .wa-btn:hover { background: #00D775; border-color: #00D775; color: #fff; }

/* floating round wa bubble (enhancement) */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 250;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0AA65F;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 18px rgba(10,166,95,.45);
  transition: transform .2s, background .2s;
}
.wa-float:hover { transform: translateY(-3px) scale(1.05); background: #00D775; }

/* =========================================================
   9. CONTENT (pages)
========================================================= */
.page-content, .content-area {
  background: #fff;
  padding: 60px 20px;
}
.content-area .container:first-of-type { max-width: 100%; }
.page-title {
  font-size: 34px;
  color: #222E34;
  margin-bottom: 20px;
}
.entry-content p { margin-bottom: 16px; }
.single-content { background: #fff; padding: 60px 20px; }
.no-results { background: #fff; padding: 60px 20px; text-align: center; }

/* =========================================================
   10. RESPONSIVE
========================================================= */
@media (max-width: 1024px) {
  .company-wrap { flex-direction: column; }
  .company-main { flex: 1 1 100%; }
  .services { padding: 60px 0; }
  .services-head h2 { font-size: 38px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slide { flex: 0 0 calc((100% / 3) - 7px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .clients-row { flex-direction: column; align-items: flex-start; }
  .client-slide img { max-height: 48px; }
}

@media (max-width: 767px) {
  .top-bar { display: none; }
  .site-header { display: none; }
  .mobile-header { display: block; }
  .company { padding: 40px 0 20px; }
  .company h4.block-title { font-size: 28px; text-align: center; }
  .company h3.company-title { font-size: 24px; text-align: center; }
  .company-text { text-align: justify; }
  .area-grid { justify-content: center; }
  .area-card { width: calc(50% - 10px); justify-content: flex-start; }
  .company-features { gap: 45px; }
  .feature-item .feature-icon { font-size: 52px; }
  .feature-item h3 { font-size: 17px; }
  .services { background: #F4F7F7; }
  .services-head { flex-direction: column; }
  .services-head h2 { font-size: 38px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { height: 240px; }
  .clients h2 { font-size: 36px; }
  .hero-slide { flex: 0 0 calc((100% / 2) - 7px); }
  .clients-row { gap: 20px; }
  .client-slide img { max-height: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .site-footer { padding-top: 40px; }
  .wa-float { display: none; }
  .wa-sticky { display: block; }
}