/**
 * NAPCH Interior Pages — Shared Stylesheet
 * Used by: about, training, certification-tests, trainers, membership
 * Matches PHP new-theme/ design language
 */

/* ─── Page Hero Section ─── */
.page-hero {
    height: 50vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 0 0 50% 50% / 0 0 100px 100px;
    margin-bottom: 80px;
}
.page-hero .hero-content {
    color: white;
    text-align: center;
    width: 100%;
}
.page-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 4px 4px 8px rgba(0,0,0,0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.page-hero .hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* ─── Page Section Titles ─── */
.page-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--napch-navy);
    margin-bottom: 1rem;
    text-align: center;
}
.page-section-subtitle {
    font-size: 1.1rem;
    color: #666;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ─── Mission / Info Cards ─── */
.mission-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    border-left: 5px solid var(--napch-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.mission-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--napch-blue), var(--napch-navy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.mission-icon i { color: white; font-size: 1.5rem; }
.mission-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--napch-navy);
    margin-bottom: 1rem;
}
.mission-text { color: #666; line-height: 1.7; }

/* ─── Values Grid ─── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.value-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--napch-yellow), #f0c419);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.value-icon i { color: var(--napch-navy); font-size: 2rem; }
.value-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--napch-navy);
    margin-bottom: 1rem;
}
.value-text { color: #666; line-height: 1.6; }

/* ─── Trainer / Membership Cards ─── */
.trainer-card,
.membership-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 100%;
    border: none;
    position: relative;
    overflow: hidden;
}
.trainer-card::before,
.membership-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--napch-blue) 0%, var(--napch-yellow) 100%);
    border-radius: 25px 25px 0 0;
}
.trainer-card:hover,
.membership-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    border-radius: 30px;
}
.trainer-card .card-icon,
.membership-card .card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--napch-blue) 0%, var(--napch-navy) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(19, 125, 197, 0.3);
    transition: all 0.3s ease;
}
.trainer-card .master-icon,
.membership-card .premium-icon {
    background: linear-gradient(135deg, var(--napch-red) 0%, var(--napch-navy) 100%);
    box-shadow: 0 8px 20px rgba(191, 25, 34, 0.3);
}
.trainer-card:hover .card-icon,
.membership-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(19, 125, 197, 0.4);
}
.trainer-card .card-icon i,
.membership-card .card-icon i {
    font-size: 1.8rem;
    color: white;
}
.trainer-card h4,
.membership-card h4 {
    color: var(--napch-navy);
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.5rem;
}
.trainer-card .card-subtitle,
.membership-card .card-subtitle {
    color: #666;
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* ─── Requirements / Benefits Lists ─── */
.trainer-requirements h5,
.benefits h5 {
    color: var(--napch-navy);
    margin-bottom: 1rem;
    font-weight: 600;
}
.trainer-requirements ul,
.benefits-list {
    list-style: none;
    padding: 0;
}
.trainer-requirements li,
.benefits-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}
.trainer-requirements li:before,
.benefits-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--napch-blue);
    font-weight: bold;
}
.trainer-requirements li:last-child,
.benefits-list li:last-child {
    border-bottom: none;
}

/* ─── Certification Test Grid ─── */
.test-grid,
.certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.test-card,
.cert-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid var(--napch-blue);
}
.test-card:hover,
.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.test-icon,
.cert-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--napch-yellow), #f0c419);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}
.test-icon i,
.cert-icon i {
    color: var(--napch-navy);
    font-size: 2rem;
}
.test-title,
.cert-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--napch-navy);
    margin-bottom: 1rem;
}
.test-text,
.cert-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.test-link,
.cert-link {
    color: var(--napch-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}
.test-link:hover,
.cert-link:hover {
    color: var(--napch-navy);
}

/* ─── Category Sections ─── */
.category-section { margin-bottom: 4rem; }
.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--napch-navy);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}
.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--napch-blue);
}

/* ─── Certification Note ─── */
.certification-note {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--napch-yellow);
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

/* ─── Parallax Separator ─── */
.parallax-separator {
    position: relative;
    height: 15vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}
.parallax-separator h3 {
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    color: white;
}

/* ─── Page CTA Section ─── */
.page-cta {
    background: linear-gradient(135deg, var(--napch-navy) 0%, var(--napch-blue) 100%);
    color: white;
    padding: 5rem 0;
}
.page-cta .page-section-title { color: white; font-size: 3.5rem; }
.page-cta .page-section-subtitle {
    color: rgba(255,255,255,0.9);
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

/* ─── CTA Buttons ─── */
.cta-button {
    background: linear-gradient(135deg, var(--napch-red) 0%, var(--napch-navy) 100%);
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}
.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(191, 25, 34, 0.3);
    color: white;
}

/* ─── Requirements List (About page) ─── */
.requirements-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}
.requirements-list li {
    padding: 0.4rem 0 0.4rem 1.5rem;
    position: relative;
    color: #555;
}
.requirements-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--napch-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .parallax-separator {
        background-attachment: scroll !important;
    }
    .page-hero {
        background-attachment: scroll;
        height: 40vh;
        min-height: 300px;
    }
    .page-hero .hero-title { font-size: 2.2rem; }
    .page-hero .hero-subtitle { font-size: 1rem; }
    .section-padding { padding: 3rem 0; }
    .mission-card,
    .trainer-card,
    .membership-card,
    .test-card,
    .cert-card { padding: 1.5rem; }
    .test-grid,
    .certification-grid { grid-template-columns: 1fr; }
    .page-cta .page-section-title { font-size: 2.2rem; }
}
