/* ============================================================
   KOPI RIDER — Light theme · mobile-first · smooth animations
   Palette: bg #F6ECD9 · ink #2A1B12 · clay #8B4226 · gold #C98A34
            sage #5B6B45 · cream #E4D2A8 · sand #EFE0BE
   ============================================================ */
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: #F6ECD9; color: #2A1B12;
  font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 480; letter-spacing: -0.01em; }
a { color: inherit; }
img { max-width: 100%; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border-radius: 100px;
  background: #8B4226; color: #fff; border: 1px solid #8B4226;
  font-weight: 700; font-size: 15px; font-family: inherit;
  text-decoration: none; cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 10px 24px -16px rgba(42,27,18,.35);
}
.btn:hover { background: #5E2A16; border-color: #5E2A16; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn-line { background: transparent; color: #2A1B12; border-color: #E4D2A8; box-shadow: none; }
.btn-line:hover { background: #fff; border-color: #8B4226; }
.btn-gold { background: #C98A34; border-color: #C98A34; color: #1C1108; }
.btn-gold:hover { background: #B87A24; border-color: #B87A24; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 13.5px; }
.btn-block { width: 100%; justify-content: center; }

/* ---- Header ---- */
.top {
  background: rgba(246,236,217,.92); backdrop-filter: blur(8px);
  padding: 14px 0; position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(228,210,168,0);
  transition: border-color .3s;
}
.top.scrolled { border-bottom-color: #EFE3C4; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #2A1B12; }
.logo-mark {
  background: #8B4226; border-radius: 50%; width: 40px; height: 40px;
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 17px;
  transition: transform .3s;
}
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo b { font-family: 'Fraunces', serif; font-size: 22px; display: block; }
.logo .logo-sub { font-size: 11px; letter-spacing: .12em; opacity: .7; display: block; margin-top: -2px; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a.nav-item {
  text-decoration: none; font-weight: 600; font-size: 14px; color: #7C6650;
  position: relative; padding: 4px 0; transition: color .2s;
}
.nav-links a.nav-item::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: #8B4226; border-radius: 2px; transition: width .25s;
}
.nav-links a.nav-item:hover { color: #2A1B12; }
.nav-links a.nav-item:hover::after { width: 100%; }

/* ---- Hero banner ---- */
.hero-banner {
  position: relative; width: 100%;
  height: 72vh; min-height: 460px; max-height: 760px;
  background: #2A1B12; overflow: hidden;
  display: flex; align-items: center;
  animation: heroIn 1s ease both;
}
@keyframes heroIn { from { opacity: 0; } to { opacity: 1; } }
.hero-banner .media-slot { position: absolute; inset: 0; background: #1C1108; }
.hero-banner .media-slot img,
.hero-banner .media-slot video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.05); animation: slowZoom 18s ease-out forwards;
}
@keyframes slowZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.hero-banner .media-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px;
  align-items: center; justify-content: center; color: rgba(255,255,255,.35);
  font-weight: 600; text-align: center; padding: 20px;
}
.hero-banner .media-placeholder .big { font-size: 52px; animation: float 3.5s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-banner .overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(135deg, rgba(26,16,10,.72) 15%, rgba(26,16,10,.25) 60%, rgba(26,16,10,.55) 100%);
}
.hero-content { position: relative; z-index: 3; max-width: 700px; padding: 0 26px; color: #fff; width: 100%; margin: 0 auto; }
.status-badge {
  display: inline-block; background: rgba(255,255,255,.14); backdrop-filter: blur(6px);
  padding: 6px 18px; border-radius: 40px; font-size: 13px; font-weight: 600;
  letter-spacing: .03em; border: 1px solid rgba(255,255,255,.12);
  margin-bottom: 18px; color: #F2D9A5;
}
.hero-content h1 {
  font-size: clamp(38px, 6vw, 66px); font-weight: 480; line-height: 1.08;
  margin: 8px 0 14px; color: #fff;
  animation: fadeUp .9s .15s ease both;
}
.hero-content h1 em { font-style: italic; color: #C98A34; }
.hero-content .sub-text {
  font-size: 18px; color: rgba(255,255,255,.82); max-width: 46ch;
  margin-bottom: 26px; line-height: 1.65; animation: fadeUp .9s .3s ease both;
}
.cta-group { display: flex; flex-wrap: wrap; gap: 14px; animation: fadeUp .9s .45s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* scroll hint — proves the page continues below */
.scroll-hint {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 4;
  color: rgba(255,255,255,.75); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none;
}
.scroll-hint::after {
  content: ''; width: 1.5px; height: 34px; background: rgba(255,255,255,.6);
  animation: drop 1.6s ease-in-out infinite;
}
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---- Section reveal (scroll animation) ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

.section-pad { padding: 56px 0; }
.section-title { font-size: clamp(26px, 3.4vw, 34px); margin-bottom: 8px; }
.section-sub { color: #7C6650; margin-bottom: 24px; max-width: 60ch; }

/* ---- Packages ---- */
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin: 20px 0; }
.pkg-card {
  background: #fff; border-radius: 22px; padding: 26px;
  box-shadow: 0 10px 24px -16px rgba(42,27,18,.3);
  border: 1px solid #EFE3C4;
  transition: transform .3s ease, box-shadow .3s ease;
}
.pkg-card:hover { transform: translateY(-5px); box-shadow: 0 22px 40px -20px rgba(42,27,18,.4); }
.pkg-card h3 { font-size: 22px; }
.pkg-price { font-family: 'Fraunces', serif; font-size: 19px; color: #5E2A16; margin: 8px 0 4px; font-style: italic; }
.pkg-price small { display: block; font-family: 'Work Sans', sans-serif; font-style: normal; font-size: 12px; color: #A6906F; }
.pkg-card ul { list-style: none; padding: 0; margin: 12px 0 18px; }
.pkg-card ul li { padding: 7px 0; border-bottom: 1px solid #EFE3C4; display: flex; gap: 8px; font-size: 14px; }

/* ---- Free info panel ---- */
.free-info {
  background: #EFE0BE; border-radius: 26px; padding: 30px; margin: 20px 0;
  border: 1px solid #C98A34;
}
.free-info h2 { font-size: clamp(24px, 3vw, 30px); }
.free-info .highlight { font-weight: 700; color: #5E2A16; }
.check-list { margin: 16px 0; list-style: none; padding: 0; font-size: 15px; }
.check-list li { padding: 6px 0; display: flex; gap: 10px; align-items: flex-start; }

/* ---- Gallery ---- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; margin-top: 20px; }
.gallery-item {
  position: relative; border-radius: 18px; overflow: hidden; background: #EFE0BE;
  aspect-ratio: 4/3; border: 1px solid #EFE3C4;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; display: block; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-empty {
  grid-column: 1/-1; text-align: center; padding: 60px 20px; color: #A6906F;
  border: 2px dashed #E4D2A8; border-radius: 20px; background: rgba(255,255,255,.5);
}
.gallery-empty .big { font-size: 44px; display: block; margin-bottom: 10px; }

/* ---- Social / footer ---- */
.social-links { display: flex; flex-wrap: wrap; gap: 14px; margin: 20px 0; }
.social-links a {
  background: #fff; padding: 12px 22px; border-radius: 60px; text-decoration: none;
  font-weight: 600; border: 1px solid #E4D2A8; transition: .25s;
}
.social-links a:hover { background: #8B4226; color: #fff; border-color: #8B4226; transform: translateY(-2px); }
.footnote { color: #A6906F; font-size: 13px; margin-top: 24px; border-top: 1px solid #EFE3C4; padding-top: 20px; }
footer.site-footer { margin-top: 48px; }

/* ---- Booking modal ---- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(42,27,18,.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; z-index: 200; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: #F6ECD9; border-radius: 32px; max-width: 640px; width: 100%;
  max-height: 90vh; overflow-y: auto; padding: 24px 28px 32px;
  box-shadow: 0 40px 80px rgba(0,0,0,.4); position: relative;
  transform: translateY(30px) scale(.97); transition: transform .35s cubic-bezier(.2,.9,.3,1.2);
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); }
.modal-close {
  position: absolute; right: 16px; top: 16px; background: none; border: none;
  font-size: 26px; cursor: pointer; color: #7C6650; width: 40px; height: 40px;
  border-radius: 40px; display: grid; place-items: center; transition: .2s; line-height: 1;
}
.modal-close:hover { background: #EFE0BE; transform: rotate(90deg); }
.progress { display: flex; gap: 6px; margin-bottom: 26px; }
.progress-step { flex: 1; height: 6px; border-radius: 20px; background: #E4D2A8; transition: background .35s; }
.progress-step.active { background: #8B4226; }
.progress-step.done { background: #5E2A16; }

.flow-step { display: none; }
.flow-step.active { display: block; animation: stepIn .35s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
.flow-step h2 { font-size: clamp(22px, 3vw, 27px); margin-bottom: 8px; }
.flow-step .sub { color: #7C6650; margin-bottom: 22px; }
.flow-options { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 20px; }
.flow-options button {
  background: #fff; border: 1px solid #E4D2A8; border-radius: 60px;
  padding: 12px 24px; font-weight: 600; font-size: 14px; cursor: pointer;
  transition: .18s; font-family: inherit; color: #2A1B12;
}
.flow-options button:hover { background: #EFE0BE; transform: translateY(-1px); }
.flow-options button.selected { background: #8B4226; border-color: #8B4226; color: #fff; }
.flow-question { font-weight: 700; margin-top: 18px; font-size: 15px; }

/* Calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cal-head .cal-title { font-family: 'Fraunces', serif; font-size: 19px; }
.cal-nav {
  background: #fff; border: 1px solid #E4D2A8; width: 40px; height: 40px; border-radius: 50%;
  cursor: pointer; font-size: 17px; color: #2A1B12; display: grid; place-items: center; transition: .2s;
}
.cal-nav:hover { background: #8B4226; color: #fff; border-color: #8B4226; }
.flow-calendar { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; margin: 14px 0 10px; }
.flow-calendar .day-label { font-size: 11px; font-weight: 700; text-align: center; color: #7C6650; padding: 6px 0; }
.date-cell {
  aspect-ratio: 1/1; border-radius: 40%; display: grid; place-items: center;
  font-weight: 600; font-size: 14px; background: #fff; border: 1px solid #E4D2A8;
  cursor: pointer; transition: transform .15s, box-shadow .15s; position: relative;
}
.date-cell:hover { transform: scale(1.1); }
.date-cell.empty { background: none; border: none; pointer-events: none; }
.date-cell.green { background: #E7EBD8; border-color: #5B6B45; }
.date-cell.yellow { background: #F2D9A5; border-color: #C98A34; }
.date-cell.red { background: #F2DCC7; border-color: #8B4226; opacity: .55; pointer-events: none; }
.date-cell.selected { box-shadow: 0 0 0 3px #8B4226; border-color: #8B4226; transform: scale(1.08); }
.date-cell.past { opacity: .25; pointer-events: none; }
.date-cell.today::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: #8B4226;
}
.cal-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: #7C6650; margin-bottom: 6px; }
.cal-legend span { display: inline-flex; align-items: center; gap: 6px; }
.cal-legend i { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.cal-hint {
  background: #EFE0BE; border-radius: 14px; padding: 11px 15px; font-size: 13.5px;
  border-left: 4px solid #5B6B45; margin: 10px 0 4px; display: none;
}
.cal-hint.show { display: block; animation: stepIn .3s ease both; }

.flow-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 12px; }
.flow-footer .back { background: none; border: none; font-weight: 600; color: #7C6650; cursor: pointer; padding: 8px 0; transition: color .2s; }
.flow-footer .back:hover { color: #2A1B12; }

/* Inputs */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: #5E2A16; }
.field input, .field select, .field textarea {
  padding: 14px 18px; border-radius: 60px; border: 1px solid #E4D2A8;
  font-size: 15px; background: #fff; font-family: inherit; color: #2A1B12;
  transition: border-color .2s, box-shadow .2s; width: 100%;
}
.field textarea { border-radius: 18px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: #8B4226; box-shadow: 0 0 0 3px rgba(139,66,38,.15);
}
.msg-preview {
  background: #EFE0BE; border-radius: 14px; padding: 13px 16px; font-size: 14px;
  border-left: 4px solid #8B4226;
}

/* Success panel */
.lead-success { text-align: center; padding: 20px 6px; }
.lead-success .check {
  width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%;
  background: #5B6B45; color: #fff; font-size: 34px; display: grid; place-items: center;
  animation: popIn .5s cubic-bezier(.2,.9,.3,1.4) both;
}
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.spinner {
  width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.35);
  border-top-color: #fff; border-radius: 50%; display: inline-block;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Toast ---- */
.toast {
  position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: #2A1B12; color: #fff; padding: 13px 24px; border-radius: 60px;
  font-size: 14px; font-weight: 600; z-index: 400; transition: transform .35s ease;
  box-shadow: 0 18px 40px -14px rgba(42,27,18,.5); max-width: 92vw; text-align: center;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 760px) {
  .nav-links a.nav-item { display: none; }
  .nav-links .btn { margin-left: auto; }
  .hero-banner { height: 62vh; min-height: 420px; }
  .hero-content .sub-text { font-size: 15px; }
  .modal { padding: 18px 16px 26px; border-radius: 24px; }
  .flow-calendar .date-cell { font-size: 12.5px; }
  .flow-options button { padding: 11px 16px; font-size: 13px; }
  .free-info { padding: 22px; }
  .section-pad { padding: 40px 0; }
  .flow-footer { flex-wrap: wrap; }
}
