:root { --g:#14532d; --g2:#166534; --cream:#faf7f0; --sand:#f1ece0; --ink:#1f2933; --muted:#52606d; --gold:#b7791f; --line:#e7e1d3; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin:0; font-family:"Leelawadee UI","Noto Sans Thai","Microsoft YaHei","PingFang SC",Tahoma,sans-serif; color:var(--ink); background:var(--cream); line-height:1.7; }
a { color:var(--g); }
.wrap { max-width:1080px; margin:0 auto; padding:0 20px; }
.hidden { display:none !important; }

/* Age gate */
#gate { position:fixed; inset:0; background:rgba(10,30,18,.97); z-index:100; display:flex; align-items:center; justify-content:center; padding:20px; }
#gate .box { background:#fff; border-radius:18px; padding:32px 28px; max-width:440px; text-align:center; }
#gate .mark { font-weight:800; color:var(--g); letter-spacing:2px; font-size:13px; margin-bottom:10px; }
#gate h2 { margin:0 0 6px; color:var(--g); }
#gate p { color:var(--muted); margin:6px 0 18px; font-size:15px; }
#gate .choice button { border:0; border-radius:10px; padding:12px 18px; font-size:16px; font-family:inherit; cursor:pointer; margin:4px; min-width:150px; }
#gate .yes { background:var(--g); color:#fff; } #gate .no { background:#e4e7eb; color:var(--ink); }
#denied { display:none; color:#b91c1c; font-weight:700; }

/* Nav */
nav { position:sticky; top:0; background:rgba(250,247,240,.96); backdrop-filter:blur(6px); border-bottom:1px solid var(--line); z-index:10; }
nav .wrap { display:flex; align-items:center; gap:18px; min-height:60px; flex-wrap:wrap; }
.logo { font-weight:800; color:var(--g); font-size:20px; text-decoration:none; margin-right:auto; letter-spacing:.3px; }
nav a.l { text-decoration:none; color:var(--ink); font-size:15px; padding:4px 0; border-bottom:2px solid transparent; }
nav a.l.on, nav a.l:hover { border-color:var(--g); color:var(--g); }
.langs { display:flex; gap:4px; }
.langs button { border:1.5px solid var(--g); background:none; color:var(--g); border-radius:20px; padding:2px 10px; cursor:pointer; font-family:inherit; font-weight:700; font-size:13px; }
.langs button.on { background:var(--g); color:#fff; }
@media (max-width:760px){ nav .wrap { padding-top:8px; padding-bottom:8px; } nav .links { order:3; width:100%; display:flex; gap:16px; overflow-x:auto; } }
.links { display:flex; gap:18px; }

/* Hero */
.hero { background: linear-gradient(135deg, rgba(20,83,45,.94), rgba(22,101,52,.78)), repeating-linear-gradient(45deg,#1e5d36 0 12px,#1b5531 12px 24px); color:#fff; padding:84px 0 76px; text-align:center; }
.hero.small { padding:56px 0 48px; }
.hero h1 { font-size:clamp(30px,6vw,52px); margin:0; letter-spacing:.5px; line-height:1.25; }
.hero p { font-size:18px; opacity:.92; max-width:640px; margin:10px auto 24px; }
.badge { display:inline-block; border:1px solid rgba(255,255,255,.5); border-radius:20px; padding:2px 14px; font-size:13px; margin-bottom:14px; }
.btn { display:inline-block; background:var(--g); color:#fff; padding:11px 22px; border-radius:30px; text-decoration:none; font-weight:700; margin:4px; border:0; font-family:inherit; font-size:15px; cursor:pointer; }
.btn.w { background:#fff; color:var(--g); }
.btn.o { background:transparent; color:#fff; border:2px solid #fff; }
.btn.ol { background:transparent; color:var(--g); border:2px solid var(--g); }

/* Hero with storefront photo */
.hero.photo { background: linear-gradient(rgba(12,44,25,.86), rgba(12,44,25,.92)), url(../images/storefront.jpg) center 35%/cover no-repeat; }

/* Sections */
section { padding:60px 0; }
section.alt { background:var(--sand); }
h2.s { color:var(--g); font-size:28px; margin:0 0 6px; }
.lead { color:var(--muted); margin:0 0 26px; }
.grid3 { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:18px; }
.card { background:#fff; border-radius:14px; padding:22px; box-shadow:0 2px 10px rgba(0,0,0,.05); }
.card h3 { margin:0 0 6px; color:var(--g); font-size:18px; }
.card .num { display:inline-block; width:30px; height:30px; border-radius:50%; background:var(--g); color:#fff; text-align:center; line-height:30px; font-weight:700; margin-bottom:10px; }
.card p { margin:0; }

/* Gallery */
.album { margin:22px 0 12px; font-size:19px; color:var(--g); }
.album:first-of-type { margin-top:6px; }
.gallery { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; }
.gallery figure { margin:0; aspect-ratio:4/3; border-radius:12px; overflow:hidden; background:#e8e0cc; }
.gallery img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s; }
.gallery img:hover { transform:scale(1.04); }
.gallery img { cursor:zoom-in; }
.gallery.car { display:block; position:relative; overflow:hidden; max-width:920px; margin:0 auto; aspect-ratio:16/10; border-radius:16px; background:#0c2c19; box-shadow:0 10px 30px rgba(12,44,25,.18); }
.car-track { display:flex; height:100%; transition:transform .7s cubic-bezier(.4,0,.2,1); }
.gallery.car .car-slide { flex:0 0 100%; height:100%; aspect-ratio:auto; border-radius:0; position:relative; background:#0c2c19; }
.car-bg { position:absolute; inset:-30px; background-size:cover; background-position:center; filter:blur(24px) brightness(.55); }
.gallery.car .car-slide img { position:relative; width:100%; height:100%; object-fit:contain; transition:none; }
.gallery.car .car-slide img:hover { transform:none; }
.car-slide figcaption { position:absolute; left:0; right:0; bottom:0; padding:40px 20px 16px; color:#fff; font-weight:700; font-size:16px; background:linear-gradient(transparent, rgba(0,0,0,.65)); pointer-events:none; }
.car-btn { position:absolute; top:50%; transform:translateY(-50%); width:46px; height:46px; border:0; border-radius:999px; background:rgba(255,255,255,.85); color:#0c2c19; font-size:32px; line-height:1; cursor:pointer; box-shadow:0 2px 10px rgba(0,0,0,.25); }
.car-btn:hover { background:#fff; }
.car-p { left:14px; } .car-n { right:14px; }
.car-dots { position:absolute; left:0; right:0; bottom:14px; display:flex; justify-content:flex-end; gap:7px; padding-right:18px; }
.car-dots button { width:9px; height:9px; padding:0; border:0; border-radius:999px; background:rgba(255,255,255,.5); cursor:pointer; transition:width .3s, background .3s; }
.car-dots button.on { width:24px; background:#fff; }
.car-count { position:absolute; top:12px; right:14px; padding:4px 10px; border-radius:999px; background:rgba(0,0,0,.45); color:#fff; font-size:13px; font-weight:700; }
@media (max-width:640px) { .gallery.car { aspect-ratio:4/3; border-radius:12px; } .car-btn { width:38px; height:38px; font-size:26px; } .car-slide figcaption { font-size:14px; padding:30px 14px 34px; } .car-dots { justify-content:center; padding-right:0; bottom:10px; } }
.lb { position:fixed; inset:0; z-index:9000; background:#08140c; display:none; align-items:center; justify-content:center; }
.lb.on { display:flex; }
.lb figure { margin:0; max-width:92vw; max-height:88vh; display:flex; flex-direction:column; align-items:center; }
.lb img { max-width:92vw; max-height:80vh; object-fit:contain; border-radius:8px; box-shadow:0 8px 40px rgba(0,0,0,.5); }
.lb figcaption { color:#e8f0e8; margin-top:12px; font-size:15px; text-align:center; }
.lb button { position:absolute; background:rgba(255,255,255,.12); color:#fff; border:0; cursor:pointer; font:inherit; line-height:1; border-radius:999px; }
.lb button:hover { background:rgba(255,255,255,.25); }
.lb-x { top:14px; right:14px; width:46px; height:46px; font-size:32px; }
.lb-p, .lb-n { top:50%; transform:translateY(-50%); width:52px; height:52px; font-size:40px; }
.lb-p { left:14px; } .lb-n { right:14px; }
.lb.single .lb-p, .lb.single .lb-n { display:none; }
@media (max-width:640px) { .lb-p, .lb-n { top:auto; bottom:18px; transform:none; } .lb-p { left:calc(50% - 64px); } .lb-n { right:calc(50% - 64px); } .lb img { max-height:72vh; } }

/* Reviews */
.reviews { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:16px; margin-bottom:22px; }
.review .stars { color:var(--gold); letter-spacing:2px; font-size:18px; }
.review .who { color:var(--muted); font-size:14px; margin-top:8px; }
.cta { background:#fff; border:2px dashed var(--line); border-radius:14px; padding:20px; display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; }

/* Visit */
.visit { display:grid; grid-template-columns:1fr 1.2fr; gap:24px; }
@media (max-width:820px){ .visit { grid-template-columns:1fr; } }
.info div { margin-bottom:14px; }
.info b { color:var(--g); display:block; }
iframe { width:100%; height:340px; border:0; border-radius:14px; background:#e8e0cc; }

/* Events */
.event { display:flex; gap:18px; background:#fff; border-radius:14px; padding:18px 20px; margin-bottom:12px; box-shadow:0 1px 6px rgba(0,0,0,.04); }
.event .date { min-width:84px; text-align:center; background:var(--g); color:#fff; border-radius:10px; padding:8px; font-weight:700; line-height:1.3; }
.event .date .d { font-size:26px; display:block; }
.event h3 { margin:0 0 4px; color:var(--g); }
.event p { margin:0; }

/* Rules */
.rules { background:#fff; border-left:6px solid var(--gold); border-radius:12px; padding:20px 24px; }
.rules h3 { margin-top:0; color:var(--gold); }
.rules li { margin-bottom:6px; }

/* FAQ */
details { background:#fff; border-radius:12px; padding:14px 18px; margin-bottom:10px; box-shadow:0 1px 6px rgba(0,0,0,.04); }
summary { cursor:pointer; font-weight:700; color:var(--g); }
details p { margin:8px 0 0; }

/* Taxi card */
.taxi { background:#fff; border:3px solid var(--g); border-radius:18px; padding:26px; text-align:center; max-width:620px; margin:0 auto; }
.taxi .lbl { display:inline-block; background:var(--g); color:#fff; border-radius:20px; padding:2px 14px; font-size:14px; margin-bottom:12px; }
.taxi .th { font-size:clamp(22px,4.5vw,32px); font-weight:800; line-height:1.4; color:var(--ink); }
.taxi .shop { font-size:18px; color:var(--muted); margin-top:6px; }
.taxi .tel { font-size:20px; font-weight:700; margin-top:10px; }

/* Checklist */
.check { list-style:none; padding:0; margin:0; }
.check li { background:#fff; border-radius:10px; padding:12px 16px 12px 46px; margin-bottom:10px; position:relative; box-shadow:0 1px 6px rgba(0,0,0,.04); }
.check li::before { content:""; position:absolute; left:16px; top:16px; width:16px; height:16px; border:2px solid var(--g); border-radius:4px; }
.check.no li::before { border-color:#b91c1c; background:linear-gradient(45deg,transparent 45%,#b91c1c 45% 55%,transparent 55%),linear-gradient(-45deg,transparent 45%,#b91c1c 45% 55%,transparent 55%); }

/* Articles */
.toc { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:14px; margin-bottom:30px; }
.toc a { display:block; background:#fff; border-radius:12px; padding:16px 18px; text-decoration:none; color:var(--ink); box-shadow:0 1px 6px rgba(0,0,0,.05); border-top:4px solid var(--g); }
.toc a b { color:var(--g); display:block; }
article { background:#fff; border-radius:14px; padding:26px 28px; margin-bottom:22px; box-shadow:0 2px 10px rgba(0,0,0,.05); scroll-margin-top:80px; }
article h2 { color:var(--g); margin:0 0 4px; }
article .meta { color:var(--muted); font-size:13px; margin-bottom:14px; }
article li { margin-bottom:8px; }
.notice { background:#fffbeb; border-left:5px solid var(--gold); border-radius:8px; padding:10px 14px; font-size:14px; margin-top:14px; }

/* Mobile action bar */
.mbar { display:none; }
@media (max-width:760px) {
  .mbar { display:flex; position:fixed; left:0; right:0; bottom:0; z-index:50; background:#fff; border-top:1px solid var(--line); box-shadow:0 -2px 12px rgba(0,0,0,.08); padding:8px 8px calc(8px + env(safe-area-inset-bottom)); gap:8px; }
  .mbar a { flex:1; text-align:center; background:var(--g); color:#fff; text-decoration:none; font-weight:700; border-radius:10px; padding:11px 4px; font-size:15px; }
  .mbar a:nth-child(2) { background:#06c755; }
  .mbar a:nth-child(3) { background:#fff; color:var(--g); border:2px solid var(--g); padding:9px 4px; }
  body { padding-bottom:72px; }
}

/* 404 */
.nf { text-align:center; padding:90px 20px; }
.nf .code { font-size:72px; font-weight:800; color:var(--g); line-height:1; }

/* LINE QR */
.qr { margin:22px auto 0; display:block; width:fit-content; background:#fff; border-radius:14px; padding:14px 16px 10px; box-shadow:0 2px 10px rgba(0,0,0,.06); }
.qr img { display:block; width:170px; height:170px; }
.qr div { font-size:14px; color:var(--muted); margin-top:6px; }
/* Privacy */
.policy h3 { color:var(--g); margin:22px 0 6px; font-size:18px; }
.policy h3:first-child { margin-top:0; }
.policy p { margin:0 0 6px; }

/* Contact & footer */
.contact { text-align:center; }
.contact a.c { display:inline-block; background:var(--g); color:#fff; text-decoration:none; padding:12px 22px; border-radius:30px; margin:4px; font-weight:700; transition:transform .15s, box-shadow .15s, filter .15s; }
.contact a.c:hover { transform:translateY(-2px); box-shadow:0 6px 16px rgba(0,0,0,.18); filter:brightness(1.07); }
.contact a.c.fb { background:#1877F2; }
.contact a.c.ig { background:linear-gradient(45deg,#F58529 0%,#DD2A7B 50%,#8134AF 80%,#515BD4 100%); }
.contact a.c.tel { background:var(--g); }
.contact a.c.line { background:#06C755; }
.contact a.c.wa { background:#25D366; color:#073b1e; }
footer { background:#0f2e1b; color:#cbd5c0; padding:28px 0; font-size:13px; text-align:center; }
footer p { margin:4px 0; }
footer a { color:#cbd5c0; }
