/**
 * Seven Feet Travel — sandbox visual preview (v2)
 * CSS only. Remove the <link> in index.html to restore default styling.
 * Fonts loaded in index.html (Cormorant Garamond + Inter) to match sevenfeettravel.com.
 */

:root {
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  --background: #f5f4f1;
  --foreground: #111111;
  --card: #ffffff;
  --card-foreground: #111111;
  --primary: #0d0d0d;
  --primary-foreground: #ffffff;
  --secondary: #ebeae6;
  --secondary-foreground: #1e1e1e;
  --muted: #ebeae6;
  --muted-foreground: #555555;
  --accent: #c8a84b;
  --accent-foreground: #0d0d0d;
  --border: #ddd9d0;
  --input: #ddd9d0;
  --ring: #c8a84b;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.06);

  --bg: var(--background);
  --surface: var(--card);
  --surface-2: var(--muted);
  --border-strong: #c8c4ba;
  --text-1: var(--foreground);
  --text-2: var(--muted-foreground);
  --text-3: #6f6f68;
  --ink: var(--primary);
  --gold: #c8a84b;
  --gold-light: #b5922e;
  --gold-bg: rgba(200, 168, 75, 0.12);
  --gold-border: rgba(200, 168, 75, 0.45);
}

body {
  font-weight: 400;
}

input,
button,
.date-row,
.search-box input {
  font-weight: 400;
}

/* ── Layout ─────────────────────────────────────────────── */
.container {
  max-width: 1040px;
}

/* ── Nav (68px, dark) ───────────────────────────────────── */
.nav {
  background: rgba(13, 13, 13, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #2a2a2a;
}

.nav-inner {
  height: 68px;
}

.nav-logo {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.nav-logo em {
  font-style: italic;
  color: #c8a84b;
}

.nav-link {
  color: rgba(255, 255, 255, 0.66);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #c8a84b;
}

.nav-badge {
  background: rgba(255, 255, 255, 0.06) !important;
  color: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(255, 255, 255, 0.14) !important;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero-section-wrap {
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(0, 0, 0, 0.2) 100%),
    url('hero-travel.jpg') center 40% / cover no-repeat;
}

.hero {
  padding: 72px 24px 88px;
}

.hero-eyebrow {
  color: #c8a84b;
  letter-spacing: 0.24em;
  font-weight: 500;
}

.hero-headline {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.hero-headline em {
  color: #c8a84b;
  font-style: italic;
}

.hero-value {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

.hero-note {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 400;
}

/* ── Layout toggle ──────────────────────────────────────── */
.step-layout-label {
  color: #555;
  font-weight: 600;
}

.step-layout-btn {
  font-weight: 500;
}

.step-layout-btn.on {
  background: #0d0d0d;
  color: #fff;
}

.search-helper,
.search-meta {
  color: #555;
  font-weight: 400;
}

.search-box input::placeholder {
  color: #666;
}

/* ── Main card ──────────────────────────────────────────── */
.page {
  background: var(--background);
}

.main-card {
  border-radius: 14px;
  border-color: #ddd9d0;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.08);
}

/* Section labels — Seven Feet .lbl style */
.section-label {
  margin-bottom: 18px;
}

.section-num {
  background: #c8a84b;
  color: #0d0d0d;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #6d5a2a;
}


.section-subtitle {
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* ── Search & dates ─────────────────────────────────────── */
.search-box:focus-within,
.date-row:focus-within {
  border-color: #c8a84b;
  box-shadow: 0 0 0 3px rgba(200, 168, 75, 0.18);
}

.search-item-stars,
.hotel-td-stars {
  color: #c8a84b !important;
}

.city-btn:hover {
  background: rgba(200, 168, 75, 0.12);
}

.city-browse-header,
.recents-header,
.rtc-toolbar {
  color: #8a7040;
  letter-spacing: 0.18em;
}

.hotel-chip {
  border-radius: 40px;
}

/* ── Calendar ───────────────────────────────────────────── */
.drp-day.drp-start,
.drp-day.drp-end {
  background: #0d0d0d !important;
}

/* ── CTA ────────────────────────────────────────────────── */
.compare-btn {
  background: #c8a84b;
  color: #0d0d0d;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  height: 48px;
}

.compare-btn:hover:not(:disabled) {
  background: #b5922e;
  opacity: 1;
  transform: translateY(-1px);
}

.compare-btn:disabled {
  background: var(--secondary);
  color: var(--muted-foreground);
  opacity: 0.55;
}

.compare-btn .spinner {
  border-color: rgba(13, 13, 13, 0.25);
  border-top-color: #0d0d0d;
}

.cta-dot.met {
  background: #c8a84b;
  border-color: #c8a84b;
}

/* ── Usage notice (7FT ideal-fit callout style) ─────────── */
.usage-notice {
  border: none !important;
  border-left: 3px solid #c8a84b !important;
  border-radius: 0 2px 2px 0 !important;
  background: rgba(200, 168, 75, 0.1) !important;
  color: #4a4540 !important;
}

.usage-notice strong {
  color: #8a7040;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 10px;
}

/* ── Results summary ────────────────────────────────────── */
.scard-label {
  letter-spacing: 0.18em;
  color: #888880;
}

.scard.best {
  border-color: rgba(200, 168, 75, 0.5);
  background: rgba(200, 168, 75, 0.08);
}

.scard.best .scard-label {
  color: #8a7040;
}

.scard-value {
  font-family: var(--font-serif);
  font-weight: 600;
  color: #111;
}

.sort-btn.on {
  background: #0d0d0d;
  border-color: #0d0d0d;
}

.sort-btn:hover {
  border-color: #c8a84b;
  color: #8a7040;
}

/* ── Rate table ─────────────────────────────────────────── */
.rtc-toolbar {
  background: #ebeae6;
}

.rt th {
  color: #8a7040;
  letter-spacing: 0.14em;
  background: #ebeae6;
  font-weight: 500;
}

.hotel-td-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 15px;
}

.best-badge {
  color: #8a7040;
  border-color: rgba(200, 168, 75, 0.45);
  background: rgba(200, 168, 75, 0.1);
  letter-spacing: 0.12em;
}

.rate-td.best {
  background: rgba(200, 168, 75, 0.1);
}

.rate-adr {
  font-family: var(--font-serif);
  font-weight: 600;
}

.rate-td {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  box-sizing: border-box;
}

.rate-book {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 40px;
  margin-top: auto;
  align-self: center;
}

.rate-book.gold {
  border-color: #c8a84b;
  color: #8a7040;
  background: #fff;
}

.rate-book.gold:hover {
  background: #c8a84b;
  color: #0d0d0d;
  border-color: #c8a84b;
}

.rate-book:hover {
  background: #0d0d0d;
  border-color: #0d0d0d;
  color: #fff;
}

@keyframes cell-highlight-sf {
  0% {
    box-shadow: inset 0 0 0 3px #c8a84b, 0 0 20px rgba(200, 168, 75, 0.25);
    background-color: rgba(200, 168, 75, 0.14);
  }
  40% {
    box-shadow: inset 0 0 0 3px #b5922e, 0 0 10px rgba(200, 168, 75, 0.12);
    background-color: rgba(200, 168, 75, 0.08);
  }
  100% {
    box-shadow: inset 0 0 0 0 transparent, 0 0 0 transparent;
    background-color: transparent;
  }
}

.rate-td.highlighted {
  animation: cell-highlight-sf 2.4s ease-out forwards;
}

/* ── Disclosure & why section ───────────────────────────── */
.disclosure {
  border-left: 3px solid #c8a84b;
  border-radius: 0 2px 2px 0;
  background: rgba(200, 168, 75, 0.07);
}

.disclosure-title {
  color: #8a7040;
  letter-spacing: 0.24em;
}

.why-eyebrow {
  color: #8a7040;
  letter-spacing: 0.24em;
}

.why-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background: #8a7040;
  margin-right: 10px;
  vertical-align: middle;
}

.why-headline {
  font-weight: 300;
}

.why-headline em {
  font-style: italic;
  color: #c8a84b;
}

.why-card-tag {
  color: #8a7040;
  letter-spacing: 0.18em;
}

/* ── Modals ─────────────────────────────────────────────── */
.modal-overlay {
  background: rgba(9, 9, 9, 0.72);
  backdrop-filter: blur(8px);
}

.modal-panel {
  border: 1px solid #2a2a2a;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.modal-section-label,
.modal-card-tag {
  color: #8a7040;
  letter-spacing: 0.18em;
}

.modal-card {
  border-left: 3px solid rgba(200, 168, 75, 0.5);
  border-radius: 0 2px 2px 0;
}

.modal-close:hover {
  border-color: #c8a84b;
  color: #c8a84b;
}

/* ── Footer (dark band like 7FT) ──────────────────────── */
.footer {
  background: #0d0d0d;
  border-top-color: #2a2a2a;
  padding: 36px 24px;
  margin-top: 24px;
}

.footer-author {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.58);
}

.footer-a {
  color: #c8a84b;
  text-decoration: none;
  letter-spacing: 0.06em;
}

.footer-a:hover {
  color: #ffffff;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.28);
}

/* ── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar-thumb {
  background: #c8c4ba;
}
