/*
Theme Name: Hartford Parade Modern
Theme URI: https://www.irishamericanparade.com/
Author: Central Connecticut Celtic Cultural Committee
Description: Custom modernized theme for the Greater Hartford St. Patrick's Day Parade website. Rebuilt from the original static HTML site with a refreshed responsive design while preserving the original page structure and content.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hartford-parade
*/

/* -------------------------------------------------
   0. Custom properties / palette
   Green/gold palette nods to the parade without using
   any third-party logos or copyrighted artwork.
------------------------------------------------- */
:root {
  --hp-green-dark: #0b3d2e;
  --hp-green: #14532d;
  --hp-green-light: #1f7a4d;
  --hp-gold: #c9a227;
  --hp-gold-light: #e7c766;
  --hp-cream: #faf7ef;
  --hp-white: #ffffff;
  --hp-ink: #1b1b1b;
  --hp-gray: #5b5f5a;
  --hp-border: #e2ded0;
  --hp-radius: 14px;
  --hp-shadow: 0 8px 24px rgba(11, 61, 46, 0.12);
  --hp-max-width: 1120px;
  --hp-font-body: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --hp-font-heading: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--hp-green-light); text-decoration: none; }
a:hover { color: var(--hp-gold); }

h1, h2, h3, h4 {
  font-family: var(--hp-font-heading);
  color: var(--hp-green-dark);
  line-height: 1.25;
  margin: 0 0 0.5em;
}

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

/* -------------------------------------------------
   1. Top announcement bar
------------------------------------------------- */
.hp-announcement {
  background: var(--hp-green-dark);
  color: var(--hp-gold-light);
  text-align: center;
  font-size: 0.9rem;
  padding: 8px 16px;
  letter-spacing: 0.02em;
}

/* -------------------------------------------------
   2. Header / nav
------------------------------------------------- */
.hp-header {
  background: var(--hp-white);
  border-bottom: 4px solid var(--hp-gold);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.hp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--hp-max-width);
  margin: 0 auto;
  gap: 16px;
}

.hp-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--hp-font-heading);
  font-weight: bold;
  color: var(--hp-green-dark);
  font-size: 1.15rem;
}

.hp-brand .hp-shamrock {
  font-size: 1.6rem;
}

.hp-nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--hp-green);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--hp-green-dark);
}

.hp-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.hp-nav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--hp-green-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.hp-nav a:hover,
.hp-nav a.current {
  background: var(--hp-green);
  color: var(--hp-white);
}

@media (max-width: 860px) {
  .hp-nav-toggle { display: inline-flex; align-items: center; gap: 6px; }
  .hp-nav { width: 100%; display: none; }
  .hp-nav.hp-nav-open { display: block; }
  .hp-header-inner { flex-wrap: wrap; }
  .hp-nav ul { flex-direction: column; gap: 2px; padding-bottom: 12px; }
}

/* -------------------------------------------------
   3. Hero
------------------------------------------------- */
.hp-hero {
  background: linear-gradient(135deg, var(--hp-green-dark), var(--hp-green));
  color: var(--hp-white);
  padding: 64px 24px;
  text-align: center;
}

.hp-hero h1 {
  color: var(--hp-white);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  margin-bottom: 10px;
}

.hp-hero .hp-hero-date {
  display: inline-block;
  background: var(--hp-gold);
  color: var(--hp-green-dark);
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 1.05rem;
}

/* -------------------------------------------------
   4. Sections / cards
------------------------------------------------- */
.hp-section {
  padding: 56px 0;
}

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

.hp-section-title {
  text-align: center;
  margin-bottom: 32px;
}

.hp-card {
  background: var(--hp-white);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow);
  padding: 28px;
}

.hp-page-content {
  background: var(--hp-white);
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow);
  padding: 40px;
  margin: 40px auto;
  max-width: var(--hp-max-width);
}

.hp-page-content h2 { margin-top: 1.2em; }
.hp-page-content ul { padding-left: 1.2em; }

/* Winners banner */
.hp-winners {
  background: var(--hp-gold-light);
  border-left: 6px solid var(--hp-gold);
  border-radius: var(--hp-radius);
  padding: 24px 28px;
  margin: 32px auto;
  max-width: var(--hp-max-width);
}
.hp-winners h2 { margin-top: 0; }

/* -------------------------------------------------
   5. FAQ accordion
------------------------------------------------- */
.hp-faq-item {
  border-bottom: 1px solid var(--hp-border);
}

.hp-faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hp-green-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hp-faq-question::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--hp-gold);
  margin-left: 12px;
}

.hp-faq-item.hp-open .hp-faq-question::after { content: "\2212"; }

.hp-faq-answer {
  display: none;
  padding: 0 4px 18px;
  color: var(--hp-gray);
}

.hp-faq-item.hp-open .hp-faq-answer { display: block; }

/* -------------------------------------------------
   6. Buttons
------------------------------------------------- */
.hp-btn {
  display: inline-block;
  background: var(--hp-green);
  color: var(--hp-white);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.hp-btn:hover { background: var(--hp-green-dark); color: var(--hp-white); }
.hp-btn-gold { background: var(--hp-gold); color: var(--hp-green-dark); }
.hp-btn-gold:hover { background: var(--hp-gold-light); color: var(--hp-green-dark); }

/* -------------------------------------------------
   7. Sponsors strip
------------------------------------------------- */
.hp-sponsors {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.hp-sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hp-white);
  border: 1px solid var(--hp-border);
  border-radius: 10px;
  padding: 12px 18px;
  min-height: 56px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.hp-sponsor-logo:hover {
  border-color: var(--hp-gold);
  transform: translateY(-2px);
}
.hp-sponsor-logo img {
  max-height: 40px;
  width: auto;
  display: block;
}
/* Shown only until a real logo file is uploaded for a sponsor */
.hp-sponsor-fallback-text {
  font-weight: 600;
  color: var(--hp-green-dark);
}
.hp-sponsor-logo:hover .hp-sponsor-fallback-text { color: var(--hp-gold); }

/* -------------------------------------------------
   8. Footer
------------------------------------------------- */
.hp-footer {
  background: var(--hp-green-dark);
  color: var(--hp-cream);
  padding: 40px 0 24px;
  margin-top: 48px;
}
.hp-footer a { color: var(--hp-gold-light); }
.hp-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.hp-footer h4 { color: var(--hp-gold-light); }
.hp-footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  color: rgba(255,255,255,0.7);
}
