
:root{
  --bg:#f7f1e6;
  --card:#fffaf2;
  --text:#2b2420;
  --muted:#6b5b51;
  --accent:#b66a2c; /* warm caramel */
  --accent2:#7a4a24;
  --border:rgba(43,36,32,.12);
  --shadow:0 12px 40px rgba(43,36,32,.12);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 10% 0%, rgba(182,106,44,.20), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(122,74,36,.18), transparent 55%),
    var(--bg);
}

a{color:var(--accent2); text-decoration:none}
a:hover{color:var(--accent); text-decoration:underline}

.container{
  max-width:1050px;
  margin:0 auto;
  padding: 0 18px;
}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(247,241,230,.72);
  border-bottom:1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}

.brand img{
  width:44px;
  height:44px;
  object-fit:contain;
  filter: drop-shadow(0 6px 18px rgba(43,36,32,.18));
}

.brand .title{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand .title b{font-size:16px; letter-spacing:.2px}
.brand .title span{font-size:12px; color:var(--muted)}

.nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:flex-end;
}

.nav a{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid transparent;
  color:var(--text);
  font-weight:600;
  font-size:13px;
  letter-spacing:.15px;
}
.nav a:hover{
  background: rgba(182,106,44,.10);
  border-color: rgba(182,106,44,.20);
  text-decoration:none;
}

.hero{
  margin: 18px 0 0 0;
  border-radius: 22px;
  overflow:hidden;
  box-shadow: var(--shadow);
  border:1px solid var(--border);
  background: #1f1a17;
}

.hero-inner{
  padding: 56px 22px;
  min-height: 320px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:10px;
  background-size:cover;
  background-position:center;
  position:relative;
}

.hero-inner::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.55));
}
.hero-inner > *{position:relative}

.kicker{
  color: rgba(255,255,255,.85);
  font-weight:700;
  letter-spacing:.4px;
  font-size:13px;
  text-transform:uppercase;
}

.hero h1{
  margin:0;
  color:#fff;
  font-size: 34px;
  letter-spacing:.2px;
}
.hero p{
  margin:0;
  color: rgba(255,255,255,.88);
  max-width: 60ch;
  font-size: 16px;
}

.cta-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color:#fff;
  font-weight:700;
  font-size: 14px;
  letter-spacing:.2px;
}
.btn:hover{background: rgba(255,255,255,.14); text-decoration:none}

.btn.primary{
  background: rgba(182,106,44,.92);
  border-color: rgba(182,106,44,1);
}
.btn.primary:hover{background: rgba(182,106,44,1)}

.section{
  padding: 26px 0 8px 0;
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.card{
  grid-column: span 6;
  background: var(--card);
  border:1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(43,36,32,.07);
  padding: 18px;
}

.card h2{
  margin: 0 0 8px 0;
  font-size: 18px;
}
.card p{
  margin:0;
  color: var(--muted);
  line-height:1.5;
}

.card.small{grid-column: span 4}
.card.full{grid-column: 1 / -1}

.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.gallery img{
  width:100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  border:1px solid var(--border);
  box-shadow: 0 10px 28px rgba(43,36,32,.10);
}
.gallery .g6{grid-column: span 6}
.gallery .g4{grid-column: span 4}
.gallery .g12{grid-column: 1 / -1}

.prose{
  background: var(--card);
  border:1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(43,36,32,.07);
  color: var(--text);
  line-height: 1.6;
}
.prose h1, .prose h2{margin-top:0}
.prose small{color:var(--muted)}

.site-footer{
  margin-top: 26px;
  border-top:1px solid var(--border);
  padding: 18px 0 28px 0;
  color: var(--muted);
  font-size: 12px;
}

.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 14px;
  border:1px solid var(--border);
  background: #fffdf7;
}
.table td, .table th{
  padding: 12px 12px;
  border-bottom: 1px solid rgba(43,36,32,.08);
}
.table th{
  text-align:left;
  background: rgba(182,106,44,.10);
  color: var(--text);
}
.table tr:last-child td{border-bottom:none}

.notice{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding: 12px 14px;
  border-radius: 14px;
  border:1px dashed rgba(182,106,44,.35);
  background: rgba(182,106,44,.08);
  color: var(--text);
}
.notice b{color: var(--accent2)}

@media (max-width: 900px){
  .card{grid-column: 1 / -1}
  .card.small{grid-column: 1 / -1}
  .gallery .g6, .gallery .g4{grid-column: 1 / -1}
  .hero-inner{min-height: 300px}
}


/* Opening hours dynamic block */
.oh-badge{
  display:inline-block;
  padding:10px 14px;
  border-radius:999px;
  background: rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.22);
  color:#fff;
  font-weight:600;
  backdrop-filter: blur(6px);
}
.oh-badge.is-open{ background: rgba(46,125,50,.25); border-color: rgba(46,125,50,.35); }
.oh-badge.is-closed{ background: rgba(183,28,28,.22); border-color: rgba(183,28,28,.30); }

.oh-card{
  background: rgba(255,255,255,.72);
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}
.oh-h2{ margin:0 0 12px; font-size:22px; }
.oh-tablewrap{ overflow:auto; border-radius:12px; border:1px solid rgba(0,0,0,.10); }
.oh-table{ width:100%; border-collapse: collapse; min-width: 340px; background:#fff; }
.oh-table th, .oh-table td{ padding:12px 12px; border-bottom:1px solid rgba(0,0,0,.08); text-align:left; }
.oh-table thead th{ background: rgba(0,0,0,.03); font-weight:700; }
.oh-table tbody tr:last-child td{ border-bottom:none; }
.oh-day{ width:120px; font-weight:700; }
.oh-time{ white-space:nowrap; }
.oh-note{ margin-top:10px; color: rgba(0,0,0,.65); font-size:14px; }

/* Mobile call button */
.mobile-call{
  display:none;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background: rgba(197,157,95,.18);
  border:1px solid rgba(197,157,95,.35);
  color: inherit;
  text-decoration:none;
  font-weight:700;
}
.mobile-call:hover{ transform: translateY(-1px); }

.call-fab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  display:none;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  border-radius:50%;
  background: #c59d5f;
  color:#fff;
  text-decoration:none;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);
}
.call-fab:active{ transform: scale(.98); }

@media (max-width: 820px){
  .mobile-call{ display:inline-flex; }
  .call-fab{ display:flex; }
}


/* ===== Theme system ===== */
html, body, .site-header, .hero, .card, .oh-card, footer, .site-footer {
  transition: background-color .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
/* Theme switch (segmented toggle) */
.theme-switch{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
}
.theme-switch .seg{
  display:flex;
  border-radius:999px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
}
.theme-switch button{
  appearance:none;
  border:0;
  padding:8px 10px;
  background: transparent;
  color: inherit;
  font-weight:700;
  cursor:pointer;
  font-size:13px;
}
.theme-switch button.is-active{
  background: rgba(0,0,0,.18);
}
.theme-switch .meta{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.theme-switch .meta .small{
  font-size:12px;
  opacity:.85;
}
.theme-switch .auto{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(0,0,0,.10);
  cursor:pointer;
  font-weight:700;
  font-size:12px;
}
@media (max-width: 980px){
  .theme-switch{ width:100%; justify-content:space-between; }
  .theme-switch .meta{ display:none; }
}
