/* ============================================================
   Werners Wirtshaus – Main Stylesheet
   ============================================================ */

:root {
  --navy:       #1a2744;
  --gold:       #c8963e;
  --gold-light: #e8b45a;
  --cream:      #f8f3eb;
  --cream-dark: #ede3d0;
  --burgundy:   #7a1c2e;
  --dark:       #111827;
  --text:       #2d2417;
  --green:      #4a6741;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ── GLOBAL ── */
img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; transition: color 0.3s; }
ul { list-style: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.section-label {
  font-family: 'Lora', serif;
  font-size: .78rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .8rem;
  display: block;
}

.section-heading {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.section-heading.light { color: var(--cream); }

.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.divider-icon { color: var(--gold); font-size: 1.2rem; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 14px 36px;
  font-family: 'Lora', serif;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 2px solid var(--gold);
  transition: all .3s;
  display: inline-block;
  cursor: pointer;
}
.btn-primary:hover { background: transparent; color: var(--gold); }

.btn-secondary {
  background: transparent;
  color: var(--cream);
  padding: 14px 36px;
  font-family: 'Lora', serif;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 2px solid rgba(248,243,235,.4);
  transition: all .3s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--cream); background: rgba(248,243,235,.08); }

/* ── NAVIGATION ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26,39,68,.97);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--gold);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  transition: box-shadow .3s;
}

#site-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.3); }

.site-logo a,
.site-title a {
  font-family: 'UnifrakturMaguntia', cursive;
  color: var(--gold);
  font-size: 1.5rem;
  letter-spacing: .02em;
}

#site-navigation ul {
  display: flex;
  gap: 2.5rem;
}

#site-navigation a {
  color: var(--cream);
  font-family: 'Lora', serif;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
#site-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right .3s ease;
}
#site-navigation a:hover { color: var(--gold); }
#site-navigation a:hover::after { right: 0; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all .3s;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(200,150,62,.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(122,28,46,.12) 0%, transparent 60%),
    linear-gradient(180deg, #0f1a30 0%, #1a2744 50%, #0f1a30 100%);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .18;
  mix-blend-mode: luminosity;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: var(--cream);
  clip-path: polygon(0 100%, 100% 100%, 100% 40%, 0 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  animation: fadeUp 1.2s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: 'Lora', serif;
  font-size: .85rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  animation: fadeUp 1.2s .2s ease both;
}

.hero-logo {
  width: min(340px, 80vw);
  margin: 0 auto 1.5rem;
  animation: fadeUp 1.2s .3s ease both;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,.5));
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--cream);
  letter-spacing: .04em;
  margin-bottom: 2.5rem;
  animation: fadeUp 1.2s .5s ease both;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1.2s .7s ease both;
}

/* ── HOURS BANNER ── */
#hours-banner {
  background: var(--navy);
}

.hours-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  align-items: center;
}

.hours-day { text-align: center; padding: 1rem; }

.hours-day-name {
  font-family: 'Lora', serif;
  font-size: .75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: .5rem;
}

.hours-day-time {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--cream);
}
.hours-day-time.closed { color: var(--burgundy); font-style: italic; }

/* ── ABOUT ── */
#about { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-frame {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  box-shadow: 12px 12px 0 var(--gold), 24px 24px 0 rgba(200,150,62,.2);
  background: linear-gradient(135deg, var(--navy) 0%, #243050 100%);
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 110px;
  height: 110px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  z-index: 2;
}

.badge-year {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: 1.8rem;
  color: var(--navy);
  line-height: 1;
}

.badge-text {
  font-family: 'Lora', serif;
  font-size: .62rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #3d3020;
  margin-bottom: 1.2rem;
}

.about-suppliers {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--cream-dark);
  border-left: 3px solid var(--gold);
}

.about-suppliers h4 {
  font-family: 'Lora', serif;
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: .8rem;
}

.supplier-list { display: flex; flex-wrap: wrap; gap: .5rem; }

.supplier-tag {
  background: var(--navy);
  color: var(--cream);
  padding: 4px 12px;
  font-size: .78rem;
  font-family: 'Lora', serif;
  border-radius: 2px;
}

/* ── MENU ── */
#menu {
  background: linear-gradient(180deg, var(--cream) 0%, #f0e8d8 100%);
}

.menu-intro {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3.5rem;
}
.menu-intro p { font-size: 1.05rem; line-height: 1.8; color: #3d3020; }

.menu-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 3rem;
}

.menu-card {
  background: var(--navy);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform .3s;
}
.menu-card:hover { transform: translateY(-4px); }
.menu-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.menu-card:hover::before { transform: scaleX(1); }

.menu-card-icon { font-size: 2.2rem; margin-bottom: 1rem; display: block; }
.menu-card h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--gold); margin-bottom: 1rem; }

.menu-items li {
  font-family: 'Lora', serif;
  font-size: .88rem;
  color: rgba(248,243,235,.8);
  padding: .4rem 0;
  border-bottom: 1px solid rgba(200,150,62,.12);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.menu-items li:last-child { border-bottom: none; }

.price { color: var(--gold-light); font-weight: 600; white-space: nowrap; margin-left: 1rem; }

/* ── SPACES ── */
#spaces { background: var(--dark); overflow: hidden; }

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.space-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 3px;
  overflow: hidden;
  cursor: default;
}
.space-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.85) 100%);
  z-index: 1;
}

.space-card-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a2744 0%, #243050 100%);
}
.space-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .6;
}

.space-emoji {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  opacity: .15;
  z-index: 1;
}

.space-info { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 1.5rem; }
.space-name { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--gold); margin-bottom: .4rem; }
.space-desc { font-family: 'Lora', serif; font-size: .82rem; color: rgba(248,243,235,.7); line-height: 1.5; }

/* ── REVIEWS ── */
#reviews { background: var(--cream); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.review-card {
  background: white;
  padding: 2rem;
  border-radius: 3px;
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  position: relative;
  border-bottom: 3px solid transparent;
  transition: border-color .3s, transform .3s;
}
.review-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.review-card::before {
  content: '"';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--gold);
  opacity: .2;
  line-height: 1;
}

.stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; margin-bottom: 1rem; }

.review-text { font-size: .92rem; line-height: 1.75; color: #3d3020; font-style: italic; margin-bottom: 1.2rem; }

.review-author { font-family: 'Lora', serif; font-size: .8rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: .1em; }
.review-source { font-size: .75rem; color: #999; margin-top: 2px; }

/* ── CONTACT ── */
#contact { background: var(--navy); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin: 2rem 0 .5rem;
}
.contact-info h3:first-of-type { margin-top: 0; }
.contact-info p,
.contact-info a { font-size: 1rem; color: rgba(248,243,235,.85); line-height: 1.8; }
.contact-info a:hover { color: var(--gold); }

.contact-form-wrap {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(200,150,62,.2);
  padding: 2.5rem;
}

.form-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--cream); margin-bottom: 1.5rem; }

.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-family: 'Lora', serif;
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: .4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(200,150,62,.25);
  padding: 12px 14px;
  color: var(--cream);
  font-family: 'Lora', serif;
  font-size: .95rem;
  outline: none;
  border-radius: 2px;
  transition: border-color .3s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--navy); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 15px;
  font-family: 'Lora', serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  margin-top: .5rem;
  transition: background .3s;
}
.btn-submit:hover { background: var(--gold-light); }

.form-note { font-size: .75rem; color: rgba(248,243,235,.4); margin-top: .8rem; text-align: center; }

/* ── MAP ── */
#map-section { background: var(--cream-dark); }
.map-embed { width: 100%; height: 400px; border: none; display: block; filter: grayscale(30%) contrast(1.05); }

/* ── FOOTER ── */
#site-footer { background: #0a1220; padding: 3rem 2rem 2rem; text-align: center; }

.footer-logo {
  font-family: 'UnifrakturMaguntia', cursive;
  font-size: 2.5rem;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer-tagline { font-family: 'Playfair Display', serif; font-style: italic; color: rgba(248,243,235,.5); font-size: .9rem; margin-bottom: 2rem; }

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.footer-nav a { color: rgba(248,243,235,.6); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--gold); }

.footer-social { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.social-btn {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(200,150,62,.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: all .3s;
}
.social-btn:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.footer-legal { font-size: .78rem; color: rgba(248,243,235,.3); border-top: 1px solid rgba(255,255,255,.07); padding-top: 1.5rem; }
.footer-legal a { color: rgba(248,243,235,.45); }

/* ── SCROLL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── WORDPRESS STANDARD CLASSES ── */
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .85rem; color: #666; text-align: center; margin-top: .4rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.alignnone { margin: 0 0 1rem; }

/* ── SINGLE POST / PAGE ── */
.entry-content { max-width: 720px; margin: 6rem auto 4rem; padding: 0 2rem; font-size: 1.05rem; line-height: 1.85; color: var(--text); }
.entry-content h1,.entry-content h2,.entry-content h3 { font-family: 'Playfair Display', serif; color: var(--navy); margin: 2rem 0 1rem; }
.entry-content p { margin-bottom: 1.2rem; }
.entry-title { font-family: 'UnifrakturMaguntia', cursive; font-size: clamp(2rem,5vw,3rem); color: var(--navy); text-align: center; margin-bottom: .5rem; }
.entry-meta { text-align: center; font-size: .85rem; color: #888; margin-bottom: 2rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  #site-navigation { display: none; position: fixed; top: 64px; left: 0; right: 0; background: var(--navy); padding: 1.5rem 2rem; border-bottom: 2px solid var(--gold); }
  #site-navigation.open { display: block; }
  #site-navigation ul { flex-direction: column; gap: 1rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .menu-categories { grid-template-columns: 1fr; }
  .spaces-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .hours-inner { grid-template-columns: repeat(3,1fr); }
  .form-row { grid-template-columns: 1fr; }
  .about-image-badge { right: 10px; bottom: -10px; }
}

@media (max-width: 600px) {
  .spaces-grid { grid-template-columns: 1fr; }
  .hours-inner { grid-template-columns: repeat(2,1fr); gap: 1rem; }
  .hero-cta-group { flex-direction: column; align-items: center; }
}
