/*
Theme Name: Taste of Thai Demo V9.9
Author: Demo Website
Description: Polished black, gold, red and cream Taste of Thai theme with the high-resolution chef hero image.
Version: 1.9.9
License: GPL-2.0-or-later
Text Domain: taste-of-thai-demo
*/
:root{
  --black:#090807;
  --black2:#15110e;
  --red:#d01836;
  --red2:#9d1126;
  --gold:#d4a43a;
  --gold2:#f0ce67;
  --cream:#fff7e7;
  --paper:#fffdf8;
  --ink:#211b16;
  --muted:#6b625a;
  --line:#ead9ba;
  --shadow:0 16px 44px rgba(37,21,9,.2);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.55}
a{color:inherit}
img{max-width:100%;display:block}

.topbar{
  background:linear-gradient(90deg,#c28f27,#e4bd55);
  color:#1f1609;font-weight:800;font-size:13px;
}
.topbar-inner{
  max-width:1400px;margin:auto;padding:7px 22px;
  display:flex;justify-content:space-between;gap:20px;
}
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(7,6,5,.98);
  border-bottom:1px solid rgba(212,164,58,.45);
}
.header-inner{
  max-width:1400px;margin:auto;padding:13px 22px;
  display:grid;grid-template-columns:auto 1fr auto;
  align-items:center;gap:28px;
}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:#fff}
.brand-mark{
  width:48px;height:48px;border-radius:50%;
  background:var(--red);border:3px solid var(--gold);
  display:grid;place-items:center;font:700 22px Georgia,serif;
}
.brand-name{font:700 26px Georgia,serif}
.nav{justify-self:center}
.nav ul{display:flex;gap:24px;list-style:none;margin:0;padding:0}
.nav li{list-style:none}
.nav a{color:#fff;text-decoration:none;font-weight:800;font-size:14px}
.nav a:hover,.nav .current-menu-item>a{color:var(--gold2)}
.header-actions{display:flex;align-items:center;gap:13px}
.phone{color:#fff;text-decoration:none;font-weight:900}
.btn{display:inline-block;text-decoration:none;border-radius:999px;padding:13px 22px;font-weight:900}
.btn-red{background:var(--red);color:#fff}
.btn-red:hover{background:var(--red2)}
.btn-outline{color:#fff;border:2px solid var(--gold2)}

.hero{
  position:relative;
  background:#11100e;
  border-bottom:1px solid var(--gold);
  overflow:hidden;
}
.hero-inner{
  max-width:1400px;
  margin:auto;
  min-height:560px;
  display:grid;
  grid-template-columns:46% 54%;
}
.hero-copy{
  position:relative;
  z-index:2;
  padding:78px 36px 60px 22px;
  color:#fff;
  background:
    radial-gradient(circle at 10% 20%,rgba(212,164,58,.08),transparent 28%),
    linear-gradient(90deg,#070605 0%,#0c0907 82%,#17100b 100%);
}
.hero-photo-panel{
  position:relative;
  min-height:560px;
  background:#20140e;
  overflow:hidden;
}
.hero-photo-panel:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:110px;
  z-index:2;
  background:linear-gradient(90deg,#17100b,rgba(23,16,11,.35),transparent);
}
.hero-photo-panel img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}

.eyebrow{
  color:var(--gold2);text-transform:uppercase;
  letter-spacing:2.4px;font-weight:900;font-size:12px;
}
.hero h1{
  font:700 clamp(58px,6vw,90px)/.95 Georgia,serif;
  margin:16px 0;
}
.hero h1 span{color:var(--gold2)}
.hero p{font-size:20px;color:#f4ebe0;max-width:620px}
.buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}
.service-row{display:flex;gap:28px;flex-wrap:wrap;margin-top:26px}
.service-row span{font-weight:800;color:#fff}
.service-row b{color:var(--gold2);margin-right:7px}

.category-strip{background:var(--cream);padding:14px 20px}
.category-grid{
  max-width:1400px;margin:auto;
  display:grid;grid-template-columns:repeat(6,1fr);gap:12px
}
.category-card{
  position:relative;min-height:145px;border-radius:14px;
  overflow:hidden;border:1px solid var(--gold);
  box-shadow:var(--shadow);text-decoration:none;background:#24180f
}
.category-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.category-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 35%,rgba(0,0,0,.86))}
.category-card span{
  position:absolute;z-index:2;left:0;right:0;bottom:0;
  padding:12px;color:#fff;text-align:center;
  font:700 19px Georgia,serif;
}

.section{padding:72px 22px}
.section-inner{max-width:1400px;margin:auto}
.section-kicker{
  color:var(--red);font-size:12px;font-weight:900;
  letter-spacing:2.2px;text-transform:uppercase;
}
.section h2{
  font:700 clamp(38px,4.7vw,58px)/1.04 Georgia,serif;
  margin:10px 0 15px;
}
.section-intro{color:var(--muted);font-size:18px;max-width:760px}
.about-grid{
  display:grid;grid-template-columns:1.1fr 1fr .8fr;
  gap:28px;align-items:center
}
.about-photo img{
  width:100%;height:430px;object-fit:cover;
  border-radius:22px;box-shadow:var(--shadow)
}
.feature-list{display:grid;gap:15px}
.feature-item{
  display:flex;gap:12px;background:#fff;
  border:1px solid var(--line);border-radius:16px;padding:16px
}
.feature-icon{font-size:23px;color:var(--red)}
.feature-item strong{display:block;font:700 18px Georgia,serif}
.handwritten{font:italic 25px Georgia,serif;color:#41362f;margin-top:14px}

.dark{background:linear-gradient(135deg,#100d0b,#281a11);color:#fff}
.dark .section-kicker{color:var(--gold2)}
.dark .section-intro{color:#eadcc9}
.gallery{
  display:grid;grid-template-columns:2fr 1fr 1fr;
  grid-auto-rows:230px;gap:14px;margin-top:26px
}
.gallery img{width:100%;height:100%;object-fit:cover;border-radius:18px}
.gallery .tall{grid-row:span 2}
.gallery .wide{grid-column:span 2}

.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.info-box{
  background:#fff;border:1px solid var(--line);border-radius:20px;
  padding:26px;box-shadow:var(--shadow)
}
.info-box h3{font:700 26px Georgia,serif;margin-top:0}
.hours{list-style:none;padding:0;margin:0}
.hours li{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid var(--line)}

.site-footer{
  background:#0b0908;color:#eee5da;
  border-top:3px solid var(--gold);padding:30px 22px
}
.footer-inner{
  max-width:1400px;margin:auto;
  display:grid;grid-template-columns:1.1fr .9fr .9fr .9fr;
  gap:24px;align-items:center
}
.footer-title{font:700 24px Georgia,serif;color:#fff}
.small{font-size:13px;color:#beb3a8}

.page-hero{padding:96px 22px 66px;background:linear-gradient(135deg,#17100c,#58131e);color:#fff}
.page-hero h1{font:700 clamp(48px,7vw,76px)/1 Georgia,serif;margin:10px 0}
.menu-columns{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:28px}
.menu-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:24px}
.menu-card h3{font:700 28px Georgia,serif;color:var(--red2);margin:0 0 10px}
.menu-row{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px dotted #d7c5a8}
.menu-name{font-weight:800}
.menu-desc{display:block;color:var(--muted);font-size:13px}
.price{font-weight:900;color:var(--red);white-space:nowrap}

@media(max-width:1050px){
  .header-inner{grid-template-columns:auto 1fr}
  .header-actions{grid-column:1/-1;justify-content:center}
  .category-grid{grid-template-columns:repeat(3,1fr)}
  .about-grid{grid-template-columns:1fr 1fr}
  .feature-list{grid-column:1/-1}
  .footer-inner{grid-template-columns:1fr 1fr}
}
@media(max-width:760px){
  .topbar-inner{display:block;text-align:center}
  .header-inner{display:flex;flex-wrap:wrap;justify-content:center}
  .nav{width:100%}
  .nav ul{justify-content:center;flex-wrap:wrap;gap:12px}
  .hero{min-height:520px}
  .hero-photo{
    background-image:
      linear-gradient(90deg,rgba(7,6,5,.94),rgba(7,6,5,.58)),
      url('assets/chef-hero-hq.jpg');
    background-position:62% center;
  }
  .hero-inner{min-height:520px;padding-top:62px}
  .hero h1{font-size:54px}
  .category-grid{grid-template-columns:repeat(2,1fr)}
  .about-grid{grid-template-columns:1fr}
  .gallery{grid-template-columns:1fr 1fr}
  .gallery .tall,.gallery .wide{grid-row:auto;grid-column:auto}
  .info-grid,.menu-columns,.footer-inner{grid-template-columns:1fr}
}

/* V9.6 hero refinements */
@media(max-width:1050px){
  .hero-inner{grid-template-columns:50% 50%}
  .hero-photo-panel img{object-position:58% center}
}
@media(max-width:760px){
  .hero-inner{grid-template-columns:1fr}
  .hero-copy{padding:56px 22px 38px}
  .hero-photo-panel{min-height:430px}
  .hero-photo-panel:before{display:none}
  .hero-photo-panel img{object-fit:cover;object-position:54% center}
}


/* V9.7 About + Gallery */
.about-hero{
  background:#0d0a08;
  color:#fff;
  border-bottom:1px solid var(--gold);
}
.about-hero-inner{
  max-width:1400px;
  margin:auto;
  display:grid;
  grid-template-columns:42% 58%;
  min-height:560px;
}
.about-hero-copy{
  padding:72px 34px 58px 22px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:linear-gradient(90deg,#070605,#110c09);
}
.about-hero-copy h1{
  font:700 clamp(52px,6vw,84px)/.98 Georgia,serif;
  margin:12px 0 18px;
}
.about-hero-copy p{
  color:#eee1d2;
  font-size:18px;
}
.about-hero-photo{
  min-height:560px;
  overflow:hidden;
  position:relative;
}
.about-hero-photo:before{
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:100px;
  background:linear-gradient(90deg,#110c09,transparent);
  z-index:2;
}
.about-hero-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.about-feature-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  background:var(--cream);
  border-bottom:1px solid var(--line);
}
.about-feature-row .feature-item{
  border:0;
  border-radius:0;
  padding:28px 32px;
  background:transparent;
}
.gallery-page-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:30px;
}
.gallery-page-grid img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:18px;
  box-shadow:var(--shadow);
}
.gallery-page-grid .wide{
  grid-column:span 2;
}
.gallery-page-grid .tall{
  grid-row:span 2;
  aspect-ratio:auto;
  height:100%;
}
@media(max-width:900px){
  .about-hero-inner{grid-template-columns:1fr}
  .about-hero-photo{min-height:420px}
  .about-feature-row{grid-template-columns:1fr}
  .gallery-page-grid{grid-template-columns:1fr 1fr}
  .gallery-page-grid .wide,.gallery-page-grid .tall{grid-column:auto;grid-row:auto;height:auto}
}
@media(max-width:620px){
  .gallery-page-grid{grid-template-columns:1fr}
}

/* V9.9 menu refresh */
.menu-note{margin:18px 0 26px;padding:14px 16px;border:1px solid rgba(189,145,45,.28);border-radius:14px;background:#fff8e8;color:#44351f}
.spicy{font-size:.88em}
.menu-card h3{scroll-margin-top:120px}
.menu-desc{line-height:1.45}
@media (min-width:1100px){.menu-columns{align-items:start}}

/* Favorites section */
.favorites{background:var(--cream);padding-top:56px;padding-bottom:64px}
.favorites-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:28px}
.favorites-head h2{margin-bottom:10px}
.favorites-head .section-intro{margin:0}
.favorites-track{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.favorite-card{margin:0;min-width:0}
.favorite-card a{display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;text-decoration:none;color:inherit;box-shadow:var(--shadow);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.favorite-card a:hover,.favorite-card a:focus-visible{transform:translateY(-4px);border-color:var(--gold);box-shadow:0 22px 52px rgba(37,21,9,.26)}
.favorite-card img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover;background:#55534f}
.favorite-body{display:flex;flex-direction:column;flex:1;padding:16px 18px 18px}
.favorite-card h3{font:700 22px/1.2 Georgia,serif;margin:0 0 8px;color:var(--ink)}
.favorite-card p{margin:0 0 14px;color:var(--muted);font-size:14px;line-height:1.45}
.favorite-card .price{margin-top:auto;white-space:normal}
.menu-row{scroll-margin-top:120px}
.menu-row:target{background:#fff3cf;box-shadow:0 0 0 8px #fff3cf;border-radius:4px}
@media(max-width:1050px){
.favorites-track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;margin:0 -22px;padding:6px 22px 20px;scroll-padding:0 22px}
.favorite-card{flex:0 0 42%;scroll-snap-align:start}
}
@media(max-width:760px){
.favorites{padding-top:44px;padding-bottom:44px}
.favorite-card{flex-basis:78%;scroll-snap-align:center}
}
@media(prefers-reduced-motion:reduce){
.favorite-card a{transition:none}
.favorite-card a:hover,.favorite-card a:focus-visible{transform:none}
}
