/* =========================================
   MITTI & MIST — RESERVATIONS.CSS
   Mood: Intimate, conversion-focused, warm form design
   Palette: Split screen — espresso dark + cream light
   ========================================= */

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

:root {
  --cream: #F5F0E8;
  --cream-dark: #EDE5D4;
  --terra: #C4622D;
  --terra-light: #E07A45;
  --espresso: #1A0F0A;
  --espresso-mid: #3D2314;
  --fog: #7A6E68;
  --white: #FDFAF5;
  --gold: #C9A84C;
  --error: #D44;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--espresso); font-family: var(--font-body); overflow-x: hidden; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 3rem;
  transition: background 0.4s, padding 0.3s;
}
.nav.scrolled {
  background: rgba(26,15,10,0.95); backdrop-filter: blur(12px);
  padding: 1rem 3rem;
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  color: var(--white); text-decoration: none;
}
.nav-logo span { color: var(--terra); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: 0.78rem; color: rgba(255,255,255,0.7); text-decoration: none;
  letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--terra-light); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--white); }

/* ── SPLIT WRAPPER ── */
.res-wrapper {
  display: grid; grid-template-columns: 1fr 1.2fr;
  min-height: 100vh;
}

/* ── LEFT PANEL ── */
.res-left {
  position: sticky; top: 0; height: 100vh;
  background: var(--espresso); overflow: hidden;
  display: flex; align-items: flex-end;
}
.rl-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #1A0F0A 0%, #3D2314 50%, #C4622D 100%);
}
.rl-gradient::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(196,98,45,0.5) 0%, transparent 60%);
}
.rl-content {
  position: relative; z-index: 2;
  padding: 2rem 3rem 3rem;
  animation: fadeUp 1s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.rl-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terra-light); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.75rem;
}
.rl-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--terra-light); }
.rl-content h1 {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300; line-height: 1.05; color: var(--white); margin-bottom: 2.5rem;
}
.rl-content h1 em { font-style: italic; color: var(--terra-light); }
.rl-details { margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.rl-detail-item {
  display: flex; align-items: flex-start; gap: 0.85rem;
}
.rl-detail-item i { color: var(--terra); margin-top: 0.15rem; font-size: 0.9rem; flex-shrink: 0; }
.rl-detail-item span {
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); display: block; margin-bottom: 0.15rem;
}
.rl-detail-item p { font-size: 0.875rem; color: rgba(255,255,255,0.65); line-height: 1.55; }
.rl-detail-item a { color: var(--terra-light); text-decoration: none; }
.rl-trust { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; }
.lrt-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-bottom: 0.5rem;
}
.lrt-item .fa-star { color: var(--gold); font-size: 0.7rem; }
.rl-trust p {
  font-family: var(--font-display); font-style: italic;
  font-size: 0.95rem; color: rgba(255,255,255,0.4); line-height: 1.5;
}

/* ── RIGHT PANEL ── */
.res-right {
  padding: 120px 4rem 5rem;
  background: var(--white); overflow-y: auto;
}

/* Form header */
.form-header { margin-bottom: 2.5rem; }
.fh-step {
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 0.75rem; display: block;
}
.form-header h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300; color: var(--espresso); margin-bottom: 0.5rem;
}
.fh-note { font-size: 0.85rem; color: var(--fog); }

/* Form sections */
.form-section { margin-bottom: 2.5rem; }
.fs-title {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 400;
  color: var(--espresso); margin-bottom: 1.25rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--cream-dark);
}
.fs-num {
  font-family: var(--font-display); font-size: 1rem; color: var(--terra);
  font-weight: 400;
}
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group-full { grid-column: 1 / -1; }
label {
  font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fog); font-weight: 500;
}
.req { color: var(--terra); }
input, select, textarea {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--espresso);
  background: var(--cream); border: 1px solid var(--cream-dark); border-radius: 2px;
  padding: 0.75rem 1rem; outline: none; transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--terra); box-shadow: 0 0 0 3px rgba(196,98,45,0.1);
}
textarea { resize: vertical; min-height: 90px; }
select { cursor: pointer; appearance: none;
  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='%237A6E68' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}

/* Guest selector */
.guest-selector {
  display: flex; align-items: center; gap: 1rem;
  background: var(--cream); border: 1px solid var(--cream-dark);
  border-radius: 2px; padding: 0.5rem 1rem; width: fit-content;
}
.gs-btn {
  background: none; border: none; color: var(--espresso-mid); cursor: pointer;
  font-size: 0.9rem; width: 28px; height: 28px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%; transition: background 0.2s, color 0.2s;
}
.gs-btn:hover { background: var(--terra); color: var(--white); }
.gs-count {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 400;
  color: var(--espresso); min-width: 2ch; text-align: center;
}

/* Seating options */
.seating-opts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem;
  margin-top: 0.5rem;
}
.seat-opt { cursor: pointer; }
.seat-opt input { display: none; }
.seat-card {
  padding: 1.25rem 1rem; border: 1px solid var(--cream-dark); border-radius: 2px;
  text-align: center; transition: all 0.3s; background: var(--cream);
}
.seat-card i { font-size: 1.2rem; color: var(--fog); margin-bottom: 0.5rem; display: block; }
.seat-card span {
  display: block; font-size: 0.85rem; font-weight: 500; color: var(--espresso); margin-bottom: 0.2rem;
}
.seat-card p { font-size: 0.75rem; color: var(--fog); }
.seat-card.selected { border-color: var(--terra); background: rgba(196,98,45,0.05); }
.seat-card.selected i { color: var(--terra); }
.seat-opt:hover .seat-card { border-color: var(--terra-light); }

/* Form footer */
.form-footer { border-top: 1px solid var(--cream-dark); padding-top: 2rem; }
.btn-submit {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--terra); color: var(--white); border: none;
  padding: 1rem 2.5rem; border-radius: 2px; cursor: pointer;
  font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 500;
  transition: background 0.3s, transform 0.3s; margin-bottom: 1rem;
}
.btn-submit:hover { background: var(--espresso); transform: translateY(-2px); }
.form-disclaimer { font-size: 0.78rem; color: var(--fog); display: flex; align-items: center; gap: 0.4rem; }
.form-disclaimer::before { content: '\f3c5'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--terra); font-size: 0.7rem; }

/* Success State */
.res-success {
  flex-direction: column; align-items: flex-start; gap: 1rem;
  padding: 2rem 0;
  animation: fadeUp 0.6s ease both;
}
.success-icon {
  font-size: 3rem; color: #4A8B4A; margin-bottom: 0.5rem;
}
.res-success h2 {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 300;
  color: var(--espresso);
}
.res-success p { font-size: 1rem; color: var(--fog); line-height: 1.7; max-width: 420px; }
.res-success a { color: var(--terra); }
.success-sub { font-size: 0.875rem !important; }
.btn-explore {
  display: inline-block; background: var(--cream); color: var(--espresso);
  padding: 0.85rem 2rem; border-radius: 2px; text-decoration: none;
  font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--cream-dark); margin-top: 0.5rem;
  transition: background 0.3s;
}
.btn-explore:hover { background: var(--cream-dark); }

/* ── FOOTER ── */
.footer { background: var(--espresso); color: rgba(245,240,232,0.6); }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; padding: 4rem 4rem 3rem;
}
.footer-logo {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  color: var(--white); margin-bottom: 0.75rem;
}
.footer-logo span { color: var(--terra); }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: rgba(245,240,232,0.5); text-decoration: none; transition: all 0.3s; font-size: 0.8rem;
}
.footer-social a:hover { border-color: var(--terra); color: var(--terra); }
.footer-links h4, .footer-contact h4 {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white); margin-bottom: 1rem; font-weight: 500;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  color: rgba(245,240,232,0.5); text-decoration: none; font-size: 0.85rem; transition: color 0.3s;
}
.footer-links a:hover { color: var(--terra); }
.footer-contact p, .footer-contact a {
  font-size: 0.85rem; color: rgba(245,240,232,0.5); line-height: 1.7;
  text-decoration: none; display: block;
}
.footer-contact a:hover { color: var(--terra); }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding: 1.25rem 4rem; border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.78rem; color: rgba(245,240,232,0.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .res-wrapper { grid-template-columns: 1fr; }
  .res-left { position: relative; height: auto; min-height: 350px; }
  .rl-content { padding: 4rem 2rem 3rem; }
  .res-right { padding: 3rem 2rem; }
  .nav { padding: 1rem 2rem; }
  .seating-opts { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; padding: 3rem 2rem; }
  .footer-bottom { padding: 1rem 2rem; flex-direction: column; gap: 0.4rem; }
}
@media (max-width: 600px) {
  .nav { padding: 0.85rem 1.25rem; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; inset: 0;
    background: var(--espresso); flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem; transform: translateX(100%); transition: transform 0.4s; list-style: none;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; color: var(--white) !important; }
  .form-row { grid-template-columns: 1fr; }
  .res-right { padding: 2rem 1.25rem; }
}
