/* ============================================
   Hudson Valley Florist Directory — main.css
   ============================================ */

:root {
  --cream: #FAF6F0;
  --sage: #7A9E7E;
  --sage-dark: #4D6E51;
  --blush: #E8C5B0;
  --blush-light: #F5E6DC;
  --charcoal: #2C2C2C;
  --mid: #6B6B6B;
  --border: #DDD5C8;
  --white: #FFFFFF;
  --gold: #C9A96E;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--charcoal);
  font-size: 15px;
  line-height: 1.6;
}

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

/* ── SITE HEADER ── */
.site-header {
  background: var(--sage-dark);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 58px;
  overflow-x: auto;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  white-space: nowrap;
  font-weight: 600;
  font-size: 15px;
  flex-shrink: 0;
}
.site-logo__icon { font-size: 20px; }
.site-nav { display: flex; gap: 4px; flex-shrink: 0; }
.site-nav a {
  color: rgba(255,255,255,0.75);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  transition: all 0.15s;
  white-space: nowrap;
}
.site-nav a:hover { background: rgba(255,255,255,0.12); color: white; }

/* ── HERO ── */
.hvf-hero {
  background: var(--sage-dark);
  color: white;
  text-align: center;
  padding: 64px 20px 52px;
  position: relative;
  overflow: hidden;
}
.hvf-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,169,110,0.18) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(122,158,126,0.25) 0%, transparent 50%);
  pointer-events: none;
}
.hvf-hero--small { padding: 40px 20px 32px; }
.hvf-hero__inner { position: relative; max-width: 760px; margin: 0 auto; }
.hvf-eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 14px;
  font-weight: 500;
}
.hvf-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hvf-hero h1 em { font-style: italic; color: var(--blush); }
.hvf-hero p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 540px; margin: 0 auto 28px; font-weight: 300; }
.hvf-hero__stats { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.hvf-stat { text-align: center; }
.hvf-stat__num { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--gold); display: block; }
.hvf-stat__label { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.6); }

/* ── CONTROLS ── */
.hvf-controls {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  position: sticky;
  top: 58px;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.hvf-controls__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.hvf-search-wrap { position: relative; flex: 1; min-width: 200px; }
.hvf-search-wrap svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--mid); }
#hvfSearch {
  width: 100%;
  padding: 9px 12px 9px 34px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  background: var(--cream);
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.2s;
}
#hvfSearch:focus { border-color: var(--sage); }
.hvf-filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.hvf-tab {
  padding: 7px 13px;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  font-size: 12.5px;
  font-family: 'DM Sans', sans-serif;
  background: transparent;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.18s;
  white-space: nowrap;
  font-weight: 500;
}
.hvf-tab:hover { border-color: var(--sage); color: var(--sage-dark); }
.hvf-tab.active { background: var(--sage-dark); border-color: var(--sage-dark); color: white; }
.hvf-result-count { font-size: 12px; color: var(--mid); white-space: nowrap; }
#hvfCount { font-weight: 600; color: var(--sage-dark); }

/* ── MAIN ── */
.hvf-main { max-width: 1200px; margin: 0 auto; padding: 40px 20px 80px; }
#hvfNoResults { text-align: center; padding: 60px 20px; }
#hvfNoResults p { color: var(--mid); font-size: 1.1rem; }

/* ── COUNTY SECTION ── */
.hvf-county-section { margin-bottom: 52px; }
.hvf-county-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blush);
}
.hvf-county-icon { width: 38px; height: 38px; background: var(--sage-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.hvf-county-name { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--charcoal); }
.hvf-county-count { margin-left: auto; font-size: 12px; color: var(--mid); background: var(--blush-light); padding: 4px 10px; border-radius: 12px; font-weight: 500; }

/* ── LISTINGS GRID ── */
.hvf-listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 18px; }

/* ── CARD ── */
.hvf-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.hvf-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.09); }
.hvf-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.hvf-card__name { font-family: 'Playfair Display', serif; font-size: 1.05rem; line-height: 1.3; }
.hvf-card__name a:hover { color: var(--sage-dark); }
.hvf-rating { display: flex; align-items: center; gap: 4px; white-space: nowrap; flex-shrink: 0; }
.hvf-rating__star { color: var(--gold); font-size: 13px; }
.hvf-rating__num { font-size: 12.5px; font-weight: 600; }
.hvf-rating__count { font-size: 11px; color: var(--mid); }
.hvf-card__address { font-size: 13px; color: var(--mid); display: flex; gap: 6px; align-items: flex-start; }
.hvf-card__address svg { width: 13px; height: 13px; flex-shrink: 0; margin-top: 2px; color: var(--sage); }
.hvf-card__contact { display: flex; flex-wrap: wrap; gap: 7px; }
.hvf-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--sage-dark);
  background: var(--blush-light);
  padding: 4px 10px;
  border-radius: 16px;
  font-weight: 500;
  transition: background 0.15s;
}
.hvf-pill:hover { background: var(--blush); }
.hvf-pill svg { width: 11px; height: 11px; }
.hvf-card__tags { display: flex; flex-wrap: wrap; gap: 5px; }
.hvf-tag { font-size: 11px; background: #EEF5EF; color: var(--sage-dark); padding: 3px 8px; border-radius: 10px; font-weight: 500; }
.hvf-hours-toggle { font-size: 12px; color: var(--sage-dark); cursor: pointer; background: none; border: none; font-family: inherit; padding: 0; font-weight: 500; }
.hvf-hours-dropdown { background: var(--cream); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font-size: 12px; line-height: 1.8; display: none; }
.hvf-hours-dropdown.open { display: block; }
.hvf-hours-row { display: flex; justify-content: space-between; gap: 12px; }
.hvf-hours-day { color: var(--mid); font-weight: 500; }
.hvf-hours-time { color: var(--charcoal); text-align: right; }
.hvf-map-link { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--mid); margin-top: auto; padding-top: 8px; border-top: 1px solid var(--border); transition: color 0.15s; }
.hvf-map-link:hover { color: var(--sage-dark); }
.hvf-map-link svg { width: 13px; height: 13px; }

/* ── SINGLE FLORIST ── */
.hvf-single { padding: 40px 20px 80px; }
.hvf-single__inner { max-width: 800px; margin: 0 auto; }
.hvf-single__back { margin-bottom: 20px; }
.hvf-single__back a { color: var(--sage-dark); font-size: 13px; font-weight: 500; }
.hvf-single__back a:hover { text-decoration: underline; }
.hvf-single__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.hvf-single__county { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--sage-dark); font-weight: 600; display: block; margin-bottom: 6px; }
.hvf-single__header h1 { font-family: 'Playfair Display', serif; font-size: 2rem; margin-bottom: 6px; }
.hvf-single__address { color: var(--mid); }
.hvf-single__rating { text-align: center; }
.big-star { color: var(--gold); font-size: 2rem; display: block; }
.big-num { font-family: 'Playfair Display', serif; font-size: 2.2rem; display: block; }
.big-count { font-size: 12px; color: var(--mid); }
.hvf-single__body { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.hvf-single__contact-block { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.hvf-contact-row { display: flex; flex-direction: column; gap: 2px; }
.hvf-contact-row strong { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mid); }
.hvf-contact-row a { color: var(--sage-dark); font-weight: 500; }
.hvf-contact-row a:hover { text-decoration: underline; }
.hvf-btn-map { display: flex; align-items: center; gap: 6px; background: var(--sage-dark); color: white; padding: 10px 16px; border-radius: 8px; font-size: 13px; font-weight: 500; justify-content: center; }
.hvf-btn-map:hover { background: #3a5940; }
.hvf-single__hours h2, .hvf-single__description h2 { font-family: 'Playfair Display', serif; font-size: 1.2rem; margin-bottom: 14px; }
.hvf-single__hours .hvf-hours-row { padding: 6px 0; border-bottom: 1px solid var(--border); }
.hvf-single__description { margin-top: 0; }
.hvf-single__description p { margin-bottom: 12px; color: var(--mid); }

/* ── FOOTER ── */
.site-footer { background: var(--charcoal); color: rgba(255,255,255,0.6); padding: 40px 20px 20px; }
.site-footer__inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 32px; }
.site-footer__logo { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--gold); margin-bottom: 8px; }
.site-footer__counties strong { display: block; color: white; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.site-footer__counties ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.site-footer__counties a { color: rgba(255,255,255,0.6); font-size: 13px; }
.site-footer__counties a:hover { color: var(--gold); }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; text-align: center; font-size: 12px; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hvf-single__body { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  .hvf-hero { padding: 44px 16px 36px; }
  .hvf-hero__stats { gap: 24px; }
  .hvf-controls__inner { flex-direction: column; align-items: stretch; }
}
