/* ============================================================
   PALS OF CENTRAL TEXAS — Main Stylesheet
   preventalitter.com
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --navy:      #1E3A5F;
  --orange:    #E07B2A;
  --teal:      #1A8CA1;
  --bg:        #F2F4F6;
  --text:      #4A4A4A;
  --white:     #FFFFFF;
  --navy-dark: #152d4a;
  --orange-dark: #c5681a;
  --teal-dark: #147a8d;
  --shadow:    0 2px 12px rgba(30,58,95,0.10);
  --shadow-lg: 0 6px 32px rgba(30,58,95,0.15);
  --radius:    8px;
  --radius-lg: 16px;
  --font-head: 'Nunito', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --max-width: 1140px;
  --nav-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--bg); padding-top: var(--nav-height); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--teal-dark); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); color: var(--navy); line-height: 1.25; font-weight: 800; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 60px 0; }
.section--tight { padding: 36px 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark h2,.section--dark h3 { color: var(--white); }
.section--orange { background: var(--orange); color: var(--white); }
.section--orange h2,.section--orange h3 { color: var(--white); }
.section--teal { background: var(--teal); color: var(--white); }
.section--teal h2,.section--teal h3 { color: var(--white); }
.section--white { background: var(--white); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }

.page-title { font-size: clamp(2rem,5vw,3rem); margin-bottom: 12px; }
.section-title { font-size: clamp(1.5rem,3vw,2.2rem); margin-bottom: 20px; }
.section-subtitle { font-size: 1.1rem; color: #666; margin-bottom: 32px; max-width: 640px; }
.lead { font-size: 1.15rem; line-height: 1.75; margin-bottom: 24px; }

.btn { display: inline-block; padding: 13px 28px; border-radius: var(--radius); font-family: var(--font-head); font-weight: 800; font-size: 1rem; cursor: pointer; transition: all .2s ease; border: none; text-decoration: none !important; line-height: 1; white-space: nowrap; }
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-secondary { background: var(--teal); color: var(--white); }
.btn-secondary:hover { background: var(--teal-dark); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--navy); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-sm { padding: 9px 18px; font-size: .9rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* NAV */
#site-nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-height); background: var(--navy); z-index: 1000; box-shadow: 0 2px 16px rgba(0,0,0,.25); }
.nav-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; gap: 8px; }
.nav-logo-text { font-family: var(--font-head); font-weight: 900; font-size: 1.25rem; color: var(--white); letter-spacing: -0.5px; }
.nav-logo-text span { color: var(--orange); }
.nav-logo { flex: 1; }
.nav-logo img { height: 44px; width: auto; }
.nav-logo-img { height: 44px; width: auto; display: block; }
.nav-menu { display: flex; align-items: center; gap: 2px; }
.nav-end { flex: 1; display: flex; justify-content: flex-end; align-items: center; }
.nav-mobile-donate { display: none; }
.nav-item { position: relative; }
.nav-link { display: block; padding: 8px 13px; color: rgba(255,255,255,.88); font-family: var(--font-head); font-weight: 700; font-size: .88rem; letter-spacing: .2px; border-radius: var(--radius); transition: all .2s; white-space: nowrap; }
.nav-link:hover,.nav-link.active { color: var(--white); background: rgba(255,255,255,.12); text-decoration: none; }
.nav-link.has-dropdown::after { content: ' ▾'; font-size: .72rem; opacity: .7; }
.nav-dropdown { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); min-width: 220px; padding: 8px 0; z-index: 1001; }
.nav-dropdown::before { content: ''; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.nav-item:hover .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: 10px 18px; color: var(--navy); font-family: var(--font-head); font-weight: 700; font-size: .88rem; transition: background .15s; }
.nav-dropdown a:hover { background: var(--bg); color: var(--orange); text-decoration: none; }
.nav-donate { background: var(--orange) !important; color: var(--white) !important; border-radius: var(--radius) !important; padding: 9px 18px !important; font-weight: 800 !important; margin-left: 6px; }
.nav-donate:hover { background: var(--orange-dark) !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; background: none; border: none; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }

/* EVENT BANNER */
.event-banner { background: linear-gradient(135deg, var(--orange), #c5681a); color: var(--white); padding: 18px 24px; text-align: center; }
.event-banner h2 { color: var(--white); font-size: 1.3rem; margin-bottom: 4px; }
.event-banner p { margin-bottom: 12px; opacity: .95; }

/* PAGE HEADER */
.page-header { background: var(--navy); color: var(--white); padding: 40px 0 32px; position: relative; overflow: hidden; }
.page-header h1 { color: var(--white); font-size: clamp(1.8rem,4vw,2.6rem); }
.page-header p { color: rgba(255,255,255,.82); margin-top: 8px; font-size: 1.05rem; }
.page-header--orange { background: var(--orange); }
.page-header--teal { background: var(--teal); }
.breadcrumb { font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 8px; font-family: var(--font-head); font-weight: 600; }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--white); }

/* HERO */
.hero { background: var(--navy); color: var(--white); padding: 80px 0 64px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -60px; right: -80px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(224,123,42,0.18) 0%, transparent 70%); pointer-events: none; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.hero-content { position: relative; z-index: 1; }
.hero-image { position: relative; z-index: 1; }
.hero-image img { width: 100%; border-radius: var(--radius-lg); display: block; box-shadow: 0 8px 40px rgba(0,0,0,.35); }
.hero-image a:hover img { transform: scale(1.01); transition: transform .3s ease; }
.hero h1 { color: var(--white); font-size: clamp(2rem,5vw,3.2rem); margin-bottom: 16px; }
.hero .lead { color: rgba(255,255,255,.88); }
.hero-eyebrow { font-family: var(--font-head); font-weight: 700; font-size: .88rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--orange); margin-bottom: 10px; }

/* PAGE HEADER WITH IMAGE */
.page-header--with-img { position: relative; overflow: hidden; min-height: 500px; display: flex; align-items: center; }
.page-header--with-img .page-header-photo { position: absolute; inset: 0; z-index: 0; }
.page-header--with-img .page-header-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-header--with-img .page-header-photo::after { content: ''; position: absolute; inset: 0; background: rgba(20,38,66,0.65); }
.page-header--with-img .container { position: relative; z-index: 1; }

/* CARDS */
.card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px; transition: box-shadow .2s; }
.card:hover { box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card p { color: #5a5a5a; font-size: .97rem; }
.card-icon { font-size: 2.2rem; margin-bottom: 14px; }

/* CALLOUTS */
.callout { border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }
.callout-orange { background: #FEF3E7; border-left: 4px solid var(--orange); }
.callout-teal { background: #E6F4F6; border-left: 4px solid var(--teal); }
.callout-navy { background: #E8EFF7; border-left: 4px solid var(--navy); }
.callout-red { background: #FEE2E2; border-left: 4px solid #dc2626; color: #7f1d1d; }
.callout strong { display: block; margin-bottom: 4px; font-family: var(--font-head); font-size: 1rem; }

/* STATS */
.stats-section { background: var(--navy); padding: 48px 0; }
.stats-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 48px; }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-head); font-size: 2.8rem; font-weight: 900; color: var(--orange); line-height: 1; display: block; }
.stat-label { font-family: var(--font-head); font-weight: 700; color: rgba(255,255,255,.85); font-size: .95rem; margin-top: 4px; }

/* PRICE TABLE */
.price-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .97rem; border-radius: var(--radius); overflow: hidden; }
.price-table th { background: var(--navy); color: var(--white); font-family: var(--font-head); padding: 12px 16px; text-align: left; }
.price-table td { padding: 11px 16px; border-bottom: 1px solid #e0e5ec; background: var(--white); }
.price-table tr:nth-child(even) td { background: var(--bg); }
.price-table tr:hover td { background: #EBF4F5; }
.price-note { font-size: .9rem; color: #666; margin-top: 10px; font-style: italic; }

/* FORMS */
.form-wrapper { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 36px; }
.jotform-embed { width: 100%; min-height: 500px; border: none; }
.form-placeholder { background: var(--bg); border: 2px dashed #bbc5d0; border-radius: var(--radius-lg); padding: 40px; text-align: center; color: #8a9aaa; }
.form-placeholder .form-ph-icon { font-size: 2.5rem; margin-bottom: 12px; }
.form-placeholder p { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.form-placeholder small { font-size: .9rem; color: #8a9aaa; }

/* VOLUNTEER ROLES */
.role-card { border: 2px solid #e0e5ec; border-radius: var(--radius-lg); padding: 24px; background: var(--white); transition: border-color .2s,box-shadow .2s; }
.role-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.role-tag { display: inline-block; background: var(--teal); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .5px; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; }
.role-tag--orange { background: var(--orange); }
.role-tag--navy { background: var(--navy); }
.role-meta { font-size: .88rem; color: #777; margin-top: 8px; font-family: var(--font-head); font-weight: 600; }

/* SPONSORS */
.sponsor-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: center; margin: 28px 0; }
.sponsor-item { background: var(--white); border-radius: var(--radius); padding: 16px 24px; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; min-width: 120px; transition: box-shadow .2s, transform .2s; }
.sponsor-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.sponsor-item img { max-height: 64px; max-width: 160px; width: auto; height: auto; object-fit: contain; display: block; }
.sponsor-name { font-family: var(--font-head); font-weight: 800; font-size: .92rem; color: var(--navy); }
.sponsor-tier-label { font-family: var(--font-head); font-weight: 700; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); text-align: center; margin: 32px 0 4px; }
.sponsor-item--lg img { max-height: 96px; max-width: 220px; }
.sponsor-item--md img { max-height: 72px; max-width: 175px; }
.sponsor-item--sm img { max-height: 56px; max-width: 140px; }
.sponsor-item--lg { padding: 20px 28px; }
@media (max-width: 600px) { .sponsor-item--lg img { max-height: 72px; max-width: 170px; } .sponsor-item--md img { max-height: 60px; } }

/* PARTNERS STRIP */
.partners-strip { background: var(--white); padding: 48px 0; border-top: 1px solid #e0e5ec; }
.partners-strip .section-label { font-family: var(--font-head); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; color: #999; text-align: center; margin-bottom: 24px; }
.partners-strip .sponsor-grid { margin: 0; }

/* CTA STRIP */
.cta-strip { background: var(--navy); color: var(--white); padding: 56px 0; text-align: center; }
.cta-strip h2 { color: var(--white); margin-bottom: 12px; }
.cta-strip p { color: rgba(255,255,255,.8); margin-bottom: 28px; font-size: 1.05rem; }

/* FOOTER */
#site-footer { background: var(--navy-dark); color: rgba(255,255,255,.8); padding: 52px 0 24px; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo-text { font-family: var(--font-head); font-weight: 900; font-size: 1.35rem; color: var(--white); margin-bottom: 8px; }
.footer-logo-text span { color: var(--orange); }
.footer-logo-img { height: 52px; width: auto; display: block; margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; line-height: 1.65; margin-top: 8px; }
.footer-col h4 { font-family: var(--font-head); font-weight: 800; font-size: .88rem; color: var(--white); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color .15s; }
.footer-col ul li a:hover { color: var(--orange); text-decoration: none; }
.footer-contact p { font-size: .9rem; margin-bottom: 6px; }
.footer-contact a { color: rgba(255,255,255,.65); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.45); }
.footer-bottom a { color: rgba(255,255,255,.5); }

/* CONFIRM PAGES */
.confirm-wrap { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 60px 24px; }
.confirm-box { max-width: 560px; }
.confirm-icon { font-size: 4rem; margin-bottom: 20px; }
.confirm-box h1 { font-size: 2.2rem; margin-bottom: 12px; }
.confirm-box p { font-size: 1.1rem; color: #666; margin-bottom: 28px; }

/* MOBILE */
.sticky-cta-mobile { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--orange); padding: 12px 16px; z-index: 999; justify-content: center; gap: 10px; box-shadow: 0 -4px 16px rgba(0,0,0,.2); }
.sticky-cta-mobile a { flex: 1; text-align: center; max-width: 180px; font-size: .92rem; padding: 11px 16px; }

@media (max-width: 1024px) { .footer-inner { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .nav-menu { display: none; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: var(--nav-height); left: 0; right: 0; background: var(--navy); padding: 8px 0 16px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
  .nav-menu.open { display: flex; }
  .nav-item { width: 100%; }
  .nav-link { padding: 12px 20px; border-radius: 0; font-size: 1rem; }
  .nav-dropdown { position: static; box-shadow: none; background: rgba(255,255,255,.06); border-radius: 0; padding: 0; display: none; }
  .nav-dropdown a { color: rgba(255,255,255,.8); padding: 10px 36px; font-size: .92rem; }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-hamburger { display: flex; }
  .nav-end { display: none; }
  .nav-mobile-donate { display: block; }
  .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 40px; }
  .hero-split { grid-template-columns: 1fr; gap: 28px; }
  .hero-image { order: -1; }
  .section { padding: 40px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .stats-row { gap: 28px; }
  .stat-number { font-size: 2.2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .sticky-cta-mobile { display: flex; }
  body { padding-bottom: 60px; }
}
@media (max-width: 480px) { .container { padding: 0 16px; } .btn-lg { padding: 13px 22px; font-size: 1rem; } }
.jotform-mobile-fallback { display: none; }
@media (max-width: 768px) { .jotform-desktop-embed { display: none; } .jotform-mobile-fallback { display: block; } }

/* ===== Pet Fest 2026 ===== */
.petfest-hero-grid { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: center; }
.petfest-hero-art img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); display: block; }
.petfest-facts { list-style: none; padding: 0; margin: 0; }
.petfest-facts li { font-size: 1.12rem; color: var(--navy); padding: 7px 0; border-bottom: 1px solid #eee; }
.petfest-facts li:last-child { border-bottom: 0; }
.petfest-qr { display: flex; gap: 20px; align-items: center; }
.petfest-qr img { width: 120px; height: 120px; flex: 0 0 auto; border-radius: 8px; background: #fff; padding: 6px; box-shadow: var(--shadow); }
.petfest-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.petfest-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); display: block; transition: transform .2s, box-shadow .2s; }
.petfest-gallery img:hover { transform: translateY(-2px) scale(1.01); box-shadow: var(--shadow-lg); }
@media (max-width: 900px) {
  .petfest-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .petfest-hero-art { max-width: 360px; margin: 0 auto; }
  .petfest-gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .petfest-gallery { grid-template-columns: repeat(2, 1fr); }
  .petfest-qr { flex-direction: column; text-align: center; }
}
