/*
Theme Name: MySeniorHelp
Theme URI: https://myseniorhelp.org
Author: MySeniorHelp
Author URI: https://myseniorhelp.org
Description: A warm, accessible theme for MySeniorHelp.org — helping seniors manage finances, insurance, and more.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: myseniorhelp
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.7;
    color: #2d2d2d;
    background: #ffffff;
}

a {
    color: #1a5c96;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0e3d6b;
    text-decoration: underline;
}

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

ul, ol {
    padding-left: 1.5rem;
}

/* =====================
   TYPOGRAPHY
===================== */
h1, h2, h3, h4, h5 {
    font-family: 'Georgia', serif;
    color: #1a3d5c;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

/* =====================
   LAYOUT
===================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 70px 0;
}

/* =====================
   HEADER
===================== */
#site-header {
    background: #ffffff;
    border-bottom: 3px solid #1a5c96;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.site-logo {
    display: flex;
    flex-direction: column;
}

.site-logo .logo-text {
    font-size: 1.6rem;
    font-weight: bold;
    color: #1a3d5c;
    font-family: 'Georgia', serif;
    line-height: 1.1;
}

.site-logo .logo-tagline {
    font-size: 0.78rem;
    color: #5a8ab0;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* NAV */
#site-nav ul {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 0;
    margin: 0;
    align-items: center;
}

#site-nav ul li a {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: Arial, sans-serif;
    color: #1a3d5c;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

#site-nav ul li a:hover,
#site-nav ul li a.current-menu-item {
    background: #1a5c96;
    color: #ffffff;
}

#site-nav ul li.nav-cta a {
    background: #e8700a;
    color: #fff;
    border-radius: 4px;
}

#site-nav ul li.nav-cta a:hover {
    background: #c45d07;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: 2px solid #1a5c96;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    color: #1a5c96;
    font-size: 1.2rem;
}

/* =====================
   HERO
===================== */
.hero {
    background: linear-gradient(135deg, #1a3d5c 0%, #1a5c96 60%, #2d80c2 100%);
    color: #ffffff;
    padding: 90px 24px;
    text-align: center;
}

.hero h1 {
    color: #ffffff;
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.2rem;
    color: #d0e8f7;
    max-width: 680px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 1.05rem;
    font-family: Arial, sans-serif;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background 0.2s, transform 0.1s;
}

.btn:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-primary {
    background: #e8700a;
    color: #ffffff;
}

.btn-primary:hover {
    background: #c45d07;
    color: #ffffff;
}

.btn-secondary {
    background: #ffffff;
    color: #1a3d5c;
    margin-left: 12px;
}

.btn-secondary:hover {
    background: #eaf2fb;
    color: #1a3d5c;
}

.btn-outline {
    background: transparent;
    color: #1a5c96;
    border: 2px solid #1a5c96;
}

.btn-outline:hover {
    background: #1a5c96;
    color: #ffffff;
}

/* =====================
   TRUST BAR
===================== */
.trust-bar {
    background: #f0f7ff;
    border-top: 1px solid #cce0f5;
    border-bottom: 1px solid #cce0f5;
    padding: 20px 24px;
}

.trust-bar-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    align-items: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
    color: #1a3d5c;
    font-weight: 600;
}

.trust-item .trust-icon {
    font-size: 1.4rem;
}

/* =====================
   SERVICES GRID (Homepage)
===================== */
.services-section {
    background: #ffffff;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-sub {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 28px;
    margin-top: 2rem;
}

.service-card {
    background: #f8fbff;
    border: 1px solid #d5e8f7;
    border-radius: 10px;
    padding: 32px 24px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
    box-shadow: 0 6px 20px rgba(26,92,150,0.12);
    transform: translateY(-3px);
}

.service-card .service-icon {
    font-size: 2.6rem;
    margin-bottom: 16px;
    display: block;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.92rem;
    color: #555;
    margin: 0;
}

/* =====================
   WHY US (Homepage)
===================== */
.why-section {
    background: #f4f9ff;
}

.why-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.why-text h2 {
    margin-bottom: 1rem;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.why-list li {
    padding: 10px 0;
    padding-left: 32px;
    position: relative;
    font-size: 1rem;
    border-bottom: 1px solid #dce9f5;
}

.why-list li:last-child {
    border-bottom: none;
}

.why-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2a9d2a;
    font-weight: bold;
    font-size: 1.1rem;
}

.why-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-box {
    background: #ffffff;
    border: 1px solid #d0e5f5;
    border-radius: 10px;
    padding: 28px 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.stat-box .stat-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: #1a5c96;
    font-family: Arial, sans-serif;
    display: block;
}

.stat-box .stat-label {
    font-size: 0.88rem;
    color: #666;
    font-family: Arial, sans-serif;
}

/* =====================
   TESTIMONIAL
===================== */
.testimonials-section {
    background: #1a3d5c;
    color: #ffffff;
}

.testimonials-section h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 2.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    padding: 28px;
}

.testimonial-card .quote {
    font-style: italic;
    font-size: 1rem;
    color: #d0e8f7;
    margin-bottom: 16px;
    line-height: 1.7;
}

.testimonial-card .author {
    font-family: Arial, sans-serif;
    font-weight: 700;
    color: #f0c070;
    font-size: 0.9rem;
}

/* =====================
   CTA BANNER
===================== */
.cta-banner {
    background: #e8700a;
    color: #ffffff;
    text-align: center;
    padding: 60px 24px;
}

.cta-banner h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-banner p {
    color: rgba(255,255,255,0.9);
    max-width: 580px;
    margin: 0 auto 2rem;
}

/* =====================
   PAGE HERO (inner pages)
===================== */
.page-hero {
    background: linear-gradient(135deg, #1a3d5c, #1a5c96);
    color: #ffffff;
    padding: 60px 24px;
    text-align: center;
}

.page-hero h1 {
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.page-hero p {
    color: #c8dff0;
    font-size: 1.1rem;
    margin: 0;
}

/* =====================
   ABOUT PAGE
===================== */
.about-intro {
    background: #fff;
}

.about-intro-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-placeholder {
    background: linear-gradient(135deg, #d0e8f7, #eaf5ff);
    border-radius: 12px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}

.values-section {
    background: #f4f9ff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 2rem;
}

.value-card {
    background: #ffffff;
    border-left: 4px solid #1a5c96;
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.value-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.value-card p {
    font-size: 0.92rem;
    color: #555;
    margin: 0;
}

/* =====================
   SERVICES PAGE
===================== */
.service-detail {
    padding: 56px 0;
    border-bottom: 1px solid #e5eef7;
}

.service-detail:last-child {
    border-bottom: none;
}

.service-detail-inner {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 28px;
    align-items: start;
}

.service-detail .service-icon-lg {
    font-size: 3.5rem;
    text-align: center;
    line-height: 1;
}

.service-detail h2 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
}

.service-detail ul {
    margin-top: 0.75rem;
    color: #444;
}

.service-detail ul li {
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

/* =====================
   RESOURCES PAGE
===================== */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 2rem;
}

.resource-card {
    background: #f8fbff;
    border: 1px solid #d5e8f7;
    border-radius: 10px;
    padding: 28px;
}

.resource-card .resource-tag {
    display: inline-block;
    background: #1a5c96;
    color: #fff;
    font-size: 0.75rem;
    font-family: Arial, sans-serif;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.resource-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.resource-card p {
    font-size: 0.92rem;
    color: #555;
    margin-bottom: 16px;
}

/* =====================
   CONTACT PAGE
===================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info p {
    color: #555;
    font-size: 1rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 20px 0;
    padding: 18px;
    background: #f4f9ff;
    border-radius: 8px;
    border-left: 3px solid #1a5c96;
}

.contact-detail .icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-detail .detail-text strong {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin-bottom: 2px;
}

.contact-detail .detail-text span {
    font-size: 1rem;
    color: #1a3d5c;
    font-weight: 600;
}

/* CONTACT FORM */
.contact-form-wrap {
    background: #f8fbff;
    border: 1px solid #d5e8f7;
    border-radius: 12px;
    padding: 36px;
}

.contact-form-wrap h2 {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a3d5c;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #c0d9ef;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    color: #2d2d2d;
    background: #ffffff;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a5c96;
    box-shadow: 0 0 0 3px rgba(26,92,150,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* =====================
   FOOTER
===================== */
#site-footer {
    background: #1a3d5c;
    color: #c8d8e8;
    padding: 60px 0 0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-brand .footer-logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffffff;
    font-family: 'Georgia', serif;
    margin-bottom: 12px;
    display: block;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #a0b8cc;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 16px;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #a0b8cc;
    font-size: 0.92rem;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #a0b8cc;
}

.footer-contact-item .fi {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 48px;
    padding: 20px 24px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #7a9ab5;
    margin: 0;
}

.footer-bottom a {
    color: #a0b8cc;
}

/* =====================
   BREADCRUMB
===================== */
.breadcrumb {
    background: #eaf3fb;
    padding: 10px 0;
    border-bottom: 1px solid #d0e5f5;
}

.breadcrumb-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    font-size: 0.85rem;
    font-family: Arial, sans-serif;
    color: #666;
}

.breadcrumb-inner a {
    color: #1a5c96;
}

.breadcrumb-inner span {
    margin: 0 6px;
    color: #aaa;
}

/* =====================
   GENERIC PAGE CONTENT
===================== */
.page-content-wrap {
    background: #fff;
}

.page-content-inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 64px 24px;
}

/* =====================
   NOTICE BANNER
===================== */
.notice-success {
    background: #d4f0d4;
    border: 1px solid #7bc97b;
    color: #1a4a1a;
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 24px;
    font-family: Arial, sans-serif;
    font-size: 0.95rem;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 900px) {
    .why-inner,
    .about-intro-inner,
    .contact-layout,
    .footer-inner {
        grid-template-columns: 1fr;
    }

    .why-stats {
        grid-template-columns: 1fr 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 680px) {
    body { font-size: 16px; }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }

    .hero h1 { font-size: 2rem; }

    #site-nav { display: none; }
    #site-nav.open { display: block; }
    #site-nav ul {
        flex-direction: column;
        padding: 12px 0;
        gap: 4px;
    }
    #site-nav ul li a {
        display: block;
        padding: 10px 20px;
    }

    .nav-toggle { display: block; }

    .header-inner { flex-wrap: wrap; }

    .form-row { grid-template-columns: 1fr; }

    .footer-inner { grid-template-columns: 1fr; }

    .footer-bottom { flex-direction: column; text-align: center; }

    .trust-bar-inner { gap: 24px; }

    .hero { padding: 60px 24px; }

    section { padding: 50px 0; }

    .service-detail-inner { grid-template-columns: 1fr; }
    .service-detail .service-icon-lg { text-align: left; font-size: 2.5rem; }
}
