/* ============================================================
   Travel Landing Builder — Public landing page styles
   Lightweight, no framework. Palette inspired by the reference:
   warm sunset hero + teal/green accents + soft rounded cards.
   ============================================================ */
:root {
    --teal: #0e7c7b;
    --teal-dark: #0a5a59;
    --green: #16a34a;
    --wa: #1fa855;
    --ink: #1f2a2e;
    --muted: #6b7a80;
    --bg: #eef1f0;
    --card: #ffffff;
    --line: #e5e9e8;
    --radius: 16px;
    --shadow: 0 8px 24px rgba(20, 40, 45, .08);
    --shadow-sm: 0 3px 10px rgba(20, 40, 45, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* -------- HERO -------- */
.hero {
    position: relative;
    background: linear-gradient(150deg, #b9764c, #7c4a3a 55%, #3d2f3a);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 34px 20px 30px;
}
.hero-inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-logo {
    width: 108px; height: 108px; border-radius: 50%;
    background: #fff; display: flex; align-items: center; justify-content: center;
    overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.25); margin-bottom: 14px;
}
.hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.logo-fallback { font-size: 44px; font-weight: 800; color: var(--teal); }
.hero-title { font-size: clamp(26px, 6vw, 40px); font-weight: 800; margin: 0 0 2px; letter-spacing: .5px; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.hero-sub { font-size: clamp(15px, 3.4vw, 20px); font-weight: 700; margin: 0 0 8px; opacity: .96; }
.hero-desc { font-size: clamp(15px, 3.6vw, 20px); margin: 0 auto 4px; max-width: 620px; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.hero-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; justify-content: center; }
.social-badge {
    width: 46px; height: 46px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.25);
    transition: transform .15s ease, box-shadow .15s ease;
}
.social-badge:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.3); }
.social-badge svg { width: 26px; height: 26px; }

/* -------- QUICK NAV -------- */
.quicknav {
    position: relative;
    margin: -18px auto 0;
    max-width: 900px;
    background: var(--card);
    border-radius: 18px 18px 0 0;
    padding: 20px 10px 14px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    box-shadow: var(--shadow);
}
.qn-item { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); font-size: 12.5px; font-weight: 600; text-align: center; }
.qn-ic { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--teal); }
.qn-ic svg { width: 30px; height: 30px; }
.qn-ic.qn-wa { color: var(--wa); }
.qn-item:hover .qn-ic { color: var(--green); }

/* -------- PAGE / SECTIONS -------- */
.page { max-width: 900px; margin: 0 auto; padding: 0 14px 120px; background: var(--card); }
.section { padding: 22px 4px; }
.section-title { font-size: 22px; font-weight: 800; margin: 0 0 14px; }
.card-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }

.about-block.has-img { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.about-img img { border-radius: 12px; height: 100%; object-fit: cover; }

/* -------- TOUR CARDS: strict 3 columns on ALL breakpoints -------- */
.tours-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 900px; margin: 0 auto; }
/* Jika hanya ada 1-2 paket: kolom menyesuaikan dan posisi otomatis center */
.tours-grid.tc-count-1 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
.tours-grid.tc-count-2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin: 0 auto; }
@media (max-width: 1024px) { .tours-grid, .tours-grid.tc-count-2 { grid-template-columns: 1fr; max-width: 520px; } }
.tour-card {
    background: var(--card); border: 1px solid var(--line); border-radius: 14px;
    overflow: hidden; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
    transition: transform .15s ease, box-shadow .15s ease;
}
.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.tc-img { aspect-ratio: 16/10; background: #dfe6e5; overflow: hidden; position: relative; }
.tc-promo-badge { position: absolute; top: 10px; left: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(90deg,#dc2626,#f97316); color: #fff; font-weight: 800; font-size: 12.5px; line-height: 1; padding: 6px 9px; border-radius: 999px; box-shadow: 0 4px 12px rgba(220,38,38,.35); }
.tc-promo-ic { font-size: 13px; }
.tc-promo-txt { text-transform: uppercase; letter-spacing: .02em; }
.tc-promo-time { font-variant-numeric: tabular-nums; background: rgba(0,0,0,.2); padding: 2px 7px; border-radius: 999px; font-size: 12px; }
.tc-promo-badge.expired { display: none; }
.tc-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tc-ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #cdd8d7, #aebfbe); }
.tc-body { padding: 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tc-name { font-size: 18px; font-weight: 800; margin: 0; line-height: 1.25; }
.tc-name small { font-weight: 600; color: var(--muted); font-size: 16px; }
.tc-price { font-size: 18px; font-weight: 800; color: var(--teal-dark); }
.tc-desc { font-size: 14px; color: var(--muted); margin: 0; flex: 1; }
.tc-btn {
    margin-top: 6px; text-align: center; background: var(--teal); color: #fff;
    font-weight: 700; padding: 9px 12px; border-radius: 10px; font-size: 14px;
    transition: background .15s ease;
}
.tc-btn:hover { background: var(--teal-dark); }

/* -------- PROMOTION + COUNTDOWN -------- */
.promo-block {
    background: #fbfdfc; border: 2px dashed var(--teal);
    border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow-sm);
}
.promo-title { color: var(--teal-dark); font-size: clamp(17px, 4.4vw, 24px); font-weight: 800; margin: 0 0 14px; }
.countdown { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 14px; }
.cd-cell { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cd-num { background: #1f2a2e; color: #fff; font-size: clamp(24px, 7vw, 40px); font-weight: 800; padding: 6px 12px; border-radius: 10px; min-width: 52px; display: inline-block; }
.cd-lbl { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--muted); }
.cd-sep { font-size: 28px; font-weight: 800; color: #1f2a2e; align-self: flex-start; margin-top: 6px; }
.promo-desc { color: var(--ink); font-size: 15px; margin: 0; }
.promo-expired { opacity: .7; }

/* -------- OPERATING HOURS -------- */
.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; padding: 9px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours-list li:last-child { border-bottom: 0; }
.h-day { font-weight: 600; }
.h-time { color: var(--teal-dark); font-weight: 700; }

/* -------- LOCATION -------- */
.location-block { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
.loc-office { margin: 0 0 4px; }
.loc-addr { margin: 0 0 10px; color: var(--muted); }
.loc-link { color: var(--teal); font-weight: 700; }
.loc-map { border-radius: 12px; overflow: hidden; min-height: 180px; }
.loc-map iframe { width: 100%; height: 100%; min-height: 200px; border: 0; }

.site-foot { text-align: center; color: var(--muted); font-size: 13px; padding: 26px 0 10px; }

/* -------- WHATSAPP FLOATING BUTTON (center bottom, pill) -------- */
.wa-float {
    position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
    background: var(--wa); color: #fff; display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 30px; border-radius: 999px; font-weight: 700; font-size: 17px;
    box-shadow: 0 10px 26px rgba(31,168,85,.45); z-index: 999;
    transition: transform .15s ease, box-shadow .15s ease;
}
.wa-float:hover { transform: translateX(-50%) translateY(-3px); box-shadow: 0 14px 32px rgba(31,168,85,.55); }
.wa-ic svg { width: 26px; height: 26px; display: block; }

/* -------- Responsive tweaks (tours stay 3-col!) -------- */
@media (max-width: 640px) {
    .hero { padding: 26px 16px 26px; }
    .hero-logo { width: 88px; height: 88px; }
    .about-block.has-img { grid-template-columns: 1fr; }
    .location-block { grid-template-columns: 1fr; }
    .tours-grid { grid-template-columns: 1fr; gap: 12px; max-width: 520px; }
    .tc-body { padding: 8px; }
    .tc-name { font-size: 12px; }
    .tc-name small { display: block; }
    .tc-price { font-size: 12.5px; }
    .tc-desc { display: none; }
    .tc-btn { font-size: 12px; padding: 7px 6px; }
    .social-badge { width: 42px; height: 42px; }
}

/* -------- FULL-WIDTH LANDING PAGE -------- */
.stage { min-height: 100vh; }
.device, .screen { width:100%; min-height:100vh; background:transparent; border:0; border-radius:0; box-shadow:none; padding:0; overflow:visible; }
.device-notch, .device-btn { display:none !important; }
/* PHASE 2 conversion optimization */
.hero-cta{margin-top:18px;display:flex;flex-direction:column;align-items:center;gap:7px}.hero-cta-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;color:var(--teal-dark);padding:12px 18px;border-radius:999px;font-weight:800;box-shadow:0 8px 22px rgba(0,0,0,.22);transition:.15s}.hero-cta-btn:hover{transform:translateY(-2px)}.hero-cta-btn svg{width:20px;height:20px}.hero-cta-note{font-size:11px;opacity:.88}.trust-strip{max-width:900px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--line);border-bottom:1px solid var(--line)}.trust-item{background:#fff;min-height:62px;display:flex;align-items:center;justify-content:center;gap:7px;padding:10px 8px;text-align:center;font-size:12px;font-weight:700}.trust-item strong{color:var(--green);font-size:16px}.section-heading-row{display:flex;justify-content:space-between;gap:15px;align-items:end;margin-bottom:14px}.section-heading-row .section-title{margin-bottom:2px}.section-lead{color:var(--muted);margin:0;font-size:13px}.rating-summary{text-align:right;white-space:nowrap}.rating-summary span{display:block;color:#f59e0b;letter-spacing:1px;font-size:16px}.rating-summary small{color:var(--muted);font-size:11px}.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}.testimonial-card{border:1px solid var(--line);border-radius:14px;padding:16px;background:#fff;box-shadow:var(--shadow-sm)}.testimonial-stars{color:#f59e0b;letter-spacing:1px;font-size:14px;margin-bottom:8px}.testimonial-card blockquote{margin:0 0 14px;font-size:13px;line-height:1.6}.testimonial-person{display:flex;align-items:center;gap:9px}.testimonial-person img{width:34px;height:34px;border-radius:50%;object-fit:cover}.testimonial-person strong,.testimonial-person small{display:block}.testimonial-person strong{font-size:12px}.testimonial-person small{color:var(--muted);font-size:11px}.faq-list{display:flex;flex-direction:column;gap:8px}.faq-item{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden;box-shadow:var(--shadow-sm)}.faq-item summary{cursor:pointer;list-style:none;padding:14px 16px;font-weight:750;font-size:13px;display:flex;justify-content:space-between;align-items:center;gap:12px}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary span{font-size:20px;line-height:1;color:var(--teal);transition:transform .15s}.faq-item[open] summary span{transform:rotate(45deg)}.faq-answer{padding:12px 16px 15px;color:var(--muted);font-size:13px;border-top:1px solid var(--line)}
@media(max-width:700px){.trust-strip{grid-template-columns:repeat(2,1fr)}.section-heading-row{align-items:flex-start}.rating-summary{display:none}}

/* Phase 3 performance helpers */
picture { display: block; }
.about-img picture, .tc-img picture { display: block; width: 100%; height: 100%; }
.section { content-visibility: auto; contain-intrinsic-size: 1px 420px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* -------- PHASE 4 TOUR CARD DETAILS -------- */
.tc-meta,.tc-info{font-size:12px;line-height:1.45;color:var(--muted)}
.tc-list{display:flex;flex-direction:column;gap:4px;padding-top:2px}
.tc-list-item{display:flex;align-items:flex-start;gap:6px}
.tc-list-item .tc-list-ic{width:14px;height:14px;min-width:14px;display:inline-flex;align-items:center;justify-content:center;font-size:11px;line-height:1;margin-top:2px;font-weight:800}
.tc-list-item.destination .tc-list-ic{color:#2563eb}
.tc-list-item.included .tc-list-ic{color:#16a34a}
.tc-list-item.excluded .tc-list-ic{color:#dc2626}
.tc-meta strong,.tc-info strong{color:var(--ink)}
.tc-info{padding-top:2px}
.hero-cta-under-social{margin-top:14px}
.tour-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fafcfb}
@media(max-width:700px){.tour-picker{grid-template-columns:1fr}.tc-meta,.tc-info{font-size:12.5px}.tc-body{gap:5px}.hero-cta-under-social{margin-top:12px}}
/* Tour card typography + departure line */
.tc-name{font-size:19px;line-height:1.3}
.tc-name small{font-size:13.5px;color:var(--muted);font-weight:600}
.tc-meta,.tc-info,.tc-departure{font-size:14.5px;line-height:1.5}
.tc-departure{margin:3px 0}
.tc-departure strong{color:#445055}
.tc-dep-daily{color:var(--green);font-weight:700}
.tc-dep-more{color:var(--muted);font-size:12.5px}
.tc-price{font-size:20px}
.tc-btn{font-size:14.5px}
.tc-meta strong,.tc-info strong{font-size:15px}
.tc-list-item .tc-list-ic{width:18px;height:18px;min-width:18px;font-size:15px;margin-top:1px}
