/* ===== Reset & base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --red: #b91313;          /* Duangjai logo red */
  --red-dark: #8e0d0d;
  --ink: #1f1a17;
  --muted: #4a423c;
  --card: #ffffff;
  --line: #e8ddd0;
  --maxw: 980px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  color: var(--ink);
  line-height: 1.6;
  font-size: 18px;
  min-height: 100vh;
  padding: clamp(0px, 4vw, 60px) clamp(0px, 4vw, 40px);

  /* Blurred warm food background, like the original full-bleed image */
  background:
    linear-gradient(rgba(40, 16, 8, 0.45), rgba(40, 16, 8, 0.45)),
    url("images/bg_1.jpg") center / cover fixed no-repeat;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); text-decoration: underline; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===== Centered white card ===== */
.card {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--card);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

/* ===== Header / logo ===== */
.head {
  text-align: center;
  padding: clamp(22px, 5vw, 34px) 20px;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-block; }
.brand:hover { text-decoration: none; }
.brand img {
  width: clamp(220px, 42vw, 320px);
  height: auto;
  margin: 0 auto;
}

/* ===== Hero ===== */
.hero { width: 100%; line-height: 0; }
.hero img {
  width: 100%;
  height: clamp(180px, 38vw, 350px);
  object-fit: cover;
  object-position: center;
}

/* ===== Content columns ===== */
.content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 40px);
  padding: clamp(30px, 6vw, 52px) clamp(24px, 6vw, 60px);
}

.col h2 {
  font-family: "EB Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(22px, 3.2vw, 27px);
  color: var(--ink);
  margin-bottom: 12px;
}
.col h2 + h2 { margin-top: 26px; }
.col p { color: var(--muted); margin-bottom: 6px; }

.col a {
  font-weight: 600;
  border-bottom: 1px solid transparent;
}
.col a:hover { border-bottom-color: currentColor; text-decoration: none; }

.col--info h2 { color: var(--red); }
.col--info strong { color: var(--ink); font-weight: 600; }

.smiley { margin-top: 22px; }
.smiley img { display: inline-block; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--red);
  font-size: clamp(12px, 2.2vw, 14px);
  padding: 18px clamp(16px, 5vw, 24px);
  line-height: 1.8;
}

/* ===================================================================
   BREAKPOINTS
   Mobile  : single column stack
   Tablet  : two menu cards side by side, opening hours full-width below
   Desktop : three columns across, like the original
   =================================================================== */

/* Tablet */
@media (min-width: 560px) and (max-width: 859px) {
  .content {
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 40px);
    align-items: start;
  }
  .col--info { grid-column: 1 / -1; }
}

/* Desktop */
@media (min-width: 860px) {
  .content {
    grid-template-columns: 1fr 1fr 1.15fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
  }
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
