/* ANTRI - Armada Nasional Transportasi Rental Indonesia
   Professional Car Rental Website Styles */

:root {
  --primary: #c41e2a;
  --primary-dark: #9a1620;
  --primary-light: #e03a45;
  --accent: #25d366;
  --accent-hover: #1ebe57;
  --secondary: #ffd200;
  --secondary-dark: #e6b800;
  --blue-brand: #1a3a6b;
  --text: #1a1a1a;
  --text-light: #555555;
  --text-muted: #777777;
  --bg: #ffffff;
  --bg-light: #fffbf0;
  --bg-section: #fff8e7;
  --border: #f0e6c8;
  --shadow: 0 4px 20px rgba(196, 30, 42, 0.08);
  --shadow-lg: 0 10px 40px rgba(196, 30, 42, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--primary);
}

h1 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.header-top {
  background: var(--blue-brand);
  color: white;
  font-size: 0.85rem;
  padding: 8px 0;
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.header-top a {
  color: rgba(255,255,255,0.9);
}

.header-top a:hover {
  color: var(--accent);
}

.header-main {
  padding: 14px 0;
}

.header-main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.2;
}

.logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 1px;
}

.logo-tagline {
  font-size: 0.6rem;
  color: var(--blue-brand);
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.footer-brand .logo-img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}

.footer-brand .logo-name {
  color: white;
}

.footer-brand .logo-tagline {
  color: rgba(255,255,255,0.6);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-list > li {
  position: relative;
}

.nav-list a {
  display: block;
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--primary);
  background: var(--bg-light);
}

.nav-list .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 240px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}

.nav-list li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 0.88rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-wa {
  background: var(--accent);
  color: white !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-wa:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #9a1620 0%, #c41e2a 40%, #1a3a6b 100%);
  color: white;
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,255,255,0.03)"/><circle cx="20" cy="80" r="30" fill="rgba(255,255,255,0.02)"/></svg>');
  background-size: cover;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  color: white;
  margin-bottom: 16px;
  font-weight: 800;
}

.hero-content .subheadline {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}

.hero-feature svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 16/10;
}

/* ========== SECTIONS ========== */
.section {
  padding: 70px 0;
}

.section-alt {
  background: var(--bg-section);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.section-header p {
  font-size: 1.05rem;
}

.badge {
  display: inline-block;
  background: rgba(255, 210, 0, 0.2);
  color: #9a1620;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========== SERVICE CARDS ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card-img {
  height: 180px;
  background: var(--bg-section);
  overflow: hidden;
  position: relative;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.05);
}

.service-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  margin-bottom: 10px;
}

.service-card-body p {
  flex: 1;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.service-card .btn {
  margin-top: auto;
  width: 100%;
}

/* ========== WHY US ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.why-card {
  background: white;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.why-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 210, 0, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}

.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, #c41e2a 0%, #9a1620 50%, #1a3a6b 100%);
  color: white;
  padding: 50px 0;
  text-align: center;
}

.cta-banner h2 {
  color: white;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 24px;
}

/* ========== CONTENT PAGES ========== */
.page-hero {
  background: linear-gradient(135deg, #9a1620 0%, #c41e2a 60%, #1a3a6b 100%);
  color: white;
  padding: 60px 0 50px;
  text-align: center;
}

.page-hero h1 {
  color: white;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb span {
  color: rgba(255,255,255,0.5);
}

.content-section {
  padding: 50px 0;
}

.content-section .container {
  max-width: 900px;
}

.content-section h2 {
  margin-top: 36px;
  margin-bottom: 14px;
}

.content-section h3 {
  margin-top: 28px;
  margin-bottom: 10px;
}

.content-section ul, .content-section ol {
  margin: 12px 0 20px 20px;
}

.content-section li {
  margin-bottom: 8px;
  color: var(--text-light);
  position: relative;
  padding-left: 4px;
}

.content-section ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: -20px;
}

.cta-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  margin: 36px 0;
}

.cta-box h3 {
  margin-bottom: 8px;
}

.cta-box p {
  margin-bottom: 18px;
}

/* ========== FAQ ========== */
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-answer {
  padding: 0 20px 18px;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  box-shadow: var(--shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  padding: 30px 16px 12px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 20px;
}

.contact-info-card h3 {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-card p, .contact-info-card a {
  color: var(--text-light);
  font-size: 1rem;
}

.contact-info-card a:hover {
  color: var(--accent);
}

/* ========== FOOTER ========== */
.footer {
  background: #1a3a6b;
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-name {
  color: white;
  font-size: 1.5rem;
}

.footer-brand .logo-tagline {
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.footer h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 600;
}

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

.footer ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.footer ul a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.footer-social a:hover {
  background: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ========== FLOATING WA ========== */
.floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: pulse-wa 2s infinite;
}

.floating-wa:hover {
  transform: scale(1.1);
  background: var(--accent-hover);
}

.floating-wa svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .nav {
    display: none;
  }
  
  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
  }
  
  .nav.active .nav-list {
    flex-direction: column;
    width: 100%;
  }
  
  .nav.active .nav-list a {
    padding: 12px 16px;
    width: 100%;
  }
  
  .nav.active .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding-left: 16px;
    display: none;
  }
  
  .nav.active .nav-list li:hover .dropdown,
  .nav.active .nav-list li.open .dropdown {
    display: block;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-features {
    justify-content: center;
  }
  
  .hero-image {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header-top {
    font-size: 0.75rem;
    text-align: center;
  }
  
  .header-top .container {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero {
    padding: 50px 0 60px;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .btn-lg {
    padding: 14px 24px;
    font-size: 0.95rem;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.gap-2 { gap: 12px; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }

/* ========== FLEET / ARMADA ========== */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.fleet-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.fleet-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.fleet-card-img {
  height: 180px;
  background: var(--bg-section);
  overflow: hidden;
  position: relative;
}

.fleet-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fleet-card:hover .fleet-card-img img {
  transform: scale(1.05);
}

.fleet-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}

.fleet-badge.popular {
  background: var(--accent);
}

.fleet-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fleet-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.fleet-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.fleet-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.fleet-price {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.fleet-price-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.fleet-price-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.fleet-price-value small {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.price-note {
  background: #fff8e6;
  border: 1px solid #f0d78c;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.92rem;
  color: #6b5a1e;
}

.price-note strong {
  color: #5a4a10;
}
