/* Bauhaus Kitchen — Design Tokens */
:root {
  --bg: #f5f0e8;
  --text: #1a1a1a;
  --accent-yellow: #ffcc00;
  --accent-red: #e63b2e;
  --accent-blue: #0055ff;
  --border: 2px solid #1a1a1a;
  --border-thick: 3px solid #1a1a1a;
  --shadow: 4px 4px 0 #1a1a1a;
  --shadow-lg: 6px 6px 0 #1a1a1a;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; }

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
section { padding: 4rem 0; }

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: var(--border-thick);
  padding: 0.75rem 0;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--text);
  color: var(--bg);
  padding: 0.2rem 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 0.3rem 0;
  border-bottom: 3px solid transparent;
  transition: border-color 0.15s;
}
.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--text);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text);
  margin: 5px 0;
  transition: transform 0.2s;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 0.8rem 1.8rem;
  border: var(--border-thick);
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  letter-spacing: 0.03em;
}
.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--bg);
  color: var(--text);
}
.btn-accent {
  background: var(--accent-yellow);
  color: var(--text);
  border-color: var(--text);
}
.btn-accent:hover {
  background: var(--text);
  color: var(--accent-yellow);
}
.btn-red {
  background: var(--accent-red);
  color: #fff;
  border-color: var(--text);
}
.btn-red:hover {
  background: var(--text);
  color: var(--accent-red);
}
.btn-block {
  display: block;
  width: 100%;
}

/* Cards */
.card {
  background: var(--bg);
  border: var(--border-thick);
  box-shadow: var(--shadow);
  padding: 0;
  transition: transform 0.15s;
}
.card:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--text);
}
.card-img {
  width: 100%;
  height: 200px;
  background: #ddd;
  border-bottom: var(--border-thick);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  color: #999;
  font-size: 0.9rem;
}
.card-body {
  padding: 1.2rem;
}
.card-body h3 { margin-bottom: 0.3rem; }
.card-body .price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}
.form-input {
  width: 100%;
  padding: 0.7rem 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: none;
  border-bottom: 3px solid var(--text);
  background: transparent;
  outline: none;
}
.form-input:focus {
  border-bottom-color: var(--accent-blue);
}
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231a1a1a' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  padding-right: 2rem;
}
textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

/* Table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  border: var(--border-thick);
}
.hours-table th,
.hours-table td {
  padding: 0.8rem 1.2rem;
  text-align: left;
  border: var(--border);
}
.hours-table th {
  font-family: var(--font-head);
  text-transform: uppercase;
  background: var(--text);
  color: var(--bg);
}

/* Tags */
.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border: 2px solid var(--text);
  text-transform: uppercase;
  margin-right: 0.3rem;
}
.tag-v { background: var(--accent-yellow); }
.tag-gf { background: #c8e6c9; }
.tag-spicy { background: var(--accent-red); color: #fff; }
.tag-nut { background: #ffe0b2; }

/* Grid */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Hero */
.hero {
  padding-top: 8rem;
  padding-bottom: 4rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.hero h1 { margin-bottom: 1rem; }
.hero p { font-size: 1.15rem; max-width: 500px; margin-bottom: 2rem; }
.hero-accent {
  display: inline-block;
  background: var(--accent-yellow);
  padding: 0.2rem 0.5rem;
  font-style: italic;
  text-transform: none;
  font-family: var(--font-body);
}

/* Footer */
.footer {
  background: var(--text);
  color: var(--bg);
  padding: 3rem 0 1.5rem;
  border-top: var(--border-thick);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer h4 {
  margin-bottom: 1rem;
  color: var(--accent-yellow);
}
.footer a {
  display: block;
  margin-bottom: 0.4rem;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.footer a:hover { opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(245,240,232,0.2);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.6;
}

/* Menu */
.menu-tabs {
  display: flex;
  gap: 0;
  border: var(--border-thick);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.menu-tab {
  flex: 1;
  min-width: 120px;
  padding: 1rem;
  background: transparent;
  border: none;
  border-right: var(--border);
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.15s;
}
.menu-tab:last-child { border-right: none; }
.menu-tab:hover { background: #e8e3db; }
.menu-tab.active {
  background: var(--text);
  color: var(--bg);
}
.menu-category { display: none; }
.menu-category.active { display: block; }
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1.2rem;
  border: var(--border);
  margin-bottom: 1rem;
}
.menu-item-info { flex: 1; margin-right: 1rem; }
.menu-item-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.menu-item-desc {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-bottom: 0.4rem;
}
.menu-item-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
}

/* Map Placeholder */
.map-placeholder {
  width: 100%;
  height: 300px;
  background: #e0dbd3;
  border: var(--border-thick);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  color: #999;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
}
.contact-info-block {
  border: var(--border-thick);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.contact-info-block h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

/* Body Offset */
body { padding-top: 60px; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1rem 1.5rem;
    border-bottom: var(--border-thick);
    gap: 0.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .menu-tabs { flex-direction: column; }
  .menu-tab { border-right: none; border-bottom: var(--border); }
  .menu-tab:last-child { border-bottom: none; }
  .hero { min-height: auto; padding-top: 7rem; padding-bottom: 3rem; }
}

/* Utilities */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.accent { color: var(--accent-red); }
.bg-yellow { background: var(--accent-yellow); }
.bg-red { background: var(--accent-red); }
.bg-blue { background: var(--accent-blue); }
.bg-text { background: var(--text); color: var(--bg); }
.border-top { border-top: var(--border-thick); }
