/* ==========================================================================
   Picks & Treasures Vintiques
   Palette: charcoal grey / deep burgundy / burnished gold / dark teal / antique beige
   ========================================================================== */

:root {
  --charcoal: #3d3a35;
  --charcoal-light: #4d4943;
  --burgundy: #7c2436;
  --burgundy-dark: #631c2b;
  --gold: #c9a24f;
  --gold-light: #ddbd7c;
  --teal: #1c3d3c;
  --teal-mid: #2f6361;
  --teal-tint: #e3eeed;
  --taupe-tint: #ece1cb;
  --beige: #f2e9d8;
  --beige-dark: #ddcfb2;
  --cream: #faf7f0;

  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Helvetica Neue", Arial, sans-serif;

  --max-width: 1140px;
}

/* --------------------------------------------------------------------- */
/* Reset / base */
/* --------------------------------------------------------------------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 0.5em;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75em;
}

.btn {
  display: inline-block;
  padding: 0.85em 2em;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--cream);
  border-color: var(--burgundy);
}

.btn-primary:hover {
  background: var(--burgundy-dark);
  border-color: var(--burgundy-dark);
}

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

.btn-outline:hover {
  background: var(--gold);
  color: var(--charcoal);
}

.btn-dark {
  background: var(--teal);
  color: var(--cream);
  border-color: var(--teal);
}

.btn-dark:hover {
  background: var(--teal-mid);
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--beige);
}

.section-dark {
  background: var(--taupe-tint);
  color: var(--charcoal);
}

.section-dark h2,
.section-dark h3 {
  color: var(--charcoal);
}

.section-teal {
  background: var(--teal-tint);
  color: var(--charcoal);
}

.section-teal h2,
.section-teal h3 {
  color: var(--teal);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.75em auto;
  border: none;
}

.divider-left {
  margin: 0.75em 0;
}

/* --------------------------------------------------------------------- */
/* Header / Nav */
/* --------------------------------------------------------------------- */

.site-header {
  background: var(--charcoal);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
}

/* The logo artwork has a light background baked in, so it sits on a
   cream plate rather than directly on the dark header. */
.logo-plate {
  display: inline-flex;
  align-items: center;
  background: var(--cream);
  border-radius: 6px;
  padding: 4px 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.logo-img {
  display: block;
  height: 158px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold);
  color: var(--beige);
  padding: 0.5em 0.75em;
  cursor: pointer;
  font-size: 1rem;
}

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

.nav-links a {
  display: block;
  color: var(--beige);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold-light);
  border-color: var(--gold);
}

/* Curators dropdown */
.nav-item-dropdown {
  position: relative;
}

.dropdown-caret {
  font-size: 0.65em;
  margin-left: 2px;
  vertical-align: 1px;
}

.dropdown-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--charcoal);
  border: 1px solid rgba(236, 227, 209, 0.15);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 150;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--beige);
  border-bottom: none;
  white-space: normal;
  line-height: 1.4;
}

.dropdown-menu a:hover {
  color: var(--gold-light);
  background: rgba(236, 227, 209, 0.06);
}

/* --------------------------------------------------------------------- */
/* Hero */
/* --------------------------------------------------------------------- */

.hero {
  background:
    linear-gradient(160deg, var(--teal-tint), var(--cream)),
    repeating-linear-gradient(45deg, rgba(28, 61, 60, 0.04) 0, rgba(28, 61, 60, 0.04) 2px, transparent 2px, transparent 12px);
  color: var(--charcoal);
  padding: 6rem 0;
  border-bottom: 4px solid var(--gold);
}

.hero-inner {
  max-width: 640px;
}

.hero h1 {
  color: var(--charcoal);
  font-size: 2.75rem;
  line-height: 1.15;
}

.hero p {
  font-size: 1.1rem;
  color: var(--charcoal-light);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.page-hero {
  background: var(--teal-tint);
  color: var(--charcoal);
  padding: 3.5rem 0;
  border-bottom: 4px solid var(--gold);
  text-align: center;
}

.page-hero h1 {
  color: var(--teal);
}

/* --------------------------------------------------------------------- */
/* Cards / Grids */
/* --------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 2rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--cream);
  border: 1px solid var(--beige-dark);
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(61, 58, 53, 0.15);
}

.card-media {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--gold-light);
  background: linear-gradient(135deg, var(--charcoal), var(--teal));
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.3em;
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy);
  background: rgba(124, 36, 54, 0.08);
  border: 1px solid rgba(124, 36, 54, 0.25);
  padding: 0.2em 0.7em;
  border-radius: 999px;
  margin-bottom: 0.75em;
}

.price {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: bold;
}

/* Feature list with gold icons */
.feature {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

/* Quote / testimonial */
.quote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.quote blockquote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--charcoal);
  margin: 0 0 1rem;
}

.quote cite {
  color: var(--teal);
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------- */
/* Forms */
/* --------------------------------------------------------------------- */

.form-grid {
  display: grid;
  gap: 1.25rem;
  max-width: 640px;
}

label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4em;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.75em 1em;
  border: 1px solid var(--beige-dark);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  border-radius: 2px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 79, 0.2);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  padding: 0.75em 0;
  border-bottom: 1px solid rgba(236, 227, 209, 0.15);
}

.info-list a:hover {
  text-decoration: underline;
}

.info-list strong {
  color: var(--gold-light);
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2em;
}

/* --------------------------------------------------------------------- */
/* Footer */
/* --------------------------------------------------------------------- */

.site-footer {
  background: var(--charcoal);
  color: var(--beige-dark);
  border-top: 3px solid var(--burgundy);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid h4 {
  color: var(--gold-light);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid li {
  margin-bottom: 0.6em;
}

.footer-grid a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: var(--beige-dark);
  border-top: 1px solid rgba(236, 227, 209, 0.15);
  padding-top: 1.5rem;
}

/* --------------------------------------------------------------------- */
/* Responsive */
/* --------------------------------------------------------------------- */

@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 149px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--charcoal);
    flex-direction: column;
    gap: 0;
    border-bottom: 3px solid var(--gold);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 1rem 24px;
    border-bottom: 1px solid rgba(236, 227, 209, 0.1);
    width: 100%;
  }

  /* On mobile the dropdown has no hover, so just show it inline, always
     expanded, indented under "Curators" within the stacked menu. */
  .dropdown-menu {
    display: block;
    position: static;
    background: rgba(0, 0, 0, 0.15);
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .dropdown-menu a {
    padding: 0.85rem 24px 0.85rem 40px;
    font-size: 0.8rem;
  }

  .logo-plate {
    padding: 3px 8px;
  }

  .logo-img {
    height: 108px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------- */
/* Bio modal (e.g. curator "Learn More") */
/* --------------------------------------------------------------------- */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(61, 58, 53, 0.75);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--cream);
  max-width: 480px;
  width: 100%;
  border-radius: 6px;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  max-height: 85vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--charcoal-light);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--burgundy);
}

.modal-box h3 {
  color: var(--burgundy);
  margin-bottom: 0.25rem;
}

.modal-box .modal-role {
  color: var(--teal);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.modal-contact {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--beige-dark);
  font-size: 0.9rem;
}

.modal-contact p {
  margin-bottom: 0.5rem;
}

.modal-contact strong {
  color: var(--teal);
  display: inline-block;
  min-width: 60px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------- */
/* Itinerary (Vintiquing in Sonoma) */
/* --------------------------------------------------------------------- */

.itinerary {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.itinerary::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 84px;
  width: 2px;
  background: var(--beige-dark);
}

@media (max-width: 640px) {
  .itinerary::before {
    left: 24px;
  }
}

.itinerary-stop {
  position: relative;
  display: flex;
  gap: 1.5rem;
  padding: 0 0 2.5rem;
}

.itinerary-stop:last-child {
  padding-bottom: 0;
}

.itinerary-time {
  flex: 0 0 70px;
  text-align: right;
  font-family: var(--font-display);
  font-weight: bold;
  color: var(--teal);
  font-size: 0.95rem;
  line-height: 1.3;
  padding-top: 0.15rem;
}

.itinerary-dot {
  position: absolute;
  left: 84px;
  top: 0.3rem;
  width: 14px;
  height: 14px;
  margin-left: -6px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--gold);
}

@media (max-width: 640px) {
  .itinerary-stop {
    gap: 1rem;
  }
  .itinerary-time {
    display: none;
  }
  .itinerary-dot {
    left: 24px;
  }
}

.itinerary-content {
  flex: 1;
  background: #fff;
  border: 1px solid var(--beige-dark);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
}

.itinerary-content h3 {
  margin-bottom: 0.35em;
}

.itinerary-content .itinerary-time-mobile {
  display: none;
  font-family: var(--font-body);
  font-weight: bold;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4em;
}

@media (max-width: 640px) {
  .itinerary-content .itinerary-time-mobile {
    display: block;
  }
}

.itinerary-content p {
  margin-bottom: 0;
  color: var(--charcoal-light);
}

.itinerary-content p.itinerary-placeholder-note {
  margin-top: 0.6em;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--beige-dark);
}
