/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:   #faf6f0;
  --brown:   #5c3d2e;
  --mocha:   #a07850;
  --light:   #ede0d0;
  --dark:    #2e1f14;
  --gray:    #7a6a5a;
  --white:   #ffffff;
  --radius:  12px;
  --max-w:   900px;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.8;
}

a { color: inherit; text-decoration: none; }

/* ===== Header / Hero ===== */
header {
  background: var(--brown);
  color: var(--cream);
  text-align: center;
  padding: 64px 24px 48px;
}

header .badge {
  display: inline-block;
  border: 1px solid var(--light);
  border-radius: 20px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding: 4px 14px;
  margin-bottom: 20px;
  opacity: 0.8;
}

header h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.2;
}

header h1 span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  opacity: 0.75;
  margin-top: 8px;
}

header p.tagline {
  margin-top: 24px;
  font-size: 1.05rem;
  font-style: italic;
  letter-spacing: 0.18em;
  opacity: 0.9;
  position: relative;
  display: inline-block;
}

header p.tagline::before,
header p.tagline::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--light);
  opacity: 0.5;
  margin: 10px auto;
}

/* ===== Nav ===== */
nav {
  background: var(--dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 0;
  list-style: none;
  max-width: var(--max-w);
  margin: 0 auto;
}

nav ul li a {
  display: block;
  color: var(--light);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  padding: 14px 22px;
  transition: background 0.2s, color 0.2s;
}

nav ul li a:hover {
  background: var(--brown);
  color: var(--white);
}

/* ===== Sections ===== */
section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 64px 24px;
}

section + section {
  border-top: 1px solid var(--light);
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--mocha);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  color: var(--brown);
  margin-bottom: 32px;
}

/* ===== About ===== */
.about-body {
  max-width: 640px;
  color: var(--gray);
  font-size: 0.97rem;
}

/* ===== Menu ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.menu-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(92,61,46,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(92,61,46,0.13);
}

.menu-card-img {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: var(--light);
}

.menu-card-body {
  padding: 20px;
}

.menu-card-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 6px;
}

.menu-card-body p {
  font-size: 0.83rem;
  color: var(--gray);
  margin-bottom: 12px;
}

.menu-card-price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mocha);
}

/* ===== Hours ===== */
.hours-table {
  width: 100%;
  max-width: 480px;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.hours-table tr { border-bottom: 1px solid var(--light); }
.hours-table tr:last-child { border-bottom: none; }

.hours-table td {
  padding: 12px 8px;
  color: var(--gray);
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--brown);
  width: 140px;
}

.hours-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--mocha);
}

/* ===== Map ===== */
.map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--light);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.9rem;
  gap: 12px;
  margin-top: 24px;
}

.map-placeholder .map-icon { font-size: 2.5rem; }

.address-block {
  margin-top: 24px;
  font-size: 0.93rem;
  color: var(--gray);
  line-height: 2;
}

/* ===== Contact ===== */
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.93rem;
  color: var(--gray);
}

.contact-list li strong {
  display: inline-block;
  width: 80px;
  color: var(--brown);
}

/* ===== Footer ===== */
footer {
  background: var(--dark);
  color: var(--light);
  text-align: center;
  padding: 32px 24px;
  font-size: 0.8rem;
  opacity: 0.9;
  letter-spacing: 0.06em;
}

/* ===== 404 page ===== */
.not-found {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
  background: var(--brown);
  color: var(--cream);
}

.not-found .big-number {
  font-size: clamp(5rem, 20vw, 10rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1;
  opacity: 0.25;
}

.not-found .cup {
  font-size: 4rem;
  margin: 16px 0;
}

.not-found h2 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 12px;
}

.not-found p {
  font-size: 0.9rem;
  opacity: 0.75;
  max-width: 320px;
  margin-bottom: 32px;
}

.not-found a {
  background: var(--cream);
  color: var(--brown);
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  transition: opacity 0.2s;
}

.not-found a:hover { opacity: 0.8; }

/* ===== Responsive ===== */
@media (max-width: 600px) {
  nav ul { flex-wrap: wrap; }
  nav ul li a { padding: 10px 14px; }
  .menu-grid { grid-template-columns: 1fr; }
}
