/* ============================================
   WILMINGTON DATE NIGHT — Main Stylesheet
   Aesthetic: Warm editorial, coastal romance
   Fonts: Playfair Display + DM Sans
   ============================================ */

:root {
  --sand: #F5EFE4;
  --cream: #FAF7F2;
  --dusk: #1C1814;
  --charcoal: #2E2A25;
  --warm-gray: #7A7065;
  --rose: #C1523A;
  --rose-light: #E8917E;
  --teal: #2D6B6B;
  --teal-light: #4A9494;
  --gold: #C9983A;
  --white: #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;

  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 4px 24px rgba(28,24,20,0.08);
  --shadow-lg: 0 8px 48px rgba(28,24,20,0.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 2.5rem;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(28,24,20,0.08);
}

.nav-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--dusk);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 2.2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--warm-gray);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--rose);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--sand);
  z-index: 0;
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  opacity: 0.22;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(193,82,58,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 70%, rgba(45,107,107,0.08) 0%, transparent 60%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 2.5rem;
  margin-left: 8%;
  animation: heroFadeUp 0.9s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.08;
  color: var(--dusk);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-title em {
  font-style: italic;
  color: var(--rose);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--warm-gray);
  margin-bottom: 2.5rem;
  max-width: 480px;
  line-height: 1.7;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  color: var(--warm-gray);
  animation: bounce 2s ease-in-out infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
}

.btn-primary:hover {
  background: #a83e28;
  border-color: #a83e28;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(193,82,58,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--dusk);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--rose);
}

.btn-outline {
  background: transparent;
  color: var(--rose);
  border-color: var(--rose);
}

.btn-outline:hover {
  background: var(--rose);
  color: var(--white);
}

.btn-foodtruck {
  background: var(--white);
  color: var(--dusk);
  border-color: var(--white);
  white-space: nowrap;
}

.btn-foodtruck:hover {
  background: var(--sand);
  border-color: var(--sand);
  transform: translateY(-1px);
}

/* Used for food truck link on white background */
.btn-foodtruck-outline {
  background: var(--dusk);
  color: var(--white);
  border-color: var(--dusk);
}

.btn-foodtruck-outline:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}

/* ============================================
   SECTIONS & CONTAINER
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--dusk);
  margin-bottom: 2.5rem;
  text-align: center;
}

/* ============================================
   MOOD GRID (Homepage)
   ============================================ */
.highlights {
  padding: 5rem 0;
}

.mood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.mood-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1.5rem 1rem;
  background: var(--white);
  border: 1.5px solid rgba(28,24,20,0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.22s;
  cursor: pointer;
}

.mood-card:hover {
  border-color: var(--rose);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.mood-icon { font-size: 2rem; }
.mood-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  text-align: center;
}

/* ============================================
   FINDER CTA STRIP
   ============================================ */
.finder-cta {
  background: var(--teal);
  padding: 4rem 0;
}

.finder-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.finder-cta-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.finder-cta-text p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
}

.finder-cta .btn-primary {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
  white-space: nowrap;
}

.finder-cta .btn-primary:hover {
  background: var(--sand);
  border-color: var(--sand);
}

/* ============================================
   FEATURED SECTION
   ============================================ */
.featured {
  padding: 5rem 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.featured-card {
  display: block;
  padding: 1.75rem;
  background: var(--white);
  border: 1.5px solid rgba(28,24,20,0.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.22s;
  cursor: pointer;
}

.featured-card:hover {
  border-color: var(--rose);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.featured-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.featured-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--dusk);
  margin-bottom: 0.6rem;
}

.featured-card p {
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.featured-card-link {
  font-size: 0.88rem;
  color: var(--rose);
  font-weight: 500;
}

.featured-more {
  text-align: center;
}

/* ============================================
   TAGS
   ============================================ */
.tag {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  background: var(--sand);
  color: var(--charcoal);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid rgba(28,24,20,0.1);
}

.tag-sm {
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
  background: var(--sand);
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(28,24,20,0.08);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--dusk);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--warm-gray);
  font-size: 1.05rem;
}

/* ============================================
   LISTINGS LAYOUT
   ============================================ */
.listings-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
  align-items: start;
}

/* Filters Panel */
.filters-panel {
  position: sticky;
  top: 5rem;
  background: var(--white);
  border: 1.5px solid rgba(28,24,20,0.07);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.filters-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--dusk);
  margin-bottom: 1.25rem;
}

.filter-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(28,24,20,0.06);
}

.filter-group:last-of-type {
  border-bottom: none;
  margin-bottom: 1rem;
}

.filter-group h4 {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--charcoal);
  cursor: pointer;
  padding: 0.2rem 0;
}

.filter-group input[type=checkbox] {
  accent-color: var(--rose);
  width: 14px;
  height: 14px;
  cursor: pointer;
}

/* Listings Main */
.listings-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.listings-toolbar span {
  font-size: 0.9rem;
  color: var(--warm-gray);
  font-weight: 500;
  white-space: nowrap;
}

.search-input {
  flex: 1;
  max-width: 320px;
  padding: 0.6rem 1rem;
  border: 1.5px solid rgba(28,24,20,0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.search-input:focus {
  border-color: var(--rose);
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.listing-card {
  background: var(--white);
  border: 1.5px solid rgba(28,24,20,0.07);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: all 0.22s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.listing-card:hover {
  border-color: var(--rose-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.listing-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.25rem;
}

.listing-card-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--dusk);
  line-height: 1.3;
}

.listing-card-address {
  font-size: 0.82rem;
  color: var(--warm-gray);
}

.listing-card-desc {
  font-size: 0.88rem;
  color: var(--charcoal);
  line-height: 1.6;
  flex: 1;
}

.listing-card-btn {
  margin-top: 0.75rem;
  width: 100%;
  padding: 0.6rem;
  background: transparent;
  border: 1.5px solid rgba(193,82,58,0.3);
  border-radius: var(--radius-sm);
  color: var(--rose);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.listing-card-btn:hover {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
}

.no-results {
  text-align: center;
  padding: 3rem;
  color: var(--warm-gray);
}

.hidden { display: none !important; }

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,24,20,0.55);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalUp 0.25s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes modalUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 1.1rem;
  color: var(--warm-gray);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--sand);
  color: var(--dusk);
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--dusk);
  margin-bottom: 0.5rem;
}

.modal-address {
  font-size: 0.88rem;
  color: var(--warm-gray);
  margin-bottom: 1rem;
}

.modal-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 1.75rem;
}

.modal-link { width: 100%; justify-content: center; }

/* ============================================
   DATE FINDER PAGE
   ============================================ */
.finder-container {
  padding-top: 3rem;
  padding-bottom: 5rem;
  max-width: 800px;
}

.finder-form {}

.finder-step {
  margin-bottom: 2.5rem;
}

.finder-step h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--dusk);
  margin-bottom: 1.1rem;
}

.finder-step h3 em {
  font-style: italic;
  color: var(--rose);
}

.finder-optional {
  font-size: 0.85rem;
  color: var(--warm-gray);
  font-style: normal;
  font-family: var(--font-body);
  font-weight: 400;
}

.finder-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.finder-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.2rem;
  background: var(--white);
  border: 2px solid rgba(28,24,20,0.10);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.18s;
}

.finder-option:hover {
  border-color: var(--rose-light);
  color: var(--rose);
}

.finder-option.selected {
  background: var(--rose);
  border-color: var(--rose);
  color: var(--white);
}

.finder-option-icon {
  font-size: 1.1rem;
}

.finder-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.finder-results-header h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--dusk);
}

.finder-results-sub {
  color: var(--warm-gray);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.no-results-text {
  color: var(--warm-gray);
  padding: 2rem;
  text-align: center;
  font-size: 0.95rem;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-container {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
  max-width: 720px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-lead {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--dusk);
  line-height: 1.5;
  font-style: italic;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--dusk);
  margin-top: 1rem;
}

.about-content p {
  color: var(--charcoal);
  line-height: 1.75;
}

.about-content ul {
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--charcoal);
  line-height: 1.7;
}

.about-content a {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.about-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}


/* Filter toggle */
.filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.filters-header .filters-title {
  margin-bottom: 0;
}

.filters-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: 1px solid rgba(28,24,20,0.12);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.6rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--warm-gray);
  cursor: pointer;
  transition: all 0.18s;
}

.filters-toggle:hover {
  border-color: var(--rose);
  color: var(--rose);
}

.filters-toggle-icon {
  font-size: 0.65rem;
}

/* Food truck CTA box */
.foodtruck-cta-box {
  background: var(--sand);
  border: 1.5px solid rgba(193,82,58,0.2);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin: 0.5rem 0;
}

/* Dark variant for strong contrast */
.foodtruck-cta-box.foodtruck-cta-dark {
  background: var(--dusk);
  border-color: transparent;
}

.foodtruck-cta-box.foodtruck-cta-dark .foodtruck-cta-inner h3 {
  color: var(--white);
}

.foodtruck-cta-box.foodtruck-cta-dark .foodtruck-cta-inner p {
  color: rgba(255,255,255,0.72);
}

.foodtruck-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.foodtruck-cta-inner h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--dusk);
  margin-bottom: 0.4rem;
}

.foodtruck-cta-inner p {
  font-size: 0.92rem;
  color: var(--warm-gray);
  margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dusk);
  color: rgba(255,255,255,0.65);
  padding-top: 3rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  padding: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .listings-layout {
    grid-template-columns: 1fr;
  }
  .filters-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav {
    padding: 1rem 1.25rem;
  }
  .nav-links {
    gap: 1.2rem;
  }
  .hero-content {
    margin-left: 0;
    padding: 0 1.5rem;
  }
  .container {
    padding: 0 1.25rem;
  }
  .finder-cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .mood-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
  .modal {
    padding: 1.75rem 1.25rem;
  }
}
