/* Wira Kusuma Tours & Transport — base styles
   Palette refined from client's raw picks (#4B3621, #D9C5A0, #8A9A5B, #6E7F5E, #7C6A46)
   into: dominant deep brown, muted olive accent, cream/sand neutrals. */

:root {
  --color-dark: #362718;
  --color-dark-soft: #4B3621;
  --color-accent: #5C6B3F;
  --color-accent-light: #8A9A5B;
  --color-cream: #F7F1E6;
  --color-cream-soft: #FBF8F2;
  --color-sand: #D9C5A0;
  --color-text: #35291D;
  --color-text-soft: #5C4E3E;
  --color-white: #FFFFFF;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Karla", "Helvetica Neue", Arial, sans-serif;

  --max-width: 1120px;
  --radius: 6px;
  --shadow: 0 10px 30px -12px rgba(54, 39, 24, 0.35);
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream-soft);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 1em; }

a { color: inherit; }

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

.section {
  padding: 64px 0;
}

.section--tight { padding: 48px 0; }

.section--dark {
  background: var(--color-dark);
  color: var(--color-cream);
}
.section--dark h2, .section--dark h3 { color: var(--color-cream); }

.section--sand {
  background: var(--color-sand);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 10px;
  display: block;
}
.section--dark .eyebrow { color: var(--color-accent-light); }

.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn--primary:hover { background: #4c5834; }

.btn--whatsapp {
  background: #3C6E4F;
  color: var(--color-white);
}
.btn--whatsapp:hover { background: #315b41; }

.btn--outline {
  background: transparent;
  border-color: var(--color-cream);
  color: var(--color-cream);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-dark);
  color: var(--color-cream);
  border-bottom: 1px solid rgba(217,197,160,0.25);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-cream);
  text-decoration: none;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.wordmark span {
  font-family: var(--font-body);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--color-accent-light);
  white-space: nowrap;
}
@media (max-width: 480px) {
  .wordmark { font-size: 1.05rem; }
  .wordmark span { display: none; }
}
.header-actions {
  display: flex;
  gap: 10px;
}
.header-actions .btn {
  padding: 10px 14px;
  font-size: 0.85rem;
}
.header-actions .btn-label { display: none; }
@media (min-width: 560px) {
  .header-actions .btn-label { display: inline; }
}

/* Hero */
.hero {
  position: relative;
  color: var(--color-white);
  display: flex;
  align-items: center;
  min-height: 88vh;
  overflow: hidden;
}
.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(54,39,24,0.55), rgba(54,39,24,0.78));
}
.hero .container { position: relative; z-index: 2; }
.hero .container {
  padding-top: 70px;
  padding-bottom: 70px;
}
.hero-content { max-width: 620px; }
.hero h1 { color: var(--color-white); }
.hero .tagline {
  font-size: 1.15rem;
  color: var(--color-cream);
  max-width: 520px;
  margin-bottom: 28px;
}
.hero .eyebrow { color: var(--color-accent-light); }

/* Value / problem section */
.value-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 10px;
}
.value-card {
  background: var(--color-white);
  border: 1px solid var(--color-sand);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: left;
}
.value-card .icon {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.value-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.value-card p { color: var(--color-text-soft); margin: 0; font-size: 0.96rem; }

/* Explore: two big Tours / Transport tiles */
.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 800px) {
  .explore-grid { grid-template-columns: 1fr; }
}

.explore-tile {
  background: var(--color-white);
  border: 1px solid var(--color-sand);
  border-radius: 10px;
  overflow: hidden;
}
.explore-tile > summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.explore-tile > summary::-webkit-details-marker { display: none; }
.explore-tile .tile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.explore-tile .tile-bg--low { object-position: center 85%; }
.explore-tile > summary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(54,39,24,0.1), rgba(54,39,24,0.88));
}
.explore-tile .tile-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
}
.explore-tile .tile-copy h3 { color: var(--color-white); margin-bottom: 4px; font-size: 1.7rem; }
.explore-tile .tile-copy p { color: var(--color-cream); margin: 0; font-size: 0.95rem; }
.explore-tile .tile-toggle {
  flex-shrink: 0;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.45);
  color: var(--color-white);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}
.explore-tile .tile-toggle .when-open { display: none; }
.explore-tile[open] .tile-toggle .when-closed { display: none; }
.explore-tile[open] .tile-toggle .when-open { display: inline; }

.explore-panel { padding: 28px 22px; }

/* Services (nested inside an explore tile) */
.service-group { margin-bottom: 40px; }
.service-group:last-child { margin-bottom: 0; }
.service-group h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-sand);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

/* Individual tour tiles */
.tour-tile-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.tour-tile {
  background: var(--color-white);
  border: 1px solid var(--color-sand);
  border-radius: 8px;
  overflow: hidden;
}
.tour-tile > summary {
  cursor: pointer;
  list-style: none;
}
.tour-tile > summary::-webkit-details-marker { display: none; }
.tour-tile .tile-photo {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  background-color: var(--color-sand);
}
.tour-tile .tile-head {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.tour-tile .tile-head h5 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--color-dark);
  margin: 0;
}
.tour-tile .tile-head .plus {
  color: var(--color-accent);
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.tour-tile[open] .tile-head .plus { transform: rotate(45deg); }
.tour-tile .tour-body {
  padding: 0 14px 16px;
  color: var(--color-text-soft);
  font-size: 0.9rem;
}
.tour-tile .tour-body ul { margin: 0; padding-left: 18px; }
.tour-tile .tour-body li { margin-bottom: 4px; }

/* Activity pills */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  background: var(--color-white);
  border: 1px solid var(--color-sand);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.92rem;
  color: var(--color-text);
}

/* Transport cards */
.transport-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.transport-card {
  background: var(--color-white);
  border: 1px solid var(--color-sand);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.transport-card .icon {
  width: 34px;
  height: 34px;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.transport-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.transport-card p { color: var(--color-text-soft); font-size: 0.94rem; margin: 0; }

/* Trust / testimonials */
.testimonial-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.testimonial {
  background: var(--color-cream-soft);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 24px;
}
.testimonial p.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--color-dark);
  margin-bottom: 14px;
}
.testimonial .author {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-accent);
}

.trust-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.trust-layout {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
@media (max-width: 800px) {
  .trust-layout { grid-template-columns: 1fr; }
}

/* CTA band */
.cta-band {
  text-align: center;
}
.cta-band h2 { color: var(--color-white); }
.cta-band p { color: var(--color-cream); max-width: 480px; margin: 0 auto 26px; }

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: var(--color-sand);
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1.3fr 1fr 1fr;
  margin-bottom: 40px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
.footer-grid h4 {
  color: var(--color-cream);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.82rem;
  margin-bottom: 14px;
}
.footer-grid p, .footer-grid a {
  color: var(--color-sand);
  text-decoration: none;
  font-size: 0.95rem;
}
.footer-grid .contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.footer-grid .contact-line svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-accent-light);
}
.footer-grid a:hover { color: var(--color-white); }
.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-cream);
  margin-bottom: 10px;
}
.footer-bottom {
  border-top: 1px solid rgba(217,197,160,0.2);
  padding-top: 22px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(217,197,160,0.65);
}
.footer-bottom .photo-credits {
  margin: 10px 0 0;
  font-size: 0.72rem;
  color: rgba(217,197,160,0.45);
  line-height: 1.6;
}
.footer-bottom .photo-credits a { color: rgba(217,197,160,0.6); }
.footer-bottom .photo-credits a:hover { color: var(--color-cream); }

/* Sticky mobile call bar */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  z-index: 60;
  background: var(--color-dark);
  border-top: 1px solid rgba(217,197,160,0.25);
  padding: 10px 12px;
  gap: 10px;
}
.mobile-cta-bar .btn { flex: 1; justify-content: center; padding: 12px; font-size: 0.92rem; }
@media (max-width: 640px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 66px; }
}
