/*
Theme Name: Smokees
Theme URI: https://smokees.ch
Author: Erich Emmenegger
Author URI: https://smokees.ch
Description: Custom BBQ Catering Theme für smokees.ch
Version: 1.0
License: Private
Text Domain: smokees
*/
/* ── WORDPRESS RESET ── */

/* ── HERO FULLWIDTH FIX ── */
html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.hero {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 10rem 4rem 6rem !important;
}

.smokees-section {
  width: 100% !important;
  box-sizing: border-box !important;
}


.site, .site-content, .site-main,
#page, #content, #main,
.entry-content, .entry-header,
.wp-block-group, .wp-block-cover,
body.page .entry-content,
body.page .entry-header {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

body.page {
  background: var(--bg) !important;
}

/* Remove WordPress default margins/padding from hero and sections */
.hero, .smokees-section {
  text-align: left !important;
}

.hero h1, .hero-eyebrow, .hero-sub, .hero-cta {
  text-align: left !important;
}

/* Prevent WordPress from injecting margins */
body.page-template-front-page .hentry,
body.page .hentry {
  margin: 0 !important;
  padding: 0 !important;
}



:root {
  --bg:      #1a1208;
  --surface: #231a0c;
  --card:    #2c200f;
  --accent:  #c8622a;
  --gold:    #d4a847;
  --text:    #f0e6d3;
  --muted:   #9e8a70;
  --border:  #3d2f1a;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  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.6;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem;
  background: linear-gradient(to bottom, rgba(26,18,8,0.95), transparent);
  backdrop-filter: blur(4px);
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-decoration: none;
}
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 10rem 4rem 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(200,98,42,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(212,168,71,0.10) 0%, transparent 60%);
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease both;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--text);
  max-width: 14ch;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  margin-top: 2rem;
  max-width: 45ch;
  color: var(--muted);
  font-size: 1.1rem;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-cta {
  margin-top: 3rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s ease both;
}
.hero-bg-text {
  position: absolute;
  right: -2rem;
  bottom: -3rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 900;
  color: rgba(200,98,42,0.05);
  pointer-events: none;
  line-height: 1;
  white-space: nowrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 2px;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-family: 'Lato', sans-serif;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #d97436; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(200,98,42,0.4); }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid var(--gold); }
.btn-outline:hover { background: rgba(212,168,71,0.1); transform: translateY(-2px); }

/* ── DIVIDER ── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* ── SECTIONS ── */
.smokees-section {
  padding: 7rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.section-body { color: var(--muted); max-width: 60ch; font-size: 1rem; }

/* ── PRODUCT CARDS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 3px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent), var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 3;
}
.product-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.product-card:hover::before { opacity: 1; }
.product-card .card-hover-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform 0.5s ease;
}
.product-card:hover .card-hover-img { transform: scale(1.05); }
.product-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,5,0,0.93) 30%, rgba(10,5,0,0.3) 100%);
  z-index: 1;
}
.product-card .card-content { position: relative; z-index: 2; padding: 1.8rem; }
.product-name { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--text); }
.product-desc { color: var(--muted); font-size: 0.92rem; }

/* ── ABOUT STATS ── */
.about-stats { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.3rem; }

/* ── PRICE BANNER ── */
.price-banner {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 3rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}
.price-banner::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, var(--accent), var(--gold));
}
.price-text h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-bottom: 0.5rem; }
.price-text p { color: var(--muted); font-size: 0.95rem; max-width: 45ch; }

/* ── CONTACT ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  color: var(--text);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.3s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 130px; }

/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--gold); }
.footer-copy { font-size: 0.8rem; color: var(--muted); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links button {
  background: none; border: none;
  color: var(--muted); font-size: 0.8rem;
  cursor: pointer; font-family: 'Lato', sans-serif;
  padding: 0; transition: color 0.2s;
}
.footer-links button:hover { color: var(--gold); }

/* ── MODAL ── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10,6,2,0.88);
  backdrop-filter: blur(6px);
  z-index: 1000;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem 1rem;
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  max-width: 720px; width: 100%;
  margin: auto;
  animation: fadeUp 0.35s ease both;
}
.modal-header {
  padding: 2rem 2.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.modal-header h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--text); }
.modal-close { background: none; border: none; color: var(--muted); font-size: 1.6rem; cursor: pointer; line-height: 1; transition: color 0.2s; padding: 0.2rem 0.5rem; }
.modal-close:hover { color: var(--accent); }
.modal-tabs { display: flex; border-bottom: 1px solid var(--border); }
.modal-tab {
  padding: 0.9rem 2rem; font-size: 0.78rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); cursor: pointer;
  border: none; background: none; font-family: 'Lato', sans-serif;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}
.modal-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.modal-body { padding: 2rem 2.5rem 2.5rem; color: var(--muted); font-size: 0.95rem; line-height: 1.8; }
.modal-body h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--text); margin: 1.8rem 0 0.6rem; }
.modal-body h3:first-child { margin-top: 0; }
.modal-body p { margin-bottom: 0.8rem; }
.modal-body a { color: var(--accent); text-decoration: none; }
.modal-body a:hover { text-decoration: underline; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 2000;
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 1.2rem 3rem;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 1.5rem; flex-wrap: wrap;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.4);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-text { font-size: 0.88rem; color: var(--muted); max-width: 70ch; line-height: 1.6; }
.cookie-banner-text strong { color: var(--text); }
.cookie-banner-text a { color: var(--accent); text-decoration: none; }
.cookie-banner-btn {
  background: var(--accent); color: #fff; border: none;
  padding: 0.7rem 1.8rem; border-radius: 2px;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 700; font-family: 'Lato', sans-serif;
  cursor: pointer; white-space: nowrap; transition: background 0.2s; flex-shrink: 0;
}
.cookie-banner-btn:hover { background: #d97436; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── HAMBURGER ── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; z-index: 200; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 1.2rem 2rem; }
  .hero { padding: 9rem 2rem 5rem; }
  .smokees-section { padding: 5rem 2rem; }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .hamburger { display: flex; }
  .nav-links {
    display: flex !important;
    flex-direction: column;
    position: fixed !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    width: 100vw !important; height: 100vh !important;
    margin: 0 !important; padding: 0 !important;
    background: rgba(20,12,4,0.98);
    backdrop-filter: blur(8px);
    justify-content: center; align-items: center;
    gap: 3rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 150; list-style: none;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; letter-spacing: 0.2em; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .smokees-section { padding: 3.5rem 1.5rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .price-banner { padding: 1.8rem; flex-direction: column; align-items: flex-start; }
  .price-banner .btn { width: 100%; text-align: center; }
  .site-footer { padding: 2rem 1.5rem; flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .modal-header { padding: 1.5rem; }
  .modal-body { padding: 1.5rem; }
  .cookie-banner { padding: 1.2rem 1.5rem; flex-direction: column; align-items: flex-start; }
  .cookie-banner-btn { width: 100%; text-align: center; }
}
@media (max-width: 420px) {
  .products-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.8rem; }
  .hero-bg-text { display: none; }
}

/* ── HERO PADDING FIX für WordPress ── */
body .hero,
body.smokees-page .hero,
.hero {
  padding-top: 10rem !important;
  padding-bottom: 6rem !important;
  padding-left: 4rem !important;
  padding-right: 4rem !important;
}

@media (max-width: 1024px) {
  body .hero { padding-left: 2rem !important; padding-right: 2rem !important; }
}
@media (max-width: 768px) {
  body .hero { padding-left: 1.5rem !important; padding-right: 1.5rem !important; padding-top: 7rem !important; }
}
