/* ===== Bua Yai Thaimat — styles ===== */
:root{
  --red:#8B1C20;
  --red-deep:#6E1417;
  --gold:#C9A227;
  --gold-soft:#E6C765;
  --cream:#FBF7F0;
  --cream-2:#F3EADB;
  --ink:#241B16;
  --ink-soft:#5b4f47;
  --white:#ffffff;
  --shadow:0 14px 40px -18px rgba(40,20,10,.45);
  --radius:18px;
  --maxw:1140px;
  --font:"Plus Jakarta Sans",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  --script:"Pacifico",cursive;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font);
  color:var(--ink);
  background:var(--cream);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

.container{width:min(100% - 2.4rem,var(--maxw));margin-inline:auto}
.section{padding:5.5rem 0}
.eyebrow{
  text-transform:uppercase;letter-spacing:.18em;font-size:.78rem;
  font-weight:700;color:var(--gold);margin-bottom:.6rem;
}
.eyebrow.center,h2.center,.meny-note.center{text-align:center}
h2{
  font-size:clamp(1.7rem,3.6vw,2.6rem);
  line-height:1.15;font-weight:800;color:var(--red-deep);
  margin-bottom:1.1rem;letter-spacing:-.01em;
}
h2.center{margin-inline:auto;max-width:18ch}
h3{font-weight:700}
p{color:var(--ink-soft)}
strong{color:var(--ink)}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.85rem 1.5rem;border-radius:999px;font-weight:700;
  font-size:1rem;line-height:1;cursor:pointer;transition:.2s ease;
  border:2px solid transparent;white-space:nowrap;
}
.btn svg{width:1.05em;height:1.05em;fill:currentColor}
.btn-call{background:var(--gold);color:#3a2c08;box-shadow:0 8px 20px -8px rgba(201,162,39,.7)}
.btn-call:hover{background:var(--gold-soft);transform:translateY(-2px)}
.btn-ghost{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.55);backdrop-filter:blur(4px)}
.btn-ghost:hover{background:rgba(255,255,255,.22);transform:translateY(-2px)}
.btn-ghost.dark{color:var(--red-deep);border-color:var(--red);background:transparent}
.btn-ghost.dark:hover{background:var(--red);color:#fff}

/* ===== Demo gate (overlay) ===== */
body.gate-locked{overflow:hidden}
.demo-gate{
  position:fixed;inset:0;z-index:1000;
  display:flex;align-items:center;justify-content:center;
  padding:1.5rem;
  background:
    radial-gradient(120% 90% at 50% 0%,rgba(201,162,39,.22),transparent 58%),
    linear-gradient(165deg,#3a2419 0%,#2a1812 55%,#1b110b 100%);
  animation:gateFade .4s ease both;
}
.demo-gate::before{
  content:"";position:absolute;inset:0;
  background:repeating-linear-gradient(45deg,rgba(0,0,0,.06),rgba(0,0,0,.06) 16px,transparent 16px,transparent 32px);
  pointer-events:none;
}
.demo-gate.is-closing{animation:gateOut .45s ease forwards}
.gate-card{
  position:relative;z-index:1;text-align:center;color:#fff;
  width:min(100% - 1rem,540px);
  padding:clamp(2rem,5vw,3.2rem);
  background:rgba(36,20,12,.42);
  border:1px solid rgba(230,199,101,.4);
  border-radius:22px;
  box-shadow:0 30px 90px -30px rgba(0,0,0,.7);
  backdrop-filter:blur(6px);
  animation:gateRise .5s cubic-bezier(.2,.8,.2,1) both;
}
.gate-eyebrow{
  text-transform:uppercase;letter-spacing:.2em;font-size:.72rem;
  font-weight:700;color:var(--gold-soft);margin-bottom:.6rem;
}
.gate-brand{
  display:block;font-family:var(--script);
  font-size:clamp(2.8rem,9vw,4rem);line-height:1;color:#fff;
  text-shadow:0 6px 24px rgba(0,0,0,.4);
}
.gate-pill{margin:1rem 0 .2rem;font-size:.74rem;padding:.25rem .7rem}
.gate-card h2{color:#fff;font-size:clamp(1.4rem,4vw,1.9rem);margin:1.1rem 0 .8rem}
.gate-card p{color:#f3e6d6;font-size:1rem;line-height:1.6;max-width:42ch;margin-inline:auto}
.gate-card p strong{color:#fff}
.gate-btn{margin-top:1.8rem;font-size:1.05rem;padding:1rem 2rem}
.gate-fine{margin-top:1.5rem;font-size:.82rem;color:#e0c9a8}
.gate-fine a{color:var(--gold-soft);font-weight:700;text-decoration:underline;text-underline-offset:2px}

@keyframes gateFade{from{opacity:0}to{opacity:1}}
@keyframes gateOut{to{opacity:0;visibility:hidden}}
@keyframes gateRise{from{opacity:0;transform:translateY(22px) scale(.97)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  .demo-gate,.gate-card{animation:none}
}

/* ===== Demo banner ===== */
.demo-banner{
  display:flex;align-items:center;justify-content:center;gap:.7rem;
  flex-wrap:wrap;text-align:center;
  background:repeating-linear-gradient(45deg,#241B16,#241B16 14px,#2e231b 14px,#2e231b 28px);
  color:#f3e2c4;font-size:.82rem;font-weight:500;
  padding:.55rem 1rem;line-height:1.35;
}
.demo-pill{
  background:var(--gold);color:#3a2c08;font-weight:800;
  font-size:.7rem;letter-spacing:.12em;
  padding:.18rem .55rem;border-radius:6px;flex:none;
}

/* ===== Header ===== */
.site-header{
  position:sticky;top:0;z-index:50;
  display:flex;align-items:center;gap:1.5rem;
  padding:.7rem clamp(1.1rem,3vw,2rem);
  background:rgba(110,20,23,.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(201,162,39,.35);
}
.brand{display:flex;flex-direction:column;line-height:1;margin-right:auto}
.brand-mark{font-family:var(--script);font-size:1.6rem;color:var(--gold-soft)}
.brand-sub{font-size:.66rem;letter-spacing:.18em;text-transform:uppercase;color:#f3e2c4;margin-top:.25rem}
.nav{display:flex;gap:1.6rem}
.nav a{color:#f5e9d6;font-weight:600;font-size:.95rem;position:relative;padding:.2rem 0}
.nav a::after{content:"";position:absolute;left:0;bottom:-2px;width:0;height:2px;background:var(--gold);transition:width .25s}
.nav a:hover::after{width:100%}
.header-call{padding:.6rem 1.1rem;font-size:.92rem}

/* ===== Hero ===== */
.hero{
  position:relative;min-height:min(88vh,760px);
  display:flex;align-items:center;justify-content:center;
  text-align:center;overflow:hidden;color:#fff;
}
.hero-bg{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;z-index:0;
}
.hero-overlay{
  position:absolute;inset:0;z-index:1;
  background:
    radial-gradient(120% 100% at 50% 0%,rgba(110,20,23,.35),transparent 55%),
    linear-gradient(180deg,rgba(36,20,12,.55) 0%,rgba(110,20,23,.7) 60%,rgba(60,12,14,.92) 100%);
}
.hero-inner{position:relative;z-index:2;width:min(100% - 2.4rem,760px);padding:3rem 0}
.hero-kicker{color:var(--gold-soft);font-weight:600;letter-spacing:.04em;margin-bottom:.4rem}
.hero-title{
  font-family:var(--script);
  font-size:clamp(4rem,15vw,8.5rem);
  line-height:.95;color:#fff;
  text-shadow:0 6px 30px rgba(0,0,0,.45);
  margin-bottom:.2rem;
}
.hero-tag{font-size:clamp(1.1rem,2.6vw,1.5rem);font-weight:600;color:#fff}
.hero-tag strong{color:var(--gold-soft)}
.hero-lead{max-width:48ch;margin:1rem auto 0;color:#f3e6d6;font-size:1.05rem}
.hero-cta{display:flex;gap:.9rem;justify-content:center;flex-wrap:wrap;margin-top:2rem}
.hero-meta{margin-top:1.4rem;font-size:.92rem;color:#e9d9c4}
.hero-meta a{color:var(--gold-soft);text-decoration:underline;text-underline-offset:3px}
.scroll-hint{
  position:absolute;bottom:1.2rem;left:50%;transform:translateX(-50%);
  z-index:2;color:rgba(255,255,255,.8);font-size:1.5rem;
  animation:bob 1.8s ease-in-out infinite;
}
@keyframes bob{0%,100%{transform:translate(-50%,0)}50%{transform:translate(-50%,8px)}}

/* ===== Om oss ===== */
.om{background:var(--cream)}
.om-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:3.5rem;align-items:center}
.om-text p{margin-bottom:1rem;font-size:1.05rem}
.om-points{list-style:none;display:flex;flex-direction:column;gap:.6rem;margin-top:1.6rem}
.om-points li{display:flex;align-items:center;gap:.7rem;font-weight:600;color:var(--ink)}
.om-points span{font-size:1.3rem}
.om-photo{
  border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);
  border:5px solid #fff;rotate:1.5deg;
}
.om-photo img{aspect-ratio:3/4;object-fit:cover;width:100%}

/* ===== Spesialiteter ===== */
.spesialiteter{
  background:
    linear-gradient(180deg,var(--red) 0%,var(--red-deep) 100%);
  color:#fff;position:relative;
}
.spesialiteter .eyebrow{color:var(--gold-soft)}
.spesialiteter h2{color:#fff;margin-bottom:2.6rem}
.spec-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem}
.spec-card{
  background:var(--cream);border-radius:var(--radius);overflow:hidden;
  box-shadow:var(--shadow);display:flex;flex-direction:column;
  transition:transform .25s,box-shadow .25s;
}
.spec-card:hover{transform:translateY(-6px)}
.spec-img{aspect-ratio:4/3;overflow:hidden}
.spec-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.spec-card:hover .spec-img img{transform:scale(1.06)}
.spec-body{padding:1.3rem 1.4rem 1.5rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.spec-body h3{color:var(--red-deep);font-size:1.2rem}
.spec-body p{font-size:.95rem;flex:1}
.spec-price{align-self:flex-start;background:var(--gold);color:#3a2c08;font-weight:700;padding:.3rem .8rem;border-radius:999px;font-size:.9rem}

/* ===== Meny ===== */
.meny{background:var(--cream-2)}
.meny-note{max-width:60ch;margin:0 auto 2.8rem;font-size:.95rem}
.meny-note a{color:var(--red);text-decoration:underline;text-underline-offset:2px;font-weight:600}
.meny-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:2.2rem}
.meny-group{background:#fff;border-radius:var(--radius);padding:1.7rem 1.6rem;box-shadow:0 10px 30px -22px rgba(40,20,10,.5)}
.meny-h{
  font-size:1.05rem;text-transform:uppercase;letter-spacing:.1em;
  color:var(--red);border-bottom:2px solid var(--gold);
  padding-bottom:.6rem;margin-bottom:1.1rem;
}
.meny-list{list-style:none;display:flex;flex-direction:column;gap:1.1rem}
.mi-head{display:flex;justify-content:space-between;align-items:baseline;gap:.8rem}
.mi-name{font-weight:700;color:var(--ink)}
.mi-price{font-weight:700;color:var(--red);white-space:nowrap}
.mi-desc{font-size:.9rem;margin-top:.15rem}
.tag{
  font-style:normal;font-size:.62rem;font-weight:700;text-transform:uppercase;
  letter-spacing:.06em;background:var(--gold);color:#3a2c08;
  padding:.12rem .45rem;border-radius:6px;margin-left:.4rem;vertical-align:middle;
}
.meny-cta{display:flex;gap:.9rem;justify-content:center;flex-wrap:wrap;margin-top:2.8rem}

/* ===== Kontakt ===== */
.kontakt{background:var(--cream)}
.kontakt-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:3rem;align-items:start}
.info-block{margin-top:1.6rem}
.info-block h3{color:var(--red);font-size:1rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:.4rem}
.info-block a{color:var(--ink);font-weight:600}
.info-block a:hover{color:var(--red)}
.hours{border-collapse:collapse;width:100%;max-width:320px}
.hours th{text-align:left;font-weight:600;color:var(--ink-soft);padding:.32rem 0}
.hours td{text-align:right;font-weight:600;color:var(--ink);padding:.32rem 0}
.hours tr{border-bottom:1px solid rgba(40,20,10,.08)}
.hours tr.today{color:var(--red);background:linear-gradient(90deg,rgba(201,162,39,.14),transparent)}
.hours tr.today th{color:var(--red-deep)}
.hours tr.today td{color:var(--red-deep)}
.hours tr.today td::after{content:" · i dag";font-size:.72rem;color:var(--gold);font-weight:700}
.kontakt-map{border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);min-height:420px;border:5px solid #fff}
.kontakt-map iframe{width:100%;height:100%;min-height:410px;border:0;display:block}

/* ===== Footer ===== */
.site-footer{background:var(--red-deep);color:#f3e2c4;padding:2.6rem 0}
.footer-inner{display:flex;flex-wrap:wrap;align-items:center;gap:1.2rem;justify-content:space-between}
.footer-brand{display:flex;flex-direction:column;line-height:1}
.footer-brand .brand-mark{font-family:var(--script);font-size:1.5rem;color:var(--gold-soft)}
.footer-brand .brand-sub{font-size:.66rem;letter-spacing:.16em;text-transform:uppercase;margin-top:.3rem}
.footer-links{display:flex;gap:1.4rem}
.footer-links a{font-weight:600}
.footer-links a:hover{color:var(--gold-soft)}
.footer-fine{width:100%;font-size:.8rem;color:#d8bfa0;border-top:1px solid rgba(255,255,255,.12);padding-top:1.2rem;margin-top:.4rem}
.footer-credit{display:inline-block;margin-top:.35rem;color:#c9b08f}
.footer-credit a{color:var(--gold-soft);font-weight:700}
.footer-credit a:hover{text-decoration:underline}

/* ===== Responsive ===== */
@media (max-width:960px){
  .nav{display:none}
  .om-grid,.kontakt-grid{grid-template-columns:1fr;gap:2.2rem}
  .om-photo{rotate:0deg;max-width:440px;margin-inline:auto}
  .spec-grid,.meny-cols{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .section{padding:4rem 0}
  .header-call{display:none}
  .spec-grid,.meny-cols{grid-template-columns:1fr}
  .footer-inner{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;scroll-behavior:auto!important}
}
