/*
Theme Name: RussellvilleHQ
Template: generatepress
Version: 1.0
*/

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  /* Brand Colors */
  --red:          #B5121B;   /* Deep cardinal — warm, not neon */
  --red-dark:     #8C0D14;
  --red-light:    #D94040;
  --red-muted:    #f5e6e6;   /* Very soft blush for backgrounds */

  /* Neutrals */
  --cream:        #F7F3EE;   /* Warm off-white — like newsprint */
  --cream-dark:   #EDE7DC;
  --charcoal:     #1C1C1C;
  --text:         #2E2B28;   /* Warm near-black */
  --text-muted:   #6B6560;
  --border:       #DDD5CA;

  /* Section accents — tonal, not primary */
  --blue-tint:    #EAF0F6;
  --blue-accent:  #2C5F8A;
  --green-tint:   #E9F2EC;
  --green-accent: #2D7A4F;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', 'Helvetica Neue', Arial, sans-serif;

  /* Spacing */
  --section-pad:  4rem 1.25rem;
  --card-radius:  10px;
  --shadow-card:  0 2px 12px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.05);
  --shadow-hover: 0 8px 28px rgba(0,0,0,0.12), 0 2px 6px rgba(0,0,0,0.06);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--charcoal);
  margin: 0 0 0.75rem;
}

p { margin: 0 0 1rem; }

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--red-dark); }

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

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header,
#site-header {
  background-color: var(--red);
  border-bottom: 3px solid var(--red-dark);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.site-header .inside-header,
#site-header .inside-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Site title / logo */
.site-title,
.site-header .site-title a,
#site-header .site-title a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
}

.site-title a:hover { opacity: 0.88; color: #fff !important; }

.site-description {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.main-navigation,
nav.main-navigation {
  background: transparent;
}

.main-navigation ul,
nav.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.main-navigation ul li a,
nav.main-navigation ul li a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88) !important;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.main-navigation ul li a:hover,
nav.main-navigation ul li a:hover {
  background: rgba(255,255,255,0.15);
  color: #fff !important;
}

/* Mobile nav toggle */
.menu-toggle {
  background: rgba(255,255,255,0.15) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  color: #fff !important;
  border-radius: 4px;
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

/* ============================================================
   MAIN CONTENT WRAPPER
   ============================================================ */
.site-content,
#content {
  background: var(--cream);
}

.content-area {
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.rhq-hero {
  background-color: var(--charcoal);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(181,18,27,0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(181,18,27,0.15) 0%, transparent 50%);
  color: #fff;
  padding: 4.5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle grain texture overlay */
.rhq-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.rhq-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.75rem;
}

.rhq-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  color: #fff;
  margin: 0 auto 1rem;
  max-width: 700px;
  line-height: 1.15;
}

.rhq-hero h1 span {
  color: #f4a0a5; /* soft warm red highlight */
}

.rhq-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  margin: 0 auto 2rem;
  font-weight: 300;
  line-height: 1.65;
}

.rhq-hero__cta {
  display: inline-flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  display: inline-block;
  background: var(--red);
  color: #fff !important;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.8rem 1.75rem;
  border-radius: 5px;
  border: 2px solid var(--red);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #fff !important;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.8rem 1.75rem;
  border-radius: 5px;
  border: 2px solid rgba(255,255,255,0.35);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

/* ============================================================
   SECTION HEADERS (shared)
   ============================================================ */
.rhq-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--border);
  gap: 1rem;
}

.rhq-section-header h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rhq-section-header h2 .section-icon {
  font-size: 1.1rem;
  opacity: 0.7;
}

.rhq-see-all {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red) !important;
  white-space: nowrap;
  transition: color 0.2s;
}

.rhq-see-all:hover { color: var(--red-dark) !important; }

/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */

/* Events Section */
.rhq-section-events {
  background: #fff;
  padding: var(--section-pad);
  border-bottom: 1px solid var(--border);
}

.rhq-section-events .rhq-section-header {
  border-bottom-color: rgba(181,18,27,0.2);
}

.rhq-section-events .rhq-section-header h2 { color: var(--red); }

/* Directory Section */
.rhq-section-directory {
  background: var(--cream);
  padding: var(--section-pad);
  border-bottom: 1px solid var(--border);
}

/* Where to Buy Section */
.rhq-section-wtb {
  background: #fff;
  padding: var(--section-pad);
  border-bottom: 1px solid var(--border);
}

/* Section inner wrappers */
.rhq-section-events .rhq-section-inner,
.rhq-section-directory .rhq-section-inner,
.rhq-section-wtb .rhq-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ============================================================
   EVENT CARDS
   ============================================================ */
.rhq-events-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rhq-event-card {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: var(--card-radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s, transform 0.2s;
}

.rhq-event-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.rhq-event-card__date {
  flex-shrink: 0;
  background: var(--red-muted);
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  text-align: center;
  min-width: 56px;
}

.rhq-event-card__date .day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}

.rhq-event-card__date .month {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.rhq-event-card__body { flex: 1; min-width: 0; }

.rhq-event-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  margin: 0 0 0.3rem;
}

.rhq-event-card__title a {
  color: inherit !important;
  text-decoration: none;
}

.rhq-event-card__title a:hover { color: var(--red) !important; }

.rhq-event-card__meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.rhq-event-card__meta span::before {
  margin-right: 0.25rem;
}

.rhq-event-card__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   BUSINESS / DIRECTORY CARDS
   ============================================================ */
.rhq-business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.rhq-business-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s, transform 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rhq-business-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.rhq-business-card__category {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-accent);
  background: var(--blue-tint);
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.25rem;
  align-self: flex-start;
}

.rhq-business-card__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
}

.rhq-business-card__name a {
  color: inherit !important;
  text-decoration: none;
}

.rhq-business-card__name a:hover { color: var(--blue-accent) !important; }

.rhq-business-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
  flex: 1;
}

.rhq-business-card__footer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rhq-business-card__footer a {
  color: var(--blue-accent) !important;
  font-weight: 700;
}

/* ============================================================
   LOCAL FINDS / WHERE TO BUY CARDS
   ============================================================ */
.rhq-finds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.rhq-find-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.rhq-find-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.rhq-find-card__image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-dark);
}

.rhq-find-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rhq-find-card:hover .rhq-find-card__image img {
  transform: scale(1.04);
}

.rhq-find-card__no-image {
  aspect-ratio: 4/3;
  background: var(--green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.5;
}

.rhq-find-card__body {
  padding: 1.1rem 1.25rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rhq-find-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
}

.rhq-find-card__title a {
  color: inherit !important;
  text-decoration: none;
}

.rhq-find-card__title a:hover { color: var(--green-accent) !important; }

.rhq-find-card__price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green-accent);
  background: var(--green-tint);
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  align-self: flex-start;
}

.rhq-find-card__meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.rhq-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  background: var(--cream-dark);
  border-radius: var(--card-radius);
  border: 1px dashed var(--border);
}

.rhq-empty p { margin: 0; }

/* ============================================================
   ARCHIVE PAGES
   ============================================================ */
.rhq-archive-header {
  background: var(--charcoal);
  background-image: radial-gradient(ellipse at 30% 50%, rgba(181,18,27,0.3) 0%, transparent 65%);
  padding: 3rem 1.5rem;
  text-align: center;
  margin-bottom: 0;
}

.rhq-archive-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #fff;
  margin: 0 auto 0.5rem;
  max-width: 600px;
}

.rhq-archive-header p {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin: 0;
  font-weight: 300;
}

.rhq-archive-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Date group headers on events archive */
.rhq-date-group {
  margin-bottom: 2.5rem;
}

.rhq-date-group__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer,
#colophon {
  background: var(--charcoal);
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
  font-family: var(--font-body);
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 3px solid var(--red);
}

.site-footer a,
#colophon a {
  color: rgba(255,255,255,0.75) !important;
  text-decoration: none;
}

.site-footer a:hover,
#colophon a:hover {
  color: #fff !important;
}

.site-footer p,
#colophon p {
  margin: 0.25rem 0;
}

/* ============================================================
   UTILITY / HELPERS
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 860px) {
  :root {
    --section-pad: 3rem 1.25rem;
  }

  .rhq-business-grid,
  .rhq-finds-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

/* Mobile */
@media (max-width: 600px) {
  :root {
    --section-pad: 2.25rem 1rem;
  }

  .site-header .inside-header,
  #site-header .inside-header {
    padding: 0.75rem 1rem;
  }

  .site-title,
  .site-header .site-title a,
  #site-header .site-title a {
    font-size: 1.25rem;
  }

  .rhq-hero {
    padding: 3rem 1rem 2.5rem;
  }

  .rhq-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .rhq-event-card {
    flex-direction: column;
    gap: 0.85rem;
  }

  .rhq-event-card__date {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.8rem;
    min-width: unset;
    align-self: flex-start;
  }

  .rhq-event-card__date .day {
    font-size: 1.2rem;
  }

  .rhq-business-grid,
  .rhq-finds-grid {
    grid-template-columns: 1fr;
  }
}
