/* ================================================
   STYLE UNTUK WEBSITE SERVICE MOBIL PANGGILAN
   File: style.css
   Responsive & Mudah Diedit
================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #fefefe;
  color: #1f1f2e;
  line-height: 1.4;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== NAVBAR ========== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  border-bottom: 1px solid #eaeef2;
}

.logo a {
  font-size: 1.8rem;
  font-weight: 800;
  text-decoration: none;
  color: #0a2b3e;
  letter-spacing: -0.5px;
}

.logo span {
  color: #e05a2a;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links li {
  font-weight: 600;
  font-size: 1rem;
  color: #2c3e4e;
  cursor: default;
  transition: 0.2s;
}

.nav-links li:hover {
  color: #e05a2a;
}

/* Nama kamu */
.profile-name {
  font-weight: 700;
  background: #f0f3f8;
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 0.9rem;
  color: #1f3b4a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-name i {
  font-size: 1rem;
  color: #e05a2a;
}

/* ========== HERO ========== */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 50px 0 40px;
  gap: 30px;
}

.hero-content {
  flex: 1.2;
}

.hero-content .badge {
  font-size: 0.85rem;
  letter-spacing: 1px;
  color: #e05a2a;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #0a2b3e;
}

.hero-content p {
  font-size: 1rem;
  color: #4a5b6b;
  max-width: 90%;
  margin-bottom: 28px;
}

.btn-primary {
  background-color: #e05a2a;
  border: none;
  padding: 12px 32px;
  border-radius: 40px;
  font-weight: 700;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
  display: inline-block;
  box-shadow: 0 6px 14px rgba(224, 90, 42, 0.2);
}

.btn-primary:hover {
  background-color: #c34a1f;
  transform: translateY(-2px);
}

.hero-image {
  flex: 0.9;
  background: #eef2f7;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ========== SERVICES ========== */
.services-intro {
  text-align: center;
  margin: 70px 0 30px;
}

.services-intro h2 {
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #0e2f40;
}

.services-intro p {
  max-width: 720px;
  margin: 0 auto;
  color: #5f6f7e;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin: 40px 0 30px;
}

.service-card {
  background: white;
  padding: 28px 20px;
  border-radius: 28px;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.06);
  transition: all 0.25s;
  border: 1px solid #eef2f2;
  text-align: center;
}

.service-card i {
  font-size: 2.5rem;
  color: #e05a2a;
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  color: #5a6e7c;
  font-size: 0.95rem;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #ffe1d2;
  box-shadow: 0 20px 30px -12px rgba(224, 90, 42, 0.12);
}

.view-all-wrapper {
  text-align: center;
  margin: 20px 0 60px;
}

.btn-outline {
  background: transparent;
  border: 2px solid #e05a2a;
  padding: 10px 32px;
  border-radius: 40px;
  font-weight: 700;
  color: #e05a2a;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
}

.btn-outline:hover {
  background: #e05a2a;
  color: white;
}

/* ========== SLIDER VERTIKAL ========== */
.slider-section {
  margin: 70px 0 50px;
}

.slider-title {
  text-align: center;
  margin-bottom: 40px;
}

.slider-title h2 {
  font-size: 2rem;
  font-weight: 800;
}

.slider-title p {
  color: #5f6f7e;
}

.double-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.slider-card {
  flex: 1;
  min-width: 260px;
  background: #ffffff;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border: 1px solid #eef2f2;
}

.slider-card h3 {
  font-size: 1.5rem;
  padding: 20px 20px 8px;
  font-weight: 700;
}

.slider-card p {
  padding: 0 20px 16px;
  color: #5f6f7e;
}

.slider-caption {
  font-size: 0.8rem !important;
  text-align: center;
  padding: 12px 20px !important;
}

.slider-image-container {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background-color: #f8fafc;
}

.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out, opacity 0.4s;
}

/* Slider 1: atas ke bawah */
.slider-vertical-down .slide-img {
  transform: translateY(-100%);
}

.slider-vertical-down .slide-img.active {
  transform: translateY(0);
  z-index: 2;
}

/* Slider 2: bawah ke atas */
.slider-vertical-up .slide-img {
  transform: translateY(100%);
}

.slider-vertical-up .slide-img.active {
  transform: translateY(0);
  z-index: 2;
}

/* ========== ABOUT US ========== */
.about-us {
  background: #f6f9fe;
  border-radius: 48px;
  padding: 50px 40px;
  margin: 60px 0;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-text {
  flex: 1.5;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.about-text .sub {
  color: #e05a2a;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 24px;
  color: #3b4f5e;
}

.check-list {
  display: flex;
  gap: 30px;
  list-style: none;
  flex-wrap: wrap;
}

.check-list li {
  font-weight: 600;
  margin-bottom: 10px;
}

.check-list i {
  color: #e05a2a;
  margin-right: 8px;
}

.stats {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-item {
  background: white;
  border-radius: 28px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.02);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: #0a2b3e;
}

.stat-label {
  color: #5f6f7e;
  font-weight: 500;
}

/* ========== WHATSAPP FLOATING BUTTON ========== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: 0.2s;
  z-index: 999;
  text-decoration: none;
}

.wa-float:hover {
  background-color: #128C7E;
  transform: scale(1.05);
}

/* ========== FOOTER ========== */
footer {
  text-align: center;
  padding: 28px 0;
  border-top: 1px solid #e2e8f0;
  margin-top: 20px;
  color: #6c7e8e;
  font-size: 0.85rem;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 850px) {
  .navbar {
    flex-direction: column;
    gap: 16px;
  }
  .hero {
    flex-direction: column;
  }
  .hero-content p {
    max-width: 100%;
  }
  .about-grid {
    flex-direction: column;
  }
  .double-slider {
    flex-direction: column;
  }
  .slider-card {
    width: 100%;
  }
}

@media (max-width: 550px) {
  .nav-links {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-content h1 {
    font-size: 2.3rem;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
}