/* ============================================================
   Derek Mobil Terdekat – style.css
   Palette: Deep Navy #0A1628 | Signal Orange #F05A1A | 
            Steel #1E3A5F | Light Steel #E8EEF5 | White #FFFFFF
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0A1628;
  --orange:  #F05A1A;
  --orange-d:#C44712;
  --steel:   #1E3A5F;
  --steel-l: #2A5080;
  --light:   #E8EEF5;
  --white:   #FFFFFF;
  --grey:    #6B7A8D;
  --grey-l:  #F2F5F9;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius:  10px;
  --shadow:  0 4px 24px rgba(10,22,40,0.12);
  --shadow-lg: 0 8px 40px rgba(10,22,40,0.18);
  --trans:   0.25s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--navy); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ===== CONTAINER ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ===== SECTION ===== */
.section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.15; color: var(--navy); margin: 8px 0 16px; }
.section-head p { color: var(--grey); font-size: 1.05rem; }
.section-head.light h2 { color: var(--white); }
.section-head.light p { color: rgba(255,255,255,0.75); }
.eyebrow { display: inline-block; font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange); background: rgba(240,90,26,0.1); padding: 4px 14px; border-radius: 100px; }
.light-eye { color: var(--orange); background: rgba(240,90,26,0.15); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: var(--white);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  padding: 15px 32px; border-radius: var(--radius);
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  box-shadow: 0 4px 20px rgba(240,90,26,0.35);
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--orange-d); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(240,90,26,0.45); }
.btn-primary.btn-xl { font-size: 1.25rem; padding: 18px 40px; }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--white);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  padding: 14px 30px; border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.5);
  transition: all var(--trans);
}
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 0;
}
.navbar.scrolled { background: var(--navy); box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.3rem; color: var(--white); font-weight: 600; }
.logo i { color: var(--orange); font-size: 1.5rem; }
.logo strong { color: var(--orange); }
.logo-footer { color: var(--white); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 0.92rem; font-weight: 500; padding: 6px 12px; border-radius: 6px; transition: color var(--trans); }
.nav-links a:hover { color: var(--white); }
.btn-wa-nav {
  background: #25D366; color: var(--white) !important;
  padding: 8px 18px !important; border-radius: 8px !important;
  font-weight: 700 !important; display: flex; align-items: center; gap: 6px;
  transition: background var(--trans), transform var(--trans) !important;
}
.btn-wa-nav:hover { background: #1aad50 !important; transform: scale(1.04); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.3s; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,22,40,0.90) 0%, rgba(10,22,40,0.60) 60%, rgba(30,58,95,0.4) 100%); }
.hero-content { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 60px; max-width: 760px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(240,90,26,0.2); border: 1px solid rgba(240,90,26,0.5); color: #FFAA80; padding: 6px 16px; border-radius: 100px; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 20px; }
.hero-title { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 800; color: var(--white); line-height: 1.05; margin-bottom: 20px; }
.hero-title .accent { color: var(--orange); }
.hero-sub { color: rgba(255,255,255,0.82); font-size: clamp(1rem, 2vw, 1.18rem); margin-bottom: 32px; max-width: 580px; }
.hero-stats { display: flex; align-items: center; gap: 24px; margin-bottom: 40px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--orange); line-height: 1; }
.stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.65); font-weight: 500; margin-top: 2px; }
.stat-div { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255,255,255,0.5); font-size: 0.75rem; letter-spacing: 0.1em; animation: bounce 2s infinite; }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* ===== URGENCY BAR ===== */
.urgency-bar { background: var(--orange); padding: 12px 0; }
.urgency-inner { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; color: var(--white); font-weight: 600; }
.urgency-inner i { font-size: 1.1rem; animation: pulse-icon 1.5s infinite; }
@keyframes pulse-icon { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.urgency-inner a { color: var(--white); font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; border-bottom: 2px solid rgba(255,255,255,0.6); transition: border-color var(--trans); }
.urgency-inner a:hover { border-color: var(--white); }

/* ===== LAYANAN ===== */
.layanan { background: var(--grey-l); }
.services-banner { border-radius: var(--radius); overflow: hidden; margin-bottom: 48px; box-shadow: var(--shadow); }
.services-banner img { width: 100%; height: auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--trans), box-shadow var(--trans); display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-img { height: 200px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.service-card:hover .service-img img { transform: scale(1.05); }
.service-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-body p { color: var(--grey); font-size: 0.92rem; flex: 1; margin-bottom: 18px; }
.service-wa { display: inline-flex; align-items: center; gap: 8px; background: #25D366; color: var(--white); font-weight: 700; font-size: 0.88rem; padding: 9px 18px; border-radius: 8px; transition: background var(--trans), transform var(--trans); }
.service-wa:hover { background: #1aad50; transform: scale(1.03); }

/* ===== WHY US ===== */
.why-us { background: var(--navy); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.why-item { text-align: center; }
.why-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(240,90,26,0.15); border: 2px solid rgba(240,90,26,0.3); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.why-icon i { font-size: 1.5rem; color: var(--orange); }
.why-item h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 10px; }
.why-item p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }

/* ===== AREA ===== */
.area { background: var(--white); }
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.area-card { background: var(--grey-l); border-radius: var(--radius); padding: 32px; border: 2px solid transparent; transition: all var(--trans); display: flex; flex-direction: column; }
.area-card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: var(--shadow); }
.area-card.featured { background: var(--steel); border-color: var(--orange); }
.area-icon { width: 52px; height: 52px; border-radius: var(--radius); background: rgba(240,90,26,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.area-card.featured .area-icon { background: rgba(240,90,26,0.2); }
.area-icon i { font-size: 1.4rem; color: var(--orange); }
.area-card h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; color: var(--navy); margin-bottom: 14px; }
.area-card.featured h3 { color: var(--white); }
.area-card ul { list-style: none; margin-bottom: 24px; flex: 1; }
.area-card ul li { font-size: 0.9rem; color: var(--grey); padding: 5px 0; border-bottom: 1px solid rgba(0,0,0,0.06); display: flex; align-items: center; gap: 6px; }
.area-card ul li::before { content: '→'; color: var(--orange); font-weight: 700; font-size: 0.8rem; }
.area-card.featured ul li { color: rgba(255,255,255,0.75); border-color: rgba(255,255,255,0.1); }
.btn-area { display: block; text-align: center; background: var(--orange); color: var(--white); font-weight: 700; font-size: 0.88rem; padding: 10px; border-radius: 8px; transition: background var(--trans); margin-top: auto; }
.btn-area:hover { background: var(--orange-d); }

/* ===== PORTFOLIO ===== */
.portfolio { background: var(--grey-l); }
.portfolio-banner { border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow); }
.portfolio-banner img { width: 100%; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio-card { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.portfolio-card:hover img { transform: scale(1.07); }
.portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,22,40,0.88) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; opacity: 0; transition: opacity var(--trans); }
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); }
.portfolio-overlay p { font-size: 0.85rem; color: rgba(255,255,255,0.75); margin-top: 4px; }

/* ===== KONTAK / FORM ===== */
.kontak { background: var(--navy); }
.kontak-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.kontak-info { color: var(--white); }
.kontak-info h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.15; margin: 10px 0 18px; }
.kontak-info p { color: rgba(255,255,255,0.7); margin-bottom: 32px; }
.kontak-detail { display: flex; flex-direction: column; gap: 20px; }
.kontak-item { display: flex; gap: 16px; align-items: flex-start; }
.kontak-item i { font-size: 1.2rem; color: var(--orange); margin-top: 2px; min-width: 20px; }
.kontak-item strong { display: block; color: var(--white); font-weight: 600; margin-bottom: 2px; }
.kontak-item span, .kontak-item a { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.kontak-item a:hover { color: var(--orange); }

.form-box { background: var(--white); border-radius: 16px; padding: 36px; box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #D1D9E6;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(240,90,26,0.12); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #AAB5C5; }
.form-group textarea { resize: vertical; min-height: 90px; }
.btn-submit {
  width: 100%; background: var(--orange); color: var(--white);
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  padding: 16px; border: none; border-radius: var(--radius); cursor: pointer;
  transition: background var(--trans), transform var(--trans);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit:hover { background: var(--orange-d); transform: translateY(-1px); }
.form-message { padding: 14px 18px; border-radius: 8px; font-size: 0.95rem; font-weight: 500; margin-top: 14px; }
.form-message.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.form-message.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ===== BLOG ===== */
.blog { background: var(--white); }
.blog-banner { border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; box-shadow: var(--shadow); }
.blog-banner img { width: 100%; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: var(--grey-l); border-radius: var(--radius); overflow: hidden; transition: transform var(--trans), box-shadow var(--trans); }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-img-placeholder { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.blog-img-1 { background: linear-gradient(135deg, #1E3A5F, #0A1628); color: var(--orange); }
.blog-img-2 { background: linear-gradient(135deg, #2A5080, #1E3A5F); color: #FFAA80; }
.blog-img-3 { background: linear-gradient(135deg, #F05A1A, #C44712); color: var(--white); }
.blog-body { padding: 22px; }
.blog-tag { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--orange); background: rgba(240,90,26,0.1); padding: 3px 10px; border-radius: 100px; margin-bottom: 10px; }
.blog-body h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.3; }
.blog-body p { color: var(--grey); font-size: 0.88rem; margin-bottom: 14px; }
.blog-link { color: var(--orange); font-size: 0.88rem; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; transition: gap var(--trans); }
.blog-link:hover { gap: 8px; }

/* ===== FAQ ===== */
.faq { background: var(--grey-l); }
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: var(--radius); border: 1.5px solid #D1D9E6; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 24px; font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--navy);
  transition: background var(--trans);
}
.faq-q:hover { background: var(--grey-l); }
.faq-q i { font-size: 0.85rem; color: var(--orange); transition: transform 0.3s; flex-shrink: 0; }
.faq-q[aria-expanded="true"] { color: var(--orange); }
.faq-q[aria-expanded="true"] i { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 24px 20px; }
.faq-a.open { display: block; }
.faq-a p { color: var(--grey); font-size: 0.95rem; line-height: 1.7; }
.faq-a a { color: var(--orange); font-weight: 600; }

/* ===== CTA FINAL ===== */
.cta-final { background: linear-gradient(135deg, var(--steel) 0%, var(--navy) 100%); text-align: center; }
.cta-final-inner h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.cta-final-inner p { color: rgba(255,255,255,0.72); font-size: 1.05rem; margin-bottom: 32px; }

/* ===== FOOTER ===== */
.footer { background: var(--navy); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; margin: 14px 0 20px; max-width: 280px; line-height: 1.7; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 0.95rem; transition: background var(--trans), color var(--trans); }
.footer-social a:hover { background: var(--orange); color: var(--white); }
.footer-col h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 16px; letter-spacing: 0.05em; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a, .footer-col ul li { color: rgba(255,255,255,0.55); font-size: 0.9rem; transition: color var(--trans); display: flex; align-items: center; gap: 8px; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-col ul li i { color: var(--orange); width: 16px; }
.footer-bottom { text-align: center; padding: 20px 0; }
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.82rem; line-height: 1.8; }

/* ===== FLOATING WA ===== */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  animation: wa-pulse 2.5s infinite;
}
.wa-float:hover { background: #1aad50; animation: none; transform: scale(1.08); }
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.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); }
}
.wa-tooltip {
  position: absolute; right: 70px; top: 50%; transform: translateY(-50%);
  background: var(--navy); color: var(--white); font-size: 0.82rem; font-weight: 600;
  padding: 6px 12px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity var(--trans);
}
.wa-float:hover .wa-tooltip { opacity: 1; }
.wa-tooltip::after { content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-left-color: var(--navy); border-right: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0;
    background: var(--navy); flex-direction: column; align-items: stretch;
    padding: 20px; gap: 4px;
    transform: translateY(-110%); opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links a { padding: 12px 16px; border-radius: 8px; }
  .btn-wa-nav { justify-content: center; padding: 12px 16px !important; }
  .hero-stats { gap: 16px; }
  .stat-num { font-size: 1.4rem; }
  .hero-cta { flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 24px; }
  .area-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .kontak-wrap { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .wa-float { bottom: 20px; right: 20px; width: 54px; height: 54px; font-size: 1.6rem; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.8rem; }
  .section-head h2 { font-size: 1.8rem; }
  .form-box { padding: 24px 18px; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
