/* =========================================================
   Thailicious — Authentic Thai & Vegan
   Brand palette: red, green, white, brown + gold accent
   ========================================================= */

:root {
  --red:        #a8291f;   /* Thai chili red   */
  --red-dark:   #7d1c15;
  --green:      #2f6b4b;   /* Thai basil green */
  --green-dark: #23503a;
  --brown:      #432c1e;   /* teak / wood      */
  --brown-soft: #6b4a36;
  --gold:       #c9a24b;   /* award gold       */
  --cream:      #fbf6ee;   /* off-white bg     */
  --cream-2:    #f3e9db;
  --ink:        #2a201a;   /* body text        */
  --muted:      #7a6b5f;
  --white:      #ffffff;
  --shadow:     0 12px 34px rgba(45, 28, 18, .14);
  --shadow-sm:  0 4px 14px rgba(45, 28, 18, .10);
  --radius:     16px;
  --maxw:       1180px;
  --serif:      "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:       "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.15; color: var(--brown); font-weight: 700; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }

.container { width: 90%; max-width: var(--maxw); margin: 0 auto; }
.section { padding: 92px 0; }
.section--tight { padding: 64px 0; }
.bg-cream2 { background: var(--cream-2); }
.bg-brown  { background: var(--brown); color: var(--cream); }
.bg-green  { background: var(--green-dark); color: var(--cream); }
.bg-vegan  { background: #e7f2ea; border-top: 3px solid var(--green); border-bottom: 3px solid var(--green); }
.bg-vegan .eyebrow { color: var(--green-dark); }
.bg-vegan .menu-group h3 { color: var(--green-dark); border-color: #cfe4d6; }
.bg-vegan .menu-note { color: var(--muted); }
.text-center { text-align: center; }

/* --- Eyebrow / section headers --- */
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--red);
  margin-bottom: 14px;
  display: inline-block;
}
.bg-brown .eyebrow, .bg-green .eyebrow { color: var(--gold); }
.section-head { max-width: 640px; margin: 0 auto 54px; text-align: center; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.bg-brown .section-head p, .bg-green .section-head p { color: rgba(251,246,238,.8); }
.bg-brown .section-head h2, .bg-green .section-head h2 { color: var(--cream); }

.divider {
  width: 64px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  margin: 18px auto 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: .96rem;
  padding: 14px 28px; border-radius: 50px; cursor: pointer;
  border: 2px solid transparent; transition: all .25s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--gold { background: var(--gold); color: var(--brown); }
.btn--gold:hover { background: #b8912f; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(251,246,238,.55); }
.btn--ghost:hover { background: var(--cream); color: var(--brown); }
.btn--outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn--outline:hover { background: var(--red); color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   Header / Nav
   ========================================================= */
.topbar {
  background: var(--brown); color: var(--cream);
  font-size: .82rem; letter-spacing: .02em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; flex-wrap: wrap; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gold); }
.topbar .tb-right { display: flex; gap: 20px; flex-wrap: wrap; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--brown);
  border-bottom: 1px solid rgba(201,162,75,.35);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }

/* Wordmark logo (CSS, no image needed) */
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo .logo-name {
  font-family: var(--serif); font-weight: 800; font-size: 1.6rem;
  color: var(--red); letter-spacing: .01em;
}
.logo .logo-name span { color: var(--green); }
.logo .logo-sub {
  font-family: var(--sans); text-transform: uppercase; letter-spacing: .34em;
  font-size: .56rem; color: var(--brown-soft); margin-top: 4px; font-weight: 600;
}
.logo-img { height: 74px; width: auto; max-width: 100%; display: block; align-self: flex-start; object-fit: contain; }
@media (max-width: 720px) { .logo-img { height: 54px; } }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-weight: 500; font-size: .96rem; color: var(--cream); position: relative; padding: 4px 0; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--gold); transition: width .25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }
.nav-cta { margin-left: 6px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: var(--cream); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: center;
  color: #fff; text-align: center;
  background: linear-gradient(rgba(40,22,14,.62), rgba(40,22,14,.72)),
              url("../assets/images/pad-thai.jpg") center/cover no-repeat;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; text-shadow: 0 3px 24px rgba(0,0,0,.35); max-width: 15ch; margin: 0 auto 20px; }
.hero .hero-tag { font-size: 1.18rem; max-width: 40ch; margin: 0 auto 34px; color: rgba(255,255,255,.92); }
.hero .eyebrow { color: var(--gold); }
.hero .btn-row { justify-content: center; }
.hero-badges { margin-top: 42px; display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .star { color: var(--gold); }

/* =========================================================
   Feature strip / cards
   ========================================================= */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  background: var(--white); border-radius: var(--radius); padding: 34px 28px;
  box-shadow: var(--shadow-sm); text-align: center; border: 1px solid var(--cream-2);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature .ficon {
  width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.6rem;
  background: var(--cream-2); color: var(--red);
}
.feature h3 { margin-bottom: 10px; color: var(--brown); }
.feature p { color: var(--muted); font-size: .96rem; }

/* =========================================================
   Split / About intro
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split .eyebrow { color: var(--red); }
.split p { color: var(--muted); margin-top: 16px; }
.split h2 { color: var(--brown); }
.stat-row { display: flex; gap: 34px; margin-top: 30px; flex-wrap: wrap; }
.stat b { font-family: var(--serif); font-size: 2rem; color: var(--red); display: block; }
.stat span { font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }

/* =========================================================
   Menu
   ========================================================= */
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 60px; }
.menu-group h3 {
  font-family: var(--serif); color: var(--red); font-size: 1.5rem;
  padding-bottom: 12px; margin-bottom: 20px; border-bottom: 2px solid var(--cream-2);
  display: flex; align-items: center; gap: 10px;
}
.bg-brown .menu-group h3 { color: var(--gold); border-color: rgba(255,255,255,.14); }
.menu-item { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 18px; }
.menu-item .mi-name { font-weight: 600; color: var(--brown); }
.bg-brown .menu-item .mi-name { color: var(--cream); }
.menu-item .mi-desc { display: block; font-size: .88rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.bg-brown .menu-item .mi-desc { color: rgba(251,246,238,.65); }
.menu-item .mi-dots { flex: 1; border-bottom: 1px dotted #c9b8a6; transform: translateY(-4px); }
.menu-item .mi-price { font-family: var(--serif); font-weight: 700; color: var(--red); white-space: nowrap; }
.bg-brown .menu-item .mi-price { color: var(--gold); }
.tag-v { display: inline-block; font-size: .6rem; font-weight: 700; letter-spacing: .08em; color: var(--green); border: 1px solid var(--green); border-radius: 4px; padding: 1px 5px; margin-left: 6px; vertical-align: middle; }
.menu-note { text-align: center; margin-top: 46px; color: var(--muted); font-size: .95rem; }

/* =========================================================
   Gallery
   ========================================================= */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery a { display: block; overflow: hidden; border-radius: 12px; box-shadow: var(--shadow-sm); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1/1; transition: transform .5s ease; }
.gallery a:hover img { transform: scale(1.08); }
.gallery .tall { grid-row: span 2; }
.gallery .tall img { aspect-ratio: 1/2.05; }

/* =========================================================
   Reviews / awards
   ========================================================= */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  background: var(--white); border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--cream-2);
}
.review .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.review p { font-style: italic; color: var(--ink); }
.review .who { margin-top: 16px; font-weight: 600; color: var(--brown); font-style: normal; font-size: .92rem; }
.review .who span { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }

.awards { display: flex; gap: 30px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 10px; }
.award-card { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); text-align: center; max-width: 240px; }
.award-card img { height: 180px; width: auto; margin: 0 auto 14px; object-fit: contain; }
.award-card h4 { font-family: var(--serif); color: var(--brown); font-size: 1.05rem; }
.award-card p { color: var(--muted); font-size: .84rem; margin-top: 4px; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.info-list { list-style: none; margin-top: 8px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.info-list .ii {
  flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--cream-2);
  display: grid; place-items: center; color: var(--red); font-size: 1.15rem;
}
.info-list b { display: block; color: var(--brown); font-family: var(--serif); }
.info-list a, .info-list span { color: var(--muted); }
.info-list a:hover { color: var(--red); }

form.contact-form { background: var(--white); padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--cream-2); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--brown); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #ddcdbb; border-radius: 10px;
  font-family: var(--sans); font-size: .95rem; background: var(--cream); color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }

.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--cream-2); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* =========================================================
   CTA band
   ========================================================= */
.cta-band { text-align: center; }
.cta-band h2 { color: var(--cream); }
.cta-band p { color: rgba(251,246,238,.82); max-width: 46ch; margin: 14px auto 28px; }
.cta-band .btn-row { justify-content: center; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: #1f140d; color: rgba(251,246,238,.75); padding: 62px 0 26px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.site-footer .logo .logo-name { color: #fff; }
.site-footer .logo .logo-name span { color: var(--gold); }
.site-footer .logo .logo-sub { color: rgba(251,246,238,.55); }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 18px; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--gold); }
.footer-about p { margin-top: 14px; max-width: 32ch; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .25s; }
.social-row a:hover { background: var(--red); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: rgba(251,246,238,.5); }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero {
  color: #fff; text-align: center; padding: 96px 0 84px;
  background: linear-gradient(rgba(40,22,14,.66), rgba(40,22,14,.78)), var(--brown) center/cover;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.88); max-width: 52ch; margin: 14px auto 0; }
.page-hero.ph-about   { background-image: linear-gradient(rgba(40,22,14,.66), rgba(40,22,14,.78)), url("../assets/images/papaya-salad-spread.jpg"); }
.page-hero.ph-menu    { background-image: linear-gradient(rgba(40,22,14,.7), rgba(40,22,14,.8)), url("../assets/images/vegan-stir-fry.jpg"); }
.page-hero.ph-gallery { background-image: linear-gradient(rgba(40,22,14,.66), rgba(40,22,14,.78)), url("../assets/images/crab-rangoon.jpg"); }
.page-hero.ph-reviews { background-image: linear-gradient(rgba(40,22,14,.66), rgba(40,22,14,.78)), url("../assets/images/tom-yum-fried-rice.jpg"); }
.page-hero.ph-contact { background-image: linear-gradient(rgba(40,22,14,.66), rgba(40,22,14,.78)), url("../assets/images/butterfly-pea-drink.jpg"); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
  .features, .gallery, .reviews { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid, .menu-grid, .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .split .split-img { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .site-header { background: var(--brown); }
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto;
    height: 100vh; height: 100dvh; width: 78%; max-width: 320px;
    background: var(--brown); flex-direction: column; align-items: flex-start;
    padding: 90px 30px 30px; gap: 22px; transform: translateX(100%);
    transition: transform .3s ease; box-shadow: var(--shadow); z-index: 90;
    overflow-y: auto; border-left: 1px solid rgba(201,162,75,.3);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: block; z-index: 95; }
  .nav-cta { display: none; }
  .topbar { display: none; }
}
@media (max-width: 560px) {
  .features, .gallery, .reviews, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .gallery .tall { grid-row: span 1; }
  .gallery .tall img { aspect-ratio: 1/1; }
}

/* =========================================================
   Blog — index cards
   ========================================================= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--cream-2);
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .pc-img { aspect-ratio: 16/10; overflow: hidden; }
.post-card .pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .pc-img img { transform: scale(1.06); }
.post-card .pc-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-tag {
  display: inline-block; align-self: flex-start; font-size: .66rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green);
  background: #eaf3ec; border-radius: 20px; padding: 4px 12px; margin-bottom: 14px;
}
.post-card h3 { color: var(--brown); font-size: 1.2rem; line-height: 1.3; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.post-card .pc-meta { margin-top: 16px; font-size: .8rem; color: var(--muted); display: flex; gap: 12px; align-items: center; }
.post-card .pc-more { margin-top: 14px; font-weight: 600; color: var(--red); font-size: .9rem; }
.post-card:hover .pc-more { text-decoration: underline; }

/* =========================================================
   Blog — single article
   ========================================================= */
.article { max-width: 760px; margin: 0 auto; }
.article .breadcrumb { font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.article .breadcrumb a:hover { color: var(--red); }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .86rem; margin: 16px 0 30px; }
.article-meta .pc-tag { margin: 0; }
.article-lead { font-size: 1.2rem; color: var(--brown-soft); line-height: 1.6; margin-bottom: 30px; }
.article-hero { border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-bottom: 34px; width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* Short-answer / GEO box */
.answer-box {
  background: #eef5f0; border: 1px solid #cfe4d6; border-left: 5px solid var(--green);
  border-radius: 12px; padding: 22px 24px; margin: 0 0 34px;
}
.answer-box .ab-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: 8px; display: block;
}
.answer-box p { color: var(--ink); font-size: 1.02rem; margin: 0; }

.article-body { color: var(--ink); font-size: 1.05rem; line-height: 1.8; }
.article-body h2 { font-size: 1.65rem; color: var(--brown); margin: 40px 0 14px; }
.article-body h3 { font-size: 1.25rem; color: var(--red); margin: 28px 0 10px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 20px 24px; }
.article-body li { margin-bottom: 9px; }
.article-body a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--red-dark); }
.article-body strong { color: var(--brown); }
.article-body blockquote {
  border-left: 4px solid var(--gold); background: var(--cream-2);
  padding: 16px 22px; border-radius: 8px; font-style: italic; color: var(--brown-soft); margin: 0 0 22px;
}

/* FAQ */
.faq { margin-top: 44px; }
.faq h2 { font-size: 1.65rem; color: var(--brown); margin-bottom: 18px; }
.faq details {
  background: var(--white); border: 1px solid var(--cream-2); border-radius: 12px;
  padding: 4px 20px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--brown); font-family: var(--serif);
  font-size: 1.08rem; padding: 14px 0; list-style: none; position: relative; padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; color: var(--muted); line-height: 1.7; margin: 0; }

/* Author / CTA at article end */
.article-cta {
  margin-top: 44px; background: var(--cream-2); border-radius: var(--radius);
  padding: 30px 32px; text-align: center;
}
.article-cta h3 { font-family: var(--serif); color: var(--brown); margin-bottom: 8px; }
.article-cta p { color: var(--muted); margin-bottom: 18px; }

@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
  .article-body { font-size: 1rem; }
}
