/* Thai Home Sandy — site styles
   Colors and type matched to the original Hostinger/Zyro site. */
:root {
  --beige: #f4e9e0;
  --beige-dark: #e6d7c9;
  --brown: #7a6a5c;
  --text: #1d1e20;
  --muted: #6d6d6d;
  --red: #b5222c;
  --white: #ffffff;
  --radius: 22px;
  --max: 1224px;
  --font: "Lora", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-weight: 500; margin: 0 0 .5em; line-height: 1.2; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  text-align: center;
  padding: 30px 16px 22px;
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 4px 14px rgba(0,0,0,.12); }
.logo { display: inline-block; }
.logo img { height: 92px; width: auto; margin: 0 auto; }
.nav { margin-top: 18px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 45px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-size: 17px; padding-bottom: 4px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a.active { border-bottom-color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; font-size: 28px; cursor: pointer; position: absolute; right: 20px; top: 34px; }

/* ---------- Generic sections ---------- */
.section { padding: 80px 24px; }
.section.beige { background: var(--beige); }
.container { max-width: var(--max); margin: 0 auto; }
.center { text-align: center; }
.title-xl { font-size: clamp(36px, 5vw, 56px); }
.title-lg { font-size: clamp(30px, 4vw, 44px); }
.muted { color: var(--muted); }
.rounded { border-radius: var(--radius); overflow: hidden; }
.rounded img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 383px; overflow: hidden; color: #fff; text-align: center; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25); }
.hero-inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 20px; }
.hero h1 { font-size: clamp(30px, 4vw, 40px); }
.hero p { max-width: 420px; margin: 0 0 40px; }
.btn { display: inline-block; text-decoration: none; padding: 12px 40px; border-radius: 30px; background: rgba(60,45,35,.75); color: #fff; font-size: 17px; transition: background .2s; }
.btn:hover { background: rgba(60,45,35,.95); }
.stars { letter-spacing: 2px; font-size: 20px; margin-top: 22px; color: rgba(255,255,255,.85); }

/* ---------- Home: welcome / story ---------- */
.welcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.welcome-text { max-width: 330px; }
.welcome-text h2 { font-size: 32px; }
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; }
.collage .tall { grid-row: span 2; height: 560px; }
.collage .short { height: 300px; }
.story h2 { font-size: 32px; margin-bottom: 40px; }
.story p { color: var(--muted); }

.photo-pair { display: grid; grid-template-columns: 3fr 4fr; gap: 20px; }
.photo-pair .rounded { height: 256px; }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; color: #fff; padding: 70px 24px; overflow: hidden; }
.testimonials > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.testimonials::after { content: ""; position: absolute; inset: 0; background: rgba(20,30,40,.45); }
.testimonial-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: var(--max); margin: 0 auto; text-align: center; }
.testimonial .stars { margin: 0 0 16px; }
.testimonial blockquote { margin: 0 0 18px; font-size: 17px; }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown); color: #f3ece5; padding: 40px 24px; }
.site-footer .container { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.site-footer p { margin: 0 0 4px; }
.social { display: flex; gap: 14px; margin-top: 20px; }
.social a { width: 26px; height: 26px; display: inline-flex; }
.social svg { width: 100%; height: 100%; fill: #f3ece5; }

/* ---------- Menu ---------- */
.menu-section { padding: 70px 24px 90px; }
.menu-section:nth-of-type(odd) { background: var(--beige); }
.menu-section h1 { text-align: center; font-size: clamp(34px, 4.5vw, 48px); margin-bottom: 8px; }
.menu-sub { text-align: center; font-style: italic; color: var(--muted); margin: 0 0 30px; }
.price-box { max-width: 460px; margin: 10px auto 40px; background: #ebebeb; padding: 10px 16px; text-align: center; color: #444; font-size: 15px; }
.price-box p { margin: 4px 0; }
.menu-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 180px; max-width: 865px; margin: 60px auto 0; }
.menu-item { margin-bottom: 42px; }
.menu-item .row { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.menu-item h6 { font-size: 17px; font-weight: 600; margin: 0 0 14px; }
.menu-item .price { font-weight: 600; font-size: 17px; white-space: nowrap; }
.menu-item p { margin: 0; color: var(--muted); }
.menu-item .note { font-weight: 600; color: var(--muted); }

/* ---------- Lunch special ---------- */
.lunch-head { background: var(--beige); text-align: center; padding: 10px 20px 14px; margin-top: 36px; }
.lunch-head h1 { font-size: clamp(34px, 4.5vw, 48px); margin: 0 0 20px; }
.lunch-head p { font-weight: 600; margin: 0; }
.lunch-body { max-width: 420px; margin: 0 auto; padding: 20px 20px 60px; }
.lunch-prices { display: grid; grid-template-columns: 1fr auto; gap: 8px 40px; text-align: center; margin: 0 0 14px; font-size: 17px; }
.lunch-note { background: var(--beige); font-style: italic; text-align: center; padding: 4px 6px; margin-bottom: 30px; }
.lunch-item h6 { font-size: 19px; font-weight: 600; margin: 0 0 10px; }
.lunch-item p { margin: 0 0 26px; color: var(--muted); }
.lunch-banner { max-width: var(--max); margin: 0 auto 60px; height: 151px; }

/* ---------- Gallery ---------- */
.gallery-row { display: grid; gap: 28px; margin-bottom: 32px; }
.gallery-row.three { grid-template-columns: 1fr 1.35fr 1fr; }
.gallery-row.two { grid-template-columns: 1fr 1fr; }
.gallery-card { position: relative; height: 280px; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gallery-card figcaption { position: absolute; left: 50%; transform: translateX(-50%); top: -10px; background: rgba(255,255,255,.75); padding: 2px 30px; font-weight: 600; font-size: 17px; white-space: nowrap; color: #444; }
.gallery-card.cap-bottom figcaption { top: auto; bottom: 40px; }

/* ---------- About ---------- */
.about-photos { background: var(--beige-dark); padding: 34px 14px 40px; }
.about-photos .grid { display: grid; grid-template-columns: 1.62fr 1fr; gap: 16px; max-width: var(--max); margin: 0 auto; }
.about-photos .rounded { height: 522px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; max-width: var(--max); margin: 0 auto; }
.about-grid h6 { font-size: 17px; font-weight: 700; margin: 30px 0 8px; }
.about-grid p { margin: 0 0 6px; }
.map { width: 100%; height: 420px; border: 0; }

/* ---------- Scroll reveal (matches the original fade-in) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
  .logo img { height: 64px; }
  .nav-toggle { display: block; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 14px; }
  .welcome-grid, .collage, .photo-pair, .testimonial-grid, .menu-cols,
  .gallery-row.three, .gallery-row.two, .about-photos .grid, .about-grid { grid-template-columns: 1fr; }
  .collage .tall { height: 380px; grid-row: auto; }
  .menu-cols { gap: 0; }
  .about-photos .rounded { height: 320px; }
  .section { padding: 50px 18px; }
}
