/* spoe:theme */
:root {
  --bg: #fcf9f2;
  --fg: #5c3e28;
  --card: #ffffff;
  --muted: #e8dcc9;
  --muted-fg: #8b735d;
  --border: #d4c5ac;
  --primary: #a67c52;
  --on-primary: #ffffff;
  --radius: 8px;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
}

/* spoe:fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');

/* Base Styles */
*, *::before, *::after { box-sizing: border-box; }

html { 
  -webkit-text-size-adjust: 100%; 
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  line-height: 1.6;
  color: var(--fg);
  background-color: var(--bg);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 2.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--fg);
}

/* Header */
.header {
  background-color: var(--card);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
}

.logo h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin: 0;
  color: var(--primary);
}

.nav ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav a {
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 5rem 0;
  background: linear-gradient(to right, #f5efe3 50%, #fcf9f2 50%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  padding-right: 1rem;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--muted-fg);
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 4px 12px rgba(166, 124, 82, 0.3);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #8a6642;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(166, 124, 82, 0.4);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Menu Section */
.menu-section {
  padding: 6rem 0;
  background-color: var(--card);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.menu-item {
  background-color: var(--bg);
  padding: 1.75rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.menu-item h3 {
  margin-bottom: 0.25rem;
}

.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

/* Story Section */
.story-section {
  padding: 6rem 0;
  background-color: var(--bg);
}

.story-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-content {
  padding-right: 1rem;
}

.story-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Hours Section */
.hours-section {
  padding: 6rem 0;
  background-color: var(--card);
  text-align: center;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 400px;
  text-align: left;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.hours-list li:first-child {
  border-top: 1px solid var(--border);
}

.day {
  font-weight: 600;
}

.time {
  color: var(--muted-fg);
}

/* Contact Section */
.contact-section {
  padding: 6rem 0;
  background-color: var(--bg);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--card);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(166, 124, 82, 0.2);
}

.btn-secondary {
  background-color: var(--primary);
  color: var(--on-primary);
  width: 100%;
  padding: 1rem;
  font-size: 1.125rem;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: #8a6642;
}

/* Footer */
.footer {
  background-color: var(--fg);
  color: var(--bg);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-info h3 {
  color: var(--on-primary);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--on-primary);
}

.copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero .container,
  .story-section .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-content,
  .story-content {
    padding-right: 0;
    text-align: center;
  }
  
  .subtitle {
    font-size: 1.125rem;
  }
  
  .hero {
    background: linear-gradient(to bottom, #f5efe3 50%, #fcf9f2 50%);
  }
  
  .nav ul {
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav ul {
    gap: 1rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-links {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .contact-form {
    padding: 1.75rem;
  }
}