/* ===================================================================
   EmberPlate — Interior Pages & Nav
   Extends theme.css. Does NOT duplicate root variables.
   =================================================================== */

/* ---- NAV ---- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(2rem, 6vw, 8rem);
  background: rgba(12, 10, 9, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.nav-logo:hover {
  color: var(--accent-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--fg);
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  text-decoration: none;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--accent);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}

/* Mobile toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--fg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile drawer */
.nav-mobile-drawer {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
  padding: 2rem clamp(2rem, 6vw, 8rem);
  flex-direction: column;
  gap: 1.5rem;
}

.nav-mobile-drawer.open {
  display: flex;
}

.nav-mobile-drawer a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-mobile-drawer a:hover {
  color: var(--fg);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* Offset body for fixed nav */
body {
  padding-top: 64px;
}

/* ---- SHARED INTERIOR PAGE STYLES ---- */
.inner-page {
  min-height: 100vh;
}

.page-header {
  padding: clamp(5rem, 12vh, 9rem) clamp(2rem, 6vw, 8rem) clamp(4rem, 8vh, 6rem);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 20% 50%, rgba(196, 122, 58, 0.06) 0%, transparent 60%),
    var(--bg);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.page-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--fg-muted);
  max-width: 580px;
  line-height: 1.7;
}

/* ---- BUTTON STYLES ---- */
.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  text-decoration: none;
  padding: 0.9rem 2rem;
  border: 1px solid var(--accent);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}

.btn-secondary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: transparent;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border: 1px solid var(--accent);
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--accent-glow);
}

.btn-large {
  padding: 1.1rem 2.8rem;
  font-size: 0.8rem;
}

/* ---- SECTION HEADINGS ---- */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subheading {
  font-size: 1rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ---- PAGE CTA SECTION ---- */
.page-cta-section {
  padding: clamp(6rem, 12vh, 10rem) clamp(2rem, 6vw, 8rem);
  border-top: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 50% 100%, rgba(196, 122, 58, 0.06) 0%, transparent 60%),
    var(--bg);
  text-align: center;
}

.page-cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.page-cta-section p {
  font-size: 1.05rem;
  color: var(--fg-muted);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ================================================================
   MENU PAGE
   ================================================================ */

/* ---- PRICING ---- */
.pricing-section {
  padding: clamp(5rem, 10vh, 8rem) clamp(2rem, 6vw, 8rem);
  border-bottom: 1px solid var(--border);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 3rem;
}

.pricing-card {
  background: var(--bg);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.3s ease;
}

.pricing-card:hover {
  background: var(--bg-warm);
}

.pricing-card--featured {
  background: var(--bg-warm);
}

.pricing-badge {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  display: inline-block;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.pricing-card-header {
  margin-bottom: 1.25rem;
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--accent-light);
  line-height: 1;
}

.pricing-per {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.pricing-features {
  list-style: none;
  margin: 0 0 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.pricing-features li {
  font-size: 0.875rem;
  color: var(--fg-muted);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.7rem;
  top: 0.2em;
}

/* ---- SAMPLE MENU ---- */
.sample-menu-section {
  padding: clamp(5rem, 10vh, 8rem) clamp(2rem, 6vw, 8rem);
  border-bottom: 1px solid var(--border);
}

.menu-days {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 3rem;
}

.menu-day {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.menu-day:last-child {
  border-bottom: none;
}

.day-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.3rem;
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.menu-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.menu-item-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--fg);
}

.menu-item-note {
  font-size: 0.875rem;
  color: var(--fg-muted);
  font-style: italic;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .menu-day {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ================================================================
   SERVICES PAGE
   ================================================================ */

.service-block {
  padding: clamp(5rem, 10vh, 8rem) clamp(2rem, 6vw, 8rem);
  border-bottom: 1px solid var(--border);
}

.service-block--alt {
  background: var(--bg-warm);
}

.service-block-inner {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 3rem;
  max-width: 900px;
}

.service-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(196, 122, 58, 0.15);
  line-height: 1;
  padding-top: 0.5rem;
}

.service-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.service-desc {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 2rem;
}

.service-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: rgba(168, 158, 148, 0.04);
}

.service-detail-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  align-items: baseline;
  font-size: 0.875rem;
}

.detail-label {
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--fg-muted);
  text-transform: uppercase;
  font-size: 0.7rem;
}

.detail-value {
  color: var(--fg);
  line-height: 1.5;
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  padding: clamp(5rem, 10vh, 8rem) clamp(2rem, 6vw, 8rem);
  border-bottom: 1px solid var(--border);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 3rem;
}

.step {
  background: var(--bg);
  padding: 2.5rem;
  transition: background 0.3s ease;
}

.step:hover {
  background: var(--bg-warm);
}

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(196, 122, 58, 0.2);
  display: block;
  margin-bottom: 1rem;
  line-height: 1;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.step p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .service-block-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .service-number {
    font-size: 3rem;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-detail-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (max-width: 600px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   BOOK PAGE
   ================================================================ */

.booking-section {
  padding: clamp(4rem, 8vh, 7rem) clamp(2rem, 6vw, 8rem);
}

.booking-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

/* ---- FORM ---- */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

.form-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.form-optional {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.7rem;
  color: rgba(168, 158, 148, 0.6);
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--fg);
  background: rgba(168, 158, 148, 0.05);
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(168, 158, 148, 0.4);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  background: rgba(196, 122, 58, 0.04);
}

/* Custom select arrow */
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a89e94' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-select option {
  background: #1a1412;
  color: var(--fg);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Date input — fix browser theming in dark mode */
.form-input[type="date"] {
  color-scheme: dark;
}

/* Submit button */
.btn-submit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  width: fit-content;
  border: none;
  font-size: 0.8rem;
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-arrow {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.btn-submit:hover .btn-arrow {
  transform: translateX(4px);
}

/* Success / Error states */
.form-success {
  text-align: center;
  padding: 4rem 2rem;
  border: 1px solid var(--border);
}

.success-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.form-success p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.form-error {
  padding: 1rem 1.25rem;
  border: 1px solid rgba(196, 122, 58, 0.3);
  background: rgba(196, 122, 58, 0.05);
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.form-error a {
  color: var(--accent-light);
}

/* ---- SIDEBAR ---- */
.booking-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-block {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-bottom: none;
}

.sidebar-block:last-of-type {
  border-bottom: 1px solid var(--border);
}

.sidebar-block h3 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.sidebar-block p {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

.sidebar-block strong {
  color: var(--fg);
  font-weight: 500;
}

.sidebar-link {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--accent-light);
  margin-top: 0.5rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-link:hover {
  color: var(--fg);
}

.sidebar-quote {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-top: none;
  background: var(--bg-warm);
}

.sidebar-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--fg-muted);
  line-height: 1.6;
  border: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 900px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-sidebar {
    position: static;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
