:root {
  --bg-color: #faf6f0;
  --card-bg: #ffffff;
  --text-dark: #2a2421;
  --text-muted: #6e655f;
  --border-color: #eee9e0;
  --terracotta: #c2593f;
  --terracotta-light: #fbeee9;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  padding: 40px 20px;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  line-height: 1.2;
}

.bento-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 20px;
}

/* Base Bento Card */
.bento-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(42, 36, 33, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(42, 36, 33, 0.06);
  border-color: #dfd8cb;
}

/* Card Column/Row Spans */
.col-span-2 {
  grid-column: span 2;
}

.row-span-2 {
  grid-row: span 2;
}

/* Header/Brand Card */
.card-brand {
  background-color: var(--text-dark);
  color: #fff;
  border: none;
}

.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.tagline {
  font-size: 0.95rem;
  color: #c5b9b2;
  margin-top: 12px;
}

/* Nav Card */
.card-nav {
  justify-content: center;
  align-items: center;
}

.card-nav .nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  width: 100%;
}

.card-nav .nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.2s;
}

.card-nav .nav-links a:hover {
  color: var(--terracotta);
}

/* Hero Card */
.card-hero {
  background-color: var(--terracotta-light);
  border-color: transparent;
  justify-content: center;
  gap: 16px;
}

.hero-title {
  font-size: 2.8rem;
  color: var(--text-dark);
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 90%;
}

/* Buttons */
.btn {
  display: inline-block;
  align-self: flex-start;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-terracotta {
  background-color: var(--terracotta);
  color: #fff;
}

.btn-terracotta:hover {
  background-color: #a8462f;
  transform: scale(1.02);
}

.btn-outline {
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
}

.btn-outline:hover {
  background-color: var(--text-dark);
  color: #fff;
}

/* Image Cards */
.card-img {
  padding: 0;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-img:hover img {
  transform: scale(1.05);
}

/* Hours Card */
.card-hours {
  gap: 16px;
}

.card-hours h3 {
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--terracotta);
}

.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 500;
}

.sold-out-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Philosophy Card */
.card-philosophy {
  background-color: #efece5;
  border: none;
}

.philosophy-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  justify-content: space-between;
}

.card-badge {
  align-self: flex-start;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.card-philosophy h2 {
  font-size: 2.2rem;
}

.card-philosophy p {
  color: var(--text-muted);
  font-size: 1rem;
}

.grain-stat {
  margin-top: 20px;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 800;
  display: block;
  line-height: 1;
  color: var(--terracotta);
}

.stat-lbl {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Menu Card */
.card-menu h2 {
  font-size: 2rem;
  margin-bottom: 24px;
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.menu-item {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.menu-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.item-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
}

.item-price {
  color: var(--terracotta);
}

.item-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Visit Card */
.card-visit {
  background-color: var(--card-bg);
}

.visit-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.visit-info h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.visit-info p {
  color: var(--text-muted);
}

.visit-info .address {
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 12px;
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 60px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* Tablet Layout */
@media (max-width: 900px) {
  .bento-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .col-span-2 {
    grid-column: span 2;
  }
  .row-span-2 {
    grid-row: span 1;
  }
  .card-philosophy .philosophy-content {
    gap: 15px;
  }
}

/* Mobile Layout */
@media (max-width: 600px) {
  .bento-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .col-span-2 {
    grid-column: span 1;
  }
  .row-span-2 {
    grid-row: span 1;
  }
  body {
    padding: 20px 12px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .visit-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
