/* ===================================
   RESET & GLOBAL
=================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f6f8fa;
  color: #222;
}

/* Variabel Warna */
:root {
  --primary: #8b0000;   /* Merah maroon */
  --accent: #b22222;    /* Merah tua */
  --muted: #6c757d;     /* Abu-abu */
  --bg: #f6f8fa;        /* Background */
  --container: 1200px;  /* Lebar max container */
  --radius: 10px;       /* Radius default */
}

/* Container Utility */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px;
}

/* Button Utility */
.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.btn-wa {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

/* ===================================
   HEADER & NAVBAR
=================================== */
.site-header {
  background: #fff;
  position: sticky; /* navbar + header menempel */
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 18px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 56px;
}

.main-nav {
  display: flex;
  gap: 12px;
  /* Hapus position: fixed */
}

.main-nav a {
  color: #333;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Burger menu (tampil di mobile) */
.btn-burger {
  display: none;
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

/* ===================================
   HERO SLIDER
=================================== */
.slider {
  position: relative;
  height: 100vh;       /* penuh layar */
  max-height: 560px;   /* biar tidak terlalu tinggi di desktop */
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity .7s ease;

  display: flex;
  justify-content: center;
  align-items: center;
}

.slide.active {
  opacity: 1;
}

.slide-inner {
  position: relative;
  padding: 20px 15px;
  color: #fff;
  max-width: 90%;          /* biar muat di layar kecil */
  text-shadow: 0 6px 20px rgba(0,0,0,0.45);
  text-align: center;
  background: rgba(0,0,0,0.4);
  border-radius: 10px;
}

.slide-inner h1 {
  font-size: 2rem;   /* default HP */
  margin-bottom: 10px;
}

.slide-inner p {
  font-size: 1rem;
  margin-bottom: 14px;
}

/* Responsive tweak */
@media (min-width: 768px) {
  .slide-inner h1 {
    font-size: 2.5rem;
  }
  .slide-inner p {
    font-size: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .slide-inner h1 {
    font-size: 3rem;
  }
  .slide-inner p {
    font-size: 1.3rem;
  }
}

/* Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

/* Card */
.services-card {
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #222;
  transition: all 0.4s ease;
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 0.8s forwards;
}

.services-card:nth-child(2) { animation-delay: 0.2s; }
.services-card:nth-child(3) { animation-delay: 0.4s; }

.services-card:hover {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/* Isi card */
.services-card-body {
  padding: 2rem;
}

.services-card-body h3 {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
  transition: color 0.3s;
}

.services-card:hover .services-card-body h3 {
  color: #ff6b6b;
}

/* Animasi masuk */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SERVICES SECTION (Versi 2) */
.services-section {
  padding: 60px 20px;
  background: #f9fafc;
  text-align: center;
}

.services-title {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #222;
  font-weight: bold;
  position: relative;
  display: inline-block;
}

.services-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #ff4757;
  border-radius: 10px;
}

.services-container {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.service-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.service-icon {
  font-size: 40px;
  background: #ff4757;
  color: #fff;
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  font-size: 1.2rem;
  color: #333;
  margin: 0;
}

/* ARMADA SECTION (Versi Putih dengan Card) */
.armada-section {
  background: #fff;
  padding: 50px 20px;
  text-align: center;
  overflow: hidden;
}

.armada-title {
  font-size: 2rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.armada-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #e60000;
  border-radius: 10px;
}

.armada-carousel {
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.armada-track {
  display: flex;
  gap: 20px;
  animation: scrollCars 18s linear infinite;
}

.armada-card {
  flex: 0 0 auto;
  width: 260px;
  background: #fff;
  border: 3px solid #e60000;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s ease;
}

.armada-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 12px;
}

.armada-card h3 {
  font-size: 1.1rem;
  color: #333;
  margin: 0;
}

.armada-card:hover {
  transform: translateY(-8px);
}

/* Animasi auto scroll */
@keyframes scrollCars {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}



/* ===================================
   MAIN SECTIONS
=================================== */
.main {
  padding: 28px 18px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform .18s ease;
}
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card-body {
  padding: 12px;
}
.meta {
  font-size: 13px;
  color: var(--muted);
}
.price {
  color: var(--accent);
  font-weight: 800;
  margin: 8px 0;
}

/* Booking Form */
.booking {
  background: #fff;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  margin-top: 20px;
}
.booking label {
  display: block;
  margin-top: 8px;
  font-weight: 600;
}
.booking input,
.booking select,
.booking textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e6e6e6;
  margin-top: 6px;
}

/* Artikel */
.article {
  background: #fff;
  padding: 14px;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.04);
  margin-bottom: 12px;
}

/* Kontak */
.contact-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 12px;
}

/* ===================================
   FOOTER
=================================== */
.site-footer {
  background: #fff;
  padding: 20px;
  margin-top: 30px;
  border-top: 1px solid #eee;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===================================
   RESPONSIVE DESIGN
=================================== */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .slide-inner { max-width: 520px; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .btn-burger { display: inline-block; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .slider { height: 360px; }
  .slide-inner {
    position: static;
    padding: 20px;
    background: linear-gradient(180deg,rgba(0,0,0,0.45),transparent);
    margin-top: -140px;
  }
  .slide-inner h1 { font-size: 24px; }
  .slide-inner p { font-size: 14px; }
  .slider-dots { right: 12px; bottom: 12px; }
}
.social-float {
  position: fixed;
  top: 40%;
  left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.social-btn {
  width: 48px;
  height: 48px;
  background: #e60000; /* merah bulat */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}
.social-btn:hover {
  transform: scale(1.1);
}
/* ================================
   ABOUT US PAGE - Tentang Kami
================================ */

/* Intro atau penjelasan perusahaan */
.about-intro {
  padding: 40px 0;
}
.about-intro h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.about-intro p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 15px;
  line-height: 1.6;
}

/* Nilai / keunggulan perusahaan */
.about-values {
  padding: 40px 0;
}
.about-values .card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: transform .2s;
}
.about-values .card:hover {
  transform: translateY(-5px);
}
.about-values .card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}
.about-values .card p {
  color: #555;
  font-size: 0.95rem;
}

/* Kontak di halaman tentang */
.about-contact {
  padding: 30px 0;
  text-align: center;
}
.about-contact h2 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 15px;
}
.about-contact p {
  color: var(--muted);
  font-size: 1rem;
}
/* ================================
   LAYANAN KAMI PAGE
================================== */

/* Hero kecil untuk layanan */
.hero-small {
  height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-small .slide-inner {
  padding-top: 100px; /* agar teks layanan muncul di tengah vertikal */
}
.hero-small h1 {
  color: #fff;
  font-size: 2.5rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* Section type layanan */
.service-type {
  margin-top: 40px;
  margin-bottom: 60px;
}
.service-type h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.service-type p {
  color: var(--muted);
  margin-bottom: 30px;
  line-height: 1.5;
}

/* kartu layanan */
.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
.service-card .card-body {
  padding: 15px;
}
.service-card .price {
  color: var(--accent);
  font-weight: bold;
  margin-bottom: 10px;
}

/* Layout grid responsive */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .hero-small { height: 200px; }
  .hero-small .slide-inner { padding-top: 70px; }
}
/* ================================
   ARTIKEL & TIPS PAGE
================================== */

/* Daftar artikel */
.articles-list {
  margin-top: 40px;
  margin-bottom: 60px;
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}

.article-card .card-body {
  padding: 15px;
}

.article-card h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.article-card .meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.article-card p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 10px;
}

/* Button baca selengkapnya */
.article-card .btn-primary {
  font-size: 0.9rem;
}

/* Grid responsif */
@media (max-width: 1100px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
}
/* ================================
   HALAMAN KONTAK - Contact Page
================================== */

.hero-small {
  height: 300px;
  background-size: cover;
  background-position: center;
}
.hero-small .slide-inner {
  padding-top: 100px;
}

.contact-info {
  padding: 40px 0;
  text-align: center;
}
.contact-info h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.contact-info p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 10px;
}

.contact-form {
  padding-bottom: 60px;
  max-width: 600px;
  margin: auto;
}
.contact-form h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.contact-form label {
  display: block;
  font-weight: 600;
  margin-top: 15px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-top: 5px;
}
.contact-form button {
  margin-top: 20px;
}

/* Responsif */
@media (max-width: 768px) {
  .hero-small { height: 200px; }
  .hero-small .slide-inner { padding-top: 70px; }
  .contact-info p, .contact-info h2 { font-size: 1rem; }
}
/* Footer */
.footer {
  background-color: #111;
  color: #fff;
  font-family: 'Arial', sans-serif;
  padding: 60px 20px 20px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer h3, .footer h4 {
  color: #ff4d4d;
  margin-bottom: 15px;
}

.footer p, .footer li, .footer a {
  font-size: 14px;
  color: #ccc;
  text-decoration: none;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: #ff4d4d;
  text-decoration: underline;
  transition: 0.3s;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  color: #fff;
  border-radius: 50%;
  background-color: #ee0d0d;
  transition: all 0.3s ease;
  font-size: 16px;
}

.social-btn:hover {
  transform: translateY(-5px);
  background-color: #ff4d4d;
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #f30e0e;
  padding-top: 15px;
  font-size: 13px;
  color: #dd0b0b;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #111;
  letter-spacing: 1px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #faf9f9;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #333;
}

.card:hover {
  transform: translateY(-5px);
  background: #ece8e8;
}

.card img {
  width: 100%;
  display: block;
}

.card-body {
  padding: 1.5rem;
  text-align: center;
}

.card-body h3 {
  color: #111111;
  margin-bottom: 10px;
}

.price-list {
  display: none; /* sembunyi default */
  list-style: none;
  padding: 0;
  margin: 10px 0;
  color: #ff4d4d;
  font-weight: 600;
}

.price-list li {
  margin-bottom: 6px;
}

.btn-price {
  padding: 8px 14px;
  margin-bottom: 10px;
  background-color: #0f0f0f;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-price:hover {
  background-color: #ff4d4d;
}

.btn-primary {
  display: inline-block;
  padding: 10px 16px;
  background-color: #ff4d4d;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background-color: #e60000;
}

@media (max-width: 768px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Scroll To Top Button */
#scrollTopBtn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  background: #e60000;
  color: #fff;
  border: none;
  padding: 12px 15px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: none; /* default tersembunyi */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollTopBtn:hover {
  background: #c40000;
  transform: translateY(-4px);
}
