/* Sea You Andaman — styles (bright, friendly, Camp-Bali-inspired) */
:root {
  --ocean: #1a6fae;        /* logo blue */
  --ocean-dark: #114a7d;
  --deep: #0e3a63;          /* logo navy */
  --accent: #ec8338;        /* logo snorkel orange */
  --accent-dark: #d16b22;
  --sand: #fff4e6;
  --tint: #eef6fc;
  --ink: #16242c;
  --muted: #5d6d75;
  --bg: #ffffff;
  --line: #e3ecef;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 46, 63, .10);
  --font: "Plus Jakarta Sans", "Prompt", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
html[lang="th"] body { font-family: "Prompt", "Plus Jakarta Sans", system-ui, sans-serif; line-height: 1.75; }
a { color: var(--ocean); }

/* Language switching */
html[lang="en"] [lang="th"]:not(html) { display: none !important; }
html[lang="th"] [lang="en"]:not(html) { display: none !important; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 76px; }
.brand { font-weight: 800; font-size: 1.25rem; color: var(--deep); text-decoration: none; letter-spacing: -.02em; display: inline-flex; align-items: center; gap: 8px; }
.brand img { height: 52px; width: auto; display: block; }
.footer-logo { margin: 0 0 16px; }
.footer-logo img { width: 170px; height: auto; display: block; background: #fff; border-radius: 16px; padding: 10px; }
.brand-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ocean); color: #fff; font-size: 1.2rem; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--ocean); }
.lang-switch { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button { border: 0; background: transparent; padding: 6px 12px; cursor: pointer; font: 700 .8rem var(--font); color: var(--muted); }
.lang-switch button.active { background: var(--deep); color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: .98rem; font-family: inherit; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-primary { background: var(--ocean); color: #fff; }
.btn-primary:hover { background: var(--ocean-dark); }
.btn-white { background: #fff; color: var(--deep); }
.btn-outline { border-color: var(--ocean); color: var(--ocean); }
.btn-whatsapp { background: #25d366; color: #fff; }
.btn-line { background: #06c755; color: #fff; }

/* ---------- Image fallback (gradient until photo is added) ---------- */
.hero-bg, .trip-img, .tile, .about-img {
  background-image: var(--img), linear-gradient(135deg, #1a6fae 0%, #54b9d9 50%, #ffc78a 100%);
  background-size: cover; background-position: var(--pos, center);
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 86vh; display: flex; align-items: center; color: #fff; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.m-br { display: none; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.42)); }
.hero-content { position: relative; padding: 100px 0; }
.hero h1 { font-weight: 800; font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 18px; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
html[lang="th"] .hero h1 { line-height: 1.2; letter-spacing: 0; }
.tagline { font-size: clamp(1.1rem, 2.4vw, 1.45rem); font-weight: 600; margin: 0 0 32px; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--deep); color: #fff; padding: 22px 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.strip-item { display: flex; align-items: center; gap: 12px; }
.strip-item svg { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.strip-item strong { display: block; font-size: .95rem; }
.strip-item small { color: #a9c3cf; font-size: .82rem; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--deep); color: #dfeaf0; }
.section-title { font-weight: 800; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.1; letter-spacing: -.02em; color: var(--deep); margin: 0 0 12px; }
html[lang="th"] .section-title { letter-spacing: 0; line-height: 1.3; }
.section-dark .section-title { color: #fff; }
.section-sub { color: var(--muted); margin: 0 0 36px; max-width: 640px; font-size: 1.05rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .8rem; color: var(--accent); margin: 0 0 8px; }

/* ---------- Trip cards ---------- */
.trip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.trip { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s ease; }
.trip:hover { transform: translateY(-4px); }
.trip-img { aspect-ratio: 4 / 3.4; position: relative; }
.trip-tag { position: absolute; left: 12px; top: 12px; background: #fff; color: var(--deep); font-weight: 700; font-size: .78rem; padding: 6px 12px; border-radius: 999px; }
.trip-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.trip-meta { margin: 0 0 4px; color: var(--ocean); font-weight: 700; font-size: .82rem; }
.trip-body h3 { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.25; color: var(--deep); }
.trip-desc { margin: 0 0 16px; color: var(--muted); font-size: .92rem; flex: 1; }
.trip-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.price { margin: 0; font-weight: 800; font-size: 1.3rem; color: var(--deep); }
.price-ask { font-size: .95rem; color: var(--ocean); }
.price small { display: block; font-weight: 600; font-size: .72rem; color: var(--muted); line-height: 1; }

/* ---------- Private tiles ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { position: relative; min-height: 230px; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; text-decoration: none; color: #fff; transition: transform .2s ease; }
.tile:hover { transform: translateY(-4px); }
.tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.7) 100%); }
.tile-text { position: relative; padding: 20px; }
.tile-text strong { display: block; font-size: 1.15rem; }
.tile-text small { font-size: .9rem; opacity: .9; }
.tile-cta { background: var(--accent) !important; align-items: center; grid-column: 1 / -1; min-height: 120px; justify-content: center; text-align: center; }
.tile-cta::before { display: none; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 40px; }
.why { padding: 26px; border-radius: var(--radius); background: var(--sand); }
.why-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fff; margin-bottom: 14px; }
.why-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why h3 { margin: 0 0 6px; font-size: 1.1rem; color: var(--deep); }
.why p { margin: 0; color: var(--muted); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-img { aspect-ratio: 4 / 4.4; border-radius: 28px; box-shadow: var(--shadow); }
.about-grid p { font-size: 1.05rem; color: #34444c; margin: 0 0 18px; }
.about-grid .btn { margin-top: 8px; }
.about-facts { list-style: none; padding: 0; margin: 4px 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.about-facts li { background: #fff; color: var(--deep); font-weight: 700; font-size: .85rem; padding: 7px 14px; border-radius: 999px; box-shadow: 0 2px 8px rgba(11,46,63,.08); }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 36px 0; }
.review { margin: 0; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 8px; }
.review blockquote { margin: 0 0 14px; }
.review figcaption { color: var(--muted); font-size: .9rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.step-n { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ocean); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 12px; }
.steps h3 { margin: 0 0 4px; font-size: 1.1rem; color: var(--deep); }
.steps p { margin: 0; color: var(--muted); }

/* ---------- Booking form ---------- */
.book-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.book-intro p { color: #bcd2dc; font-size: 1.05rem; }
.chat-label { margin-top: 28px; margin-bottom: 10px; font-weight: 700; color: #fff !important; }
.chat-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.line-qr { display: flex; align-items: center; gap: 16px; margin-top: 26px; }
.line-qr img { width: 120px; height: 120px; background: #fff; padding: 8px; border-radius: 12px; }
.line-qr p { margin: 0; font-size: .95rem; }
.line-qr strong { color: #fff; }
.book-form { background: #fff; color: var(--ink); border-radius: 22px; padding: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .86rem; color: var(--deep); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid #d3dee3; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(26,111,174,.15); }
.hp { position: absolute; left: -9999px; }
.flash { animation: flash 1.2s ease; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(236,131,56,.9); } 100% { box-shadow: 0 0 0 16px rgba(236,131,56,0); } }

/* ---------- Footer ---------- */
.site-footer { background: #0a2c4d; color: #9db4bf; padding: 60px 0 24px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.brand-footer { color: #fff; margin: 0 0 10px; }
.licence { font-weight: 700; color: #fff; }
.footer-h { color: #fff; font-weight: 700; margin: 0 0 8px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 18px; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.pay-badges { display: flex; gap: 8px; }
.pay-badges span { background: #fff; color: var(--deep); font-weight: 800; font-size: .72rem; padding: 4px 10px; border-radius: 6px; }

/* ---------- Floating chat ---------- */
.float-chat { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0,0,0,.25); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .trip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .lang-switch { margin-left: auto; }
  .service-grid, .why-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .book-grid, .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-img { aspect-ratio: 16 / 11; }
}
@media (max-width: 600px) {
  .m-br { display: inline; }
  .hero-bg { background-image: var(--img-m, var(--img)), linear-gradient(135deg, #1a6fae 0%, #54b9d9 50%, #ffc78a 100%); --pos: 50% 70%; }
  .section { padding: 64px 0; }
  .trip-grid, .service-grid, .why-grid, .review-grid, .steps, .strip-grid { grid-template-columns: 1fr; }
  .book-form { grid-template-columns: 1fr; padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
}
