/* =========================================================
   Rama Setya Mandiri — Elegant Aviation Theme
   ========================================================= */

:root {
  --navy: #0a2a43;
  --sky-deep: #0b5fa5;
  --sky: #2e8bc0;
  --sky-light: #7fc7ea;
  --sky-pale: #eaf6fd;
  --gold: #c9a24b;
  --gold-light: #e6cd8a;
  --white: #ffffff;
  --ink: #16324a;
  --ink-soft: #4d6b82;
  --border: #dfeaf1;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-soft: 0 20px 45px -20px rgba(10, 42, 67, 0.25);
  --shadow-card: 0 12px 30px -12px rgba(10, 42, 67, 0.18);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 600;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 45px;
}

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .8em;
}
.eyebrow.center { display: block; text-align: center; }
.center { text-align: center; }
.section-sub {
  max-width: 560px;
  margin: -0.4em auto 2.5em;
}

section { padding: 96px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--sky-deep), var(--navy));
  color: var(--white);
  box-shadow: 0 14px 30px -10px rgba(11, 95, 165, .55);
}
.btn-primary:hover { box-shadow: 0 18px 34px -8px rgba(11, 95, 165, .65); }

.btn-outline {
  background: transparent;
  border-color: var(--sky-deep);
  color: var(--sky-deep);
}
.btn-outline:hover { background: var(--sky-deep); color: var(--white); }

.btn-ghost {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.5);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,.28); }

.btn-light {
  background: var(--white);
  color: var(--navy);
}
.btn-light:hover { background: var(--gold-light); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -12px rgba(10,42,67,.25);
  padding: 10px 0;
}

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

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 1.25rem; color: var(--white); font-weight: 600; }
.site-header.scrolled .logo { color: var(--navy); }
.logo em { font-style: normal; color: var(--gold); }
.logo-icon { color: var(--gold); display: flex; }

/* Uploaded logo image (CMS) */
.logo-img { height: 38px; width: auto; display: block; }
.logo-swap-dark { display: none; }
.site-header.scrolled .logo-swap-light { display: none; }
.site-header.scrolled .logo-swap-dark { display: block; }
.site-footer .logo-img { height: 32px; }

.main-nav { display: flex; gap: 34px; }
.main-nav a {
  position: relative;
  font-size: .92rem;
  font-weight: 500;
  color: var(--white);
  padding: 6px 0;
  transition: color .25s ease;
}
.site-header.scrolled .main-nav a { color: var(--ink); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s ease;
}
.main-nav a:hover { color: var(--gold); }
.main-nav a:hover::after { width: 100%; }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: rgba(255,255,255,.5);
}
.site-header.scrolled .lang-switch { color: rgba(15,25,40,.35); }
.lang-switch a { padding: 0; opacity: .65; }
.lang-switch a::after { display: none; }
.lang-switch a:hover { opacity: 1; }
.lang-switch a.is-active { opacity: 1; color: var(--gold); }
.main-nav.open .lang-switch { color: rgba(15,25,40,.4); }

.nav-cta { display: inline-flex; }
.site-header:not(.scrolled) .nav-cta { border-color: rgba(255,255,255,.7); color: var(--white); }
.site-header:not(.scrolled) .nav-cta:hover { background: var(--white); color: var(--navy); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  height: 2px; width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s ease;
}
.site-header.scrolled .nav-toggle span { background: var(--navy); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  padding: 190px 0 140px;
  overflow: hidden;
  background: var(--navy);
  isolation: isolate;
}

.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.hero-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,26,45,.82) 0%, rgba(9,53,88,.72) 40%, rgba(11,95,165,.55) 75%, rgba(21,68,109,.68) 100%);
}

.hero-sky { position: absolute; inset: 0; z-index: 1; overflow: hidden; }

.cloud {
  position: absolute;
  background: rgba(255,255,255,.85);
  border-radius: 999px;
  filter: blur(1px);
  opacity: .5;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: inherit;
  border-radius: 999px;
}
.cloud-1 { width: 180px; height: 46px; top: 14%; left: -220px; animation: drift 38s linear infinite; }
.cloud-1::before { width: 90px; height: 90px; top: -46px; left: 20px; }
.cloud-1::after { width: 70px; height: 70px; top: -32px; left: 90px; }

.cloud-2 { width: 130px; height: 34px; top: 30%; left: -200px; animation: drift 26s linear infinite 4s; opacity: .4; }
.cloud-2::before { width: 66px; height: 66px; top: -32px; left: 14px; }
.cloud-2::after { width: 50px; height: 50px; top: -24px; left: 66px; }

.cloud-3 { width: 220px; height: 54px; top: 55%; left: -260px; animation: drift 48s linear infinite 10s; opacity: .35; }
.cloud-3::before { width: 110px; height: 110px; top: -56px; left: 26px; }
.cloud-3::after { width: 84px; height: 84px; top: -40px; left: 110px; }

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(calc(100vw + 300px)); }
}

.plane-path { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.plane-path path { stroke: transparent; }

.plane {
  position: absolute;
  top: 0; left: 0;
  color: var(--white);
  filter: drop-shadow(0 8px 14px rgba(0,0,0,.25));
  offset-path: path('M -50,340 C 200,300 350,120 620,150 C 820,175 900,90 1050,60');
  offset-rotate: auto;
  animation: fly 16s ease-in-out infinite;
}
@keyframes fly {
  0%   { offset-distance: 0%;   opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
/* Fallback for browsers without motion-path support */
@supports not (offset-path: path('M0,0')) {
  .plane { top: 20%; left: 10%; animation: none; }
}

.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 900px; margin: 0 auto; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  margin-bottom: .4em;
}
.hero h1 span { color: var(--gold-light); }
.hero-sub { color: rgba(255,255,255,.88); font-size: 1.05rem; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }

/* Search card */
.search-card {
  position: relative;
  z-index: 3;
  margin-top: 64px;
  background: rgba(255,255,255,.96);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr auto 1fr 1fr 1fr auto;
  align-items: end;
  gap: 18px;
}
.search-field { display: flex; flex-direction: column; gap: 6px; }
.search-field label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-soft);
  font-weight: 600;
}
.search-field input, .search-field select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-field input:focus, .search-field select:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(46,139,192,.15);
}
.search-swap {
  align-self: center;
  color: var(--gold);
  padding-bottom: 12px;
}
.search-submit { justify-content: center; height: 46px; }
.search-note {
  text-align: center;
  color: var(--white);
  opacity: .8;
  font-size: .85rem;
  margin-top: 14px;
  position: relative;
  z-index: 2;
}

/* =========================================================
   Stats
   ========================================================= */
.stats-strip {
  background: var(--navy);
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  padding: 56px 24px;
}
.stat { color: var(--white); border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: none; }
.stat-num, .stat-suffix {
  font-family: var(--font-head);
  font-size: 2.4rem;
  color: var(--gold-light);
  font-weight: 700;
}
.stat p { color: rgba(255,255,255,.75); margin-top: .4em; font-size: .9rem; }

/* =========================================================
   About
   ========================================================= */
.about { background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-frame { position: relative; }
.about-illustration {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-card);
}
.badge-float {
  position: absolute;
  bottom: -18px; right: -18px;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  font-size: .85rem;
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  border-left: 3px solid var(--gold);
}
.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 1.6em 0;
}
.vm-card {
  background: var(--sky-pale);
  border-radius: 14px;
  padding: 22px 24px;
}
.vm-card h4 {
  font-size: .95rem;
  color: var(--sky-deep);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .6em;
}
.vm-card p { margin: 0; font-size: .9rem; }

/* =========================================================
   Struktur Organisasi
   ========================================================= */
.org-structure { background: var(--sky-pale); }
.org-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 20px;
}
.org-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease;
}
.org-card:hover { transform: translateY(-6px); }
.org-photo {
  width: 108px; height: 108px;
  margin: 0 auto 18px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--sky-pale);
  box-shadow: var(--shadow-card);
}
.org-photo img { width: 100%; height: 100%; object-fit: cover; }
.org-card h3 { font-size: 1.02rem; margin-bottom: .25em; }
.org-role { color: var(--gold); font-weight: 600; font-size: .85rem; margin: 0; }

/* =========================================================
   Services
   ========================================================= */
.services { background: var(--sky-pale); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}
.services-grid-2 { grid-template-columns: repeat(2, 1fr); }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease;
  border-top: 3px solid transparent;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 40px -16px rgba(10,42,67,.28);
  border-top-color: var(--gold);
}
.service-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky-deep), var(--navy));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform .3s ease;
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.05); }
.service-card h3 { margin-bottom: .35em; font-size: 1.15rem; }
.service-card p { margin: 0; font-size: .92rem; }

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 16px 0 0;
}
.tag-list li {
  background: var(--sky-pale);
  color: var(--sky-deep);
  font-size: .78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

.service-highlight {
  margin-top: 28px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  border-top-color: var(--gold);
}
.service-highlight .service-icon { margin-bottom: 0; }
.service-highlight h3 { margin-bottom: .3em; }
.service-highlight p { margin: 0; }

/* =========================================================
   Fleet
   ========================================================= */
.fleet { background: var(--white); }
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}
.fleet-card {
  background: var(--sky-pale);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease;
}
.fleet-card:hover { transform: translateY(-6px); }
.fleet-photo { height: 190px; overflow: hidden; }
.fleet-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fleet-card:hover .fleet-photo img { transform: scale(1.06); }
.fleet-body { padding: 22px 24px 26px; }
.fleet-body h3 { font-size: 1.1rem; margin-bottom: .4em; }
.fleet-config { font-size: .85rem; color: var(--sky-deep); font-weight: 600; margin-bottom: .2em; }
.fleet-cap { font-size: .85rem; margin: 0; }

/* =========================================================
   Destinations / Portfolio
   ========================================================= */
.destinations { background: var(--white); }
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 20px;
}
.dest-card {
  position: relative;
  height: 260px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .35s ease;
}
.dest-card:hover { transform: scale(1.03); }
.dest-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.dest-card:hover .dest-photo img,
.dest-photo:hover img { transform: scale(1.08); }
.dest-photo {
  position: relative;
  width: 100%; height: 100%;
}
.dest-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,42,67,0) 45%, rgba(10,42,67,.82) 100%);
}
.dest-photo figcaption {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  z-index: 1;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
}

/* =========================================================
   Mengapa Kami
   ========================================================= */
.process { background: var(--sky-pale); }
.process-track { position: relative; margin-top: 30px; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.process-steps-4 { grid-template-columns: repeat(4, 1fr); }
.process-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  text-align: left;
}
.step-icon {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  margin-bottom: 14px;
}
.process-step h3 { margin-bottom: .3em; font-size: 1.05rem; }
.process-step p { font-size: .9rem; margin: 0; }

/* =========================================================
   Mitra
   ========================================================= */
.partners { background: var(--white); }
.partner-cols {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  margin-top: 20px;
  align-items: start;
}
.partner-col {
  background: var(--sky-pale);
  border-radius: var(--radius);
  padding: 32px;
}
.partner-col h3 {
  font-size: 1.05rem;
  color: var(--sky-deep);
  margin-bottom: .8em;
}
.partner-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.partner-list li {
  font-size: .88rem;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}
.partner-list li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.partner-list strong { color: var(--navy); }
.partner-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.partner-logos img {
  height: 40px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .7;
  transition: filter .25s ease, opacity .25s ease;
}
.partner-logos img:hover { filter: grayscale(0); opacity: 1; }

/* =========================================================
   CTA
   ========================================================= */
.cta {
  background: linear-gradient(120deg, var(--navy), var(--sky-deep));
  padding: 70px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta h2 { color: var(--white); margin-bottom: .25em; }
.cta p { color: rgba(255,255,255,.8); margin: 0; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 80px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p { color: rgba(255,255,255,.6); font-size: .9rem; margin-top: 14px; }
.logo-light { color: var(--white); }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 600;
  transition: background .25s ease, border-color .25s ease;
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 1em; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,.65); font-size: .9rem; margin-bottom: .7em; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact p { margin-bottom: .5em; }

.footer-bottom { padding: 24px; text-align: center; font-size: .8rem; color: rgba(255,255,255,.5); }

/* =========================================================
   WhatsApp float
   ========================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 24px -8px rgba(0,0,0,.4);
  z-index: 90;
  transition: transform .25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* =========================================================
   Reveal animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; }
  .services-grid, .services-grid-2, .dest-grid, .fleet-grid, .process-steps, .process-steps-4 { grid-template-columns: repeat(2, 1fr); }
  .org-grid { grid-template-columns: repeat(3, 1fr); }
  .vision-mission, .partner-cols { grid-template-columns: 1fr; }
  .search-card { grid-template-columns: 1fr 1fr; }
  .search-swap { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .stat { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  section { padding: 64px 0; }
  .main-nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow-card);
  }
  .main-nav.open a { color: var(--ink); }
  .hero { padding: 150px 0 100px; }
  .search-card { grid-template-columns: 1fr; }
  .services-grid, .services-grid-2, .dest-grid, .fleet-grid, .process-steps, .process-steps-4 { grid-template-columns: 1fr; }
  .org-grid { grid-template-columns: repeat(2, 1fr); }
  .service-highlight { flex-direction: column; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
}
