/* ==========================================================================
   Saffron & Stone - Restaurant Concept Demo Stylesheet
   Palette: Warm Terracotta (#c2410c), Amber (#d97706), Dark Hearth (#18120e)
   ========================================================================== */

:root {
  --rest-bg: #140d0a;
  --rest-surface: #1f1510;
  --rest-card: #271b15;
  --rest-border: rgba(217, 119, 6, 0.2);
  --rest-border-hover: rgba(249, 115, 22, 0.5);

  --rest-text: #fef3c7;
  --rest-text-muted: #d5b9a5;
  --rest-accent: #f97316;
  --rest-accent-warm: #d97706;

  --font-serif: "Georgia", "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  background-color: var(--rest-bg);
  color: var(--rest-text);
  font-family: var(--font-sans);
  line-height: 1.6;
}

.rest-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.rest-header {
  border-bottom: 1px solid var(--rest-border);
  padding: 1.25rem 0;
  background: rgba(20, 13, 10, 0.95);
  position: sticky;
  top: 38px;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.rest-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rest-brand {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.rest-brand span {
  color: var(--rest-accent);
}

.rest-nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.rest-nav-links a {
  color: var(--rest-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.rest-nav-links a:hover {
  color: var(--rest-accent);
}

/* Hero */
.rest-hero {
  padding: 6rem 0 4rem 0;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
}

.rest-hero-sub {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rest-accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

.rest-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #fff;
}

.rest-hero-desc {
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  color: var(--rest-text-muted);
  font-size: 1.1rem;
}

.btn-rest {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: var(--rest-accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.btn-rest:hover {
  background: #ea580c;
  transform: translateY(-2px);
}

/* Menu Section */
.rest-section {
  padding: 5rem 0;
}

.rest-section-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #fff;
}

.rest-section-desc {
  text-align: center;
  color: var(--rest-text-muted);
  margin-bottom: 3rem;
}

.menu-filter-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.menu-filter-btn {
  background: transparent;
  border: 1px solid var(--rest-border);
  color: var(--rest-text-muted);
  padding: 0.5rem 1.2rem;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.menu-filter-btn.active, .menu-filter-btn:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: var(--rest-accent);
  color: #fff;
}

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

.menu-item-card {
  background: var(--rest-card);
  border: 1px solid var(--rest-border);
  border-radius: 8px;
  padding: 1.5rem;
  transition: border-color 0.2s;
}

.menu-item-card:hover {
  border-color: var(--rest-border-hover);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(217, 119, 6, 0.3);
  padding-bottom: 0.4rem;
}

.menu-item-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
}

.menu-item-price {
  font-weight: 700;
  color: var(--rest-accent);
  font-size: 1.05rem;
}

.menu-item-desc {
  font-size: 0.88rem;
  color: var(--rest-text-muted);
  margin-bottom: 0.75rem;
}

.menu-item-tags {
  display: flex;
  gap: 0.4rem;
}

.tag-badge {
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--rest-text-muted);
}

/* Atmosphere Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-card {
  height: 240px;
  border-radius: 8px;
  background: var(--rest-card);
  border: 1px solid var(--rest-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gallery-card svg {
  color: var(--rest-accent);
  margin-bottom: 1rem;
}

.gallery-card-label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.gallery-card-sub {
  font-size: 0.8rem;
  color: var(--rest-text-muted);
}

/* Reservation Interface */
.reservation-box {
  background: var(--rest-surface);
  border: 1px solid var(--rest-border);
  border-radius: 12px;
  padding: 3rem;
  max-width: 760px;
  margin: 0 auto;
}

.res-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.res-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.res-label {
  font-size: 0.88rem;
  color: var(--rest-text-muted);
  font-weight: 600;
}

.res-input, .res-select {
  padding: 0.75rem 1rem;
  background: #140d0a;
  border: 1px solid var(--rest-border);
  border-radius: 4px;
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}

.res-input:focus, .res-select:focus {
  outline: none;
  border-color: var(--rest-accent);
}

.res-full {
  grid-column: 1 / -1;
}

/* Footer */
.rest-footer {
  border-top: 1px solid var(--rest-border);
  padding: 3rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--rest-text-muted);
}

@media (max-width: 768px) {
  .res-form-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .rest-nav-links {
    display: none;
  }
}
