/* Bill and Toni Clark Ministries - Static Site
   Clean, mobile-first design */

/* CSS Variables */
:root {
    --primary: #bf0a30;
    --primary-dark: #a00828;
    --secondary: #00152f;
    --dark-navy: #000d1a;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --muted: #666666;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: light only;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: var(--white);
}

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

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--secondary);
    color: var(--white);
}

.section-dark h2, .section-dark h3 {
    color: var(--white);
}

.section-primary {
    background: var(--primary);
    color: var(--white);
}

.section-light {
    background: var(--light-gray);
}

/* Header */
header {
    background: var(--white);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav a {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary);
}

nav a:hover {
    color: var(--primary);
}

.btn-donate {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 4px;
}

.btn-donate:hover {
    background: var(--primary-dark);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary);
}

/* Hero Section */
.hero {
    background: var(--secondary);
    color: var(--white);
    padding: 80px 0;
}

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

.hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero .scripture {
    font-style: italic;
    font-size: 0.875rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    font-size: 1.25rem;
    margin: 20px 0;
    font-style: italic;
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 30px;
}

.hero-image img {
    border-radius: 8px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--secondary);
}

.btn-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.about-content img {
    border-radius: 8px;
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content p {
    color: var(--muted);
    margin-bottom: 15px;
}

/* Pillars Section */
.pillars {
    text-align: center;
}

.pillars h2 {
    margin-bottom: 50px;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pillar {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.pillar:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.pillar img {
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
}

.pillar h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.pillar p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.9);
}

/* YouTube Section */
.youtube-section {
    text-align: center;
}

.youtube-section h2 {
    margin-bottom: 10px;
}

.youtube-section .subtitle {
    color: var(--muted);
    margin-bottom: 40px;
}

.youtube-embed {
    max-width: 900px;
    margin: 0 auto 40px;
    aspect-ratio: 16/9;
}

.youtube-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* CTA Section */
.cta {
    text-align: center;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn {
    background: var(--white);
    color: var(--primary);
    padding: 16px 40px;
}

.cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: var(--dark-navy);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 0.875rem;
    opacity: 0.8;
}

footer h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 15px;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 10px;
}

footer a {
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
}

footer a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-bottom a {
    color: var(--primary);
}

/* Page Headers */
.page-header {
    background: var(--secondary);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 5px;
}

.page-header p {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Speaker Page */
.speaker-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.speaker-image img {
    border-radius: 8px;
    width: 100%;
}

.speaker-image p {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--muted);
    margin-top: 10px;
}

.speaker-bio h2 {
    margin-bottom: 20px;
}

.speaker-bio p {
    color: var(--muted);
    margin-bottom: 15px;
}

.speaker-bio h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.speaker-bio ul {
    color: var(--muted);
    margin-left: 20px;
}

.speaker-bio li {
    margin-bottom: 8px;
}

.press-materials {
    text-align: center;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid #eee;
}

.press-materials img {
    max-width: 600px;
    margin: 20px auto;
    border-radius: 8px;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--muted);
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-details strong {
    color: var(--secondary);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero-content,
    .about-content,
    .speaker-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 400px;
        margin: 0 auto;
    }

    .btn-group {
        justify-content: center;
    }

    .about-content img {
        max-width: 500px;
        margin: 0 auto;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

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

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .section {
        padding: 50px 0;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    nav ul.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

/* YouTube Loading Spinner */
.youtube-embed {
    position: relative;
    background: #1a1a2e;
}

.youtube-embed::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border: 4px solid rgba(255,255,255,0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

.youtube-embed iframe {
    position: relative;
    z-index: 2;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-navy);
    color: var(--white);
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

.cookie-banner p {
    margin: 0;
    font-size: 0.875rem;
}

.cookie-banner a {
    color: var(--primary);
}

.cookie-banner .btn {
    padding: 8px 20px;
    font-size: 0.75rem;
}

.cookie-banner.hidden {
    display: none;
}
