/* AHJCC Squarespace Replicated Stylesheet */
:root {
    --primary: #1c2d42;
    --accent: #d4a373;
    --dark: #1a1a1a;
    --light-bg: #f8f9fa;
    --text-muted: #555555;
    --font-family: 'Noto Sans JP', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--dark);
    background-color: #ffffff;
    line-height: 1.7;
}

/* Header */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}
.header-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
}
.header-logo-img {
    height: 55px;
    width: auto;
    border-radius: 4px;
    background: #ffffff;
    padding: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.nav-menu {
    display: flex;
    gap: 32px;
}
.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    transition: opacity 0.25s ease;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.nav-link:hover {
    opacity: 0.8;
}
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    height: 85vh;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
}
.hero-content {
    max-width: 900px;
    padding: 24px;
}
.hero-title-main {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 12px;
    text-shadow: 0 3px 15px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}
.hero-subtitle-sub {
    font-size: 1.8rem;
    font-weight: 700;
    opacity: 0.95;
    text-shadow: 0 3px 15px rgba(0,0,0,0.5);
}

/* Section Common */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}
.max-w-600 {
    max-width: 600px;
}
.text-center {
    text-align: center;
}

/* Intro Section */
.intro-section {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.intro-flex {
    display: flex;
    gap: 60px;
    align-items: center;
}
.intro-left-col {
    flex: 1;
}
.intro-heading {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 24px;
}
.ahjcc-about-btn {
    display: inline-block;
    background-color: var(--primary);
    color: #ffffff;
    text-decoration: none;
    padding: 14px 36px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.25s ease;
}
.ahjcc-about-btn:hover {
    background-color: var(--dark);
}
.intro-right-col {
    flex: 1.8;
}
.intro-large-text {
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.6;
    color: var(--dark);
}

/* Podcast Section */
.podcast-section {
    background-color: var(--light-bg);
}
.podcast-heading {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 40px;
    color: var(--primary);
}
.podcast-text-content {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark);
}
.podcast-text-content p {
    margin-bottom: 16px;
}
.highlight-text {
    font-weight: 700;
    color: var(--primary);
}
.podcast-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}
.podcast-badge-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.25s ease;
}
.spotify-badge {
    background-color: #1ed760;
    color: #ffffff;
}
.spotify-badge:hover {
    background-color: #1db954;
}
.apple-badge {
    background-color: #000000;
    color: #ffffff;
}
.apple-badge:hover {
    background-color: #333333;
}

/* Churches Section */
.churches-section {
    background-color: #ffffff;
}
.churches-heading-underlined {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 12px;
}
.churches-heading-underlined::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary);
}
.churches-4col-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}
.church-grid-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.church-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
.church-card-image {
    height: 180px;
    overflow: hidden;
}
.church-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.church-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.church-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
    line-height: 1.4;
}
.en-sub {
    font-size: 0.8rem;
    font-weight: 400;
    color: #666;
}
.church-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}
.church-site-btn {
    display: block;
    background-color: var(--primary);
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    padding: 10px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: background-color 0.25s ease;
}
.church-site-btn:hover {
    background-color: var(--dark);
}

/* Work Section */
.work-section {
    background-color: var(--light-bg);
}
.work-flex {
    display: flex;
    gap: 60px;
    align-items: center;
}
.work-left-col {
    flex: 1.2;
}
.work-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.work-right-col {
    flex: 1;
}
.work-heading {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 20px;
}
.work-text {
    font-size: 1.1rem;
    color: var(--dark);
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    background-color: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.section-heading {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 40px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}
.form-group label {
    font-weight: 700;
    font-size: 0.95rem;
}
.form-group input, .form-group textarea {
    padding: 14px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.submit-btn {
    display: block;
    width: 100%;
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.25s ease;
}
.submit-btn:hover {
    background-color: var(--dark);
}

/* Footer */
.main-footer {
    background-color: #eaecf0;
    color: var(--dark);
    padding-top: 60px;
    font-size: 0.95rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.footer-cols {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto;
    padding-0 24px 40px 24px;
}
.footer-col h3 {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
}
.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 16px;
}
.footer-socials {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}
.footer-socials a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}
.footer-socials a:hover {
    text-decoration: underline;
}
.footer-email-large {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 4px;
}
.footer-email-large a {
    color: inherit;
    text-decoration: none;
}
.policy-links {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}
.policy-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
}
.policy-links a:hover {
    color: var(--primary);
}
.footer-bottom {
    border-top: 1px solid rgba(0,0,0,0.05);
    padding: 24px;
    font-size: 0.8rem;
    color: #666666;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.success-message-modal, .policy-modal {
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}
.close-modal-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.8rem;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #999999;
}
.success-icon {
    font-size: 3.5rem;
    color: #2ecc71;
    margin-bottom: 16px;
}
.cta-button {
    background: var(--primary);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 4px;
    border: none;
    font-weight: 700;
    cursor: pointer;
}
.policy-scroll-content {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 16px;
    padding-right: 10px;
}
.policy-scroll-content p {
    margin-bottom: 12px;
}

/* Responsive */
@media(max-width: 992px) {
    .intro-flex, .work-flex, .footer-cols {
        flex-direction: column;
        gap: 32px;
    }
    .hero-title-main {
        font-size: 2.5rem;
    }
    .hero-subtitle-sub {
        font-size: 1.2rem;
    }
    .intro-heading, .podcast-heading, .churches-heading-underlined, .work-heading, .section-heading {
        font-size: 1.8rem;
    }
    .intro-large-text {
        font-size: 1.25rem;
    }
    .main-header .nav-menu {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}
