/*
Theme Name: Friends in Need Health Center
Theme URI: https://friendsinneed.us
Author: Friends in Need Health Center
Description: Official WordPress theme for Friends in Need Health Center – a 501(c)(3) charitable clinic serving Northeast Tennessee and Southwest Virginia.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: friends-in-need
Tags: health, nonprofit, one-column, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options

Color Palette:
  Primary Dark:   #28384B
  Primary Navy:   #1E2B3A
  Accent Teal:    #129AAE
  Accent Cyan:    #2BC4DB
  Warm Cream:     #F6F2EB
  Border Warm:    #EDE8DF
  Text Body:      #4A5666
*/

/* ===== Reset & Base ===== */
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Source Sans 3', sans-serif; color: #28384B; background: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
* { box-sizing: border-box; }
img { max-width: 100%; height: auto; }
a { color: #129AAE; }
::selection { background: #129AAE; color: #fff; }

/* ===== Utility bar ===== */
.fin-topbar { background: #1E2B3A; color: #C7D2DE; font-size: 14px; }
.fin-topbar__inner { max-width: 1200px; margin: 0 auto; padding: 9px 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.fin-topbar__contact { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.fin-topbar__contact span { display: inline-flex; align-items: center; gap: 8px; }
.fin-topbar__label { color: #2BC4DB; font-weight: 700; }

/* ===== Navigation ===== */
.fin-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94); backdrop-filter: blur(10px); border-bottom: 1px solid #EDE8DF; }
.fin-header__inner { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.fin-logo img { height: 52px; width: auto; display: block; }
.fin-nav { display: flex; align-items: center; gap: 30px; }
.fin-nav a { color: #3C4A5A; text-decoration: none; font-weight: 600; font-size: 15.5px; position: relative; transition: color .2s; }
.fin-nav a::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: #129AAE; transition: width .25s ease; }
.fin-nav a:hover { color: #129AAE; }
.fin-nav a:hover::after { width: 100%; }
.fin-nav a.current-menu-item,
.fin-nav a.active { color: #129AAE; font-weight: 700; }
.fin-nav .fin-btn-donate { background: #129AAE; color: #fff !important; padding: 11px 22px; border-radius: 999px; box-shadow: 0 6px 16px rgba(18,154,174,0.28); transition: transform .18s ease, box-shadow .25s ease, background .2s ease; }
.fin-nav .fin-btn-donate::after { display: none; }
.fin-nav .fin-btn-donate:hover { background: #0E8092; transform: translateY(-2px); }

/* Hamburger */
.fin-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: #28384B; }
.fin-mobile-nav { display: none; background: #fff; border-top: 1px solid #EDE8DF; padding: 16px 24px 24px; }
.fin-mobile-nav a { display: block; padding: 12px 0; border-bottom: 1px solid #EDE8DF; color: #3C4A5A; text-decoration: none; font-weight: 600; font-size: 16px; }
.fin-mobile-nav a:last-child { border-bottom: none; }
.fin-mobile-nav .fin-btn-donate { display: block; margin-top: 14px; text-align: center; background: #129AAE; color: #fff !important; padding: 14px 22px; border-radius: 999px; font-weight: 700; text-decoration: none; }

/* ===== Reveal animation ===== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); will-change: opacity,transform; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; } }

/* ===== Lift cards ===== */
.lift { transition: transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s cubic-bezier(.22,.61,.36,1); }
.lift:hover { transform: translateY(-7px); box-shadow: 0 26px 56px rgba(40,56,75,0.16); }

/* ===== Buttons ===== */
.fin-btn { display: inline-flex; align-items: center; justify-content: center; transition: transform .18s ease, box-shadow .25s ease, background .2s ease; text-decoration: none; font-weight: 700; border-radius: 999px; }
.fin-btn:hover { transform: translateY(-2px); }
.fin-btn:active { transform: translateY(0); }
.fin-btn--primary { background: #129AAE; color: #fff; box-shadow: 0 10px 26px rgba(18,154,174,0.36); }
.fin-btn--primary:hover { background: #0E8092; color: #fff; }
.fin-btn--ghost { background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.3); color: #fff; }
.fin-btn--ghost:hover { background: rgba(255,255,255,0.16); color: #fff; }
.fin-btn--white { background: #fff; color: #0E7C8D; }
.fin-btn--white:hover { background: #EAFBFD; color: #0E7C8D; }
.fin-btn--dark { background: #28384B; color: #fff; }
.fin-btn--dark:hover { background: #1E2B3A; color: #fff; }

/* ===== Partner logos ===== */
.plogo { background: #fff; border: 1px solid #EDE8DF; border-radius: 14px; height: 104px; display: flex; align-items: center; justify-content: center; padding: 18px; transition: transform .2s ease, box-shadow .2s ease; }
.plogo:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(40,56,75,0.12); }
.plogo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* ===== FAQ ===== */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details[open] .faq-plus { transform: rotate(45deg); }
.faq-plus { color: #129AAE; font-size: 26px; font-weight: 300; transition: transform .2s; line-height: 1; }

/* ===== Nav links inline ===== */
.nav-link { position: relative; transition: color .2s; text-decoration: none; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0; background: #129AAE; transition: width .25s ease; }
.nav-link:hover { color: #129AAE !important; }
.nav-link:hover::after { width: 100%; }

/* ===== Generic page content ===== */
.fin-page-content { max-width: 900px; margin: 0 auto; padding: 80px 24px; }
.fin-page-content h1, .fin-page-content h2, .fin-page-content h3 { font-family: 'Archivo', sans-serif; color: #28384B; }
.fin-page-content p { font-size: 18px; color: #4A5666; margin-bottom: 18px; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .fin-nav { display: none; }
  .fin-hamburger { display: flex; }
  .hero-grid,
  .two-col { grid-template-columns: 1fr !important; }
  .stat-grid { grid-template-columns: 1fr 1fr !important; }
  .three-col { grid-template-columns: 1fr !important; }
  .partner-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 560px) {
  .partner-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
