/* Arise Church Squarespace Replicated Stylesheet */
:root {
    --primary: #e67e22;
    --dark: #111111;
    --light-bg: #ececec;
    --white: #ffffff;
    --text-dark: #222222;
    --text-muted: #555555;
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Header styling */
.main-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}
.logo-link {
    display: flex;
    align-items: center;
}
.header-logo-img {
    height: 52px;
    width: auto;
}
.nav-menu {
    display: flex;
    gap: 32px;
}
.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    transition: opacity 0.25s ease;
}
.nav-link:hover {
    opacity: 0.7;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-socials {
    display: flex;
    gap: 14px;
}
.header-social-link {
    color: var(--text-dark);
    transition: transform 0.2s ease;
}
.header-social-link:hover {
    transform: scale(1.1);
}
.outline-btn {
    background: transparent;
    border: 1.5px solid var(--dark);
    color: var(--dark);
    padding: 8px 24px;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
}
.outline-btn:hover {
    background: var(--dark);
    color: #ffffff;
}
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--dark);
}

/* Sections */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

/* Hero Sermon Section */
.hero-section {
    background-color: var(--light-bg);
    padding-top: 40px;
}
.hero-banner-card {
    height: 600px;
    border-radius: 40px;
    background-image: url('image/hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}
.sermon-details-overlay {
    position: absolute;
    bottom: 50px;
    left: 50px;
    right: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.sermon-badge-tag {
    background-color: #000000;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 2px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.sermon-title-text-box {
    background-color: #000000;
    color: #ffffff;
    font-size: 3.2rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 2px;
    line-height: 1.15;
    margin-bottom: 24px;
    max-width: 90%;
}
.watch-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #000000;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.25s ease, background-color 0.25s ease;
}
.watch-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Values Grid */
.values-section {
    background-color: var(--light-bg);
}
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 0;
}
.value-card {
    height: 320px;
    border-radius: 24px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}
.value-card:hover {
    transform: translateY(-5px);
}
.value-card-content {
    text-align: center;
    color: #ffffff;
    z-index: 10;
}
.value-card-content h3 {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
}
.value-sub {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 2.5rem;
    margin-top: -8px;
    text-transform: lowercase;
}

/* Welcome Section */
.welcome-section {
    background: linear-gradient(to bottom, var(--light-bg) 0%, #ffffff 100%);
    text-align: center;
}
.max-w-700 {
    max-width: 750px;
}
.welcome-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}
.welcome-desc-italic {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.8;
}

/* FAQ & Location Section */
.faq-location-section {
    background-color: #ffffff;
}
.faq-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 30px;
}
.underlined {
    text-decoration: underline;
    text-underline-offset: 6px;
}

/* Accordion */
.accordion-container {
    margin-bottom: 30px;
}
.accordion-item {
    border-bottom: 1.5px solid #dddddd;
}
.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.caret-span {
    font-size: 1.1rem;
    font-weight: 700;
    color: #666;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.accordion-content p {
    padding-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.service-times-highlight {
    background-color: #fce4d6;
    padding: 12px 24px;
    display: inline-block;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-dark);
}

.location-addr {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}
.map-container {
    border: 2px solid #dddddd;
    border-radius: 6px;
    overflow: hidden;
}

/* Upcoming Events (Enclosed in a border box card) */
.events-wrapper-section {
    background-color: #ffffff;
    padding-top: 0;
}
.border-events-card {
    border: 2.5px solid var(--dark);
    border-radius: 40px;
    padding: 60px 40px;
}
.events-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
}
.events-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.event-flyer-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.event-img-box {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.event-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.event-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}
.event-desc-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Stay In Loop */
.stay-loop-section {
    background-color: #ffffff;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.stay-loop-title-centered {
    padding-bottom: 0;
    text-align: center;
}
.stay-title {
    font-size: 3.5rem;
    font-weight: 800;
}
.loop-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-top: 20px;
}
.social-header-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}
.mini-socials-inline {
    display: flex;
    gap: 12px;
}
.mini-socials-inline a {
    color: var(--dark);
    display: flex;
    align-items: center;
}
.social-text-follow {
    font-weight: 600;
    font-size: 1.05rem;
}
.insta-mock-card {
    border: 1px solid #dddddd;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
}
.insta-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.insta-caption {
    padding: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.connect-header-text {
    display: block;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 24px;
}
.connect-card-large {
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1;
}
.connect-img-overlay-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}
.connect-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.connect-learn-more-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}
.connect-learn-more-btn:hover {
    transform: translate(-50%, -52%) scale(1.05);
}

/* Footer styling */
.main-footer {
    background-color: #222222;
    color: rgba(255,255,255,0.7);
    padding-top: 80px;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-subscribe-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-subscribe-box h3 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.subscribe-form {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.subscribe-input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
}
.subscribe-input:focus {
    outline: none;
    border-color: #ffffff;
}
.subscribe-btn {
    background-color: #ffffff;
    color: #000000;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.2s ease;
}
.subscribe-btn:hover {
    opacity: 0.9;
}
.privacy-note {
    font-size: 0.8rem;
    margin-top: 10px;
    color: rgba(255,255,255,0.4);
}

.footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 60px;
}
.footer-col h4 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.underline-span {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.footer-col p {
    margin-bottom: 12px;
}
.footer-link-highlight {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}
.fine-print {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
}
.footer-social-icons {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}
.footer-social-icons a {
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.3);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}
.footer-social-icons a:hover {
    border-color: #ffffff;
    background-color: rgba(255,255,255,0.1);
}
.footer-email-large {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 8px 0;
}
.footer-email-large a {
    color: inherit;
    text-decoration: none;
}
.legal-badge-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 16px;
    border-radius: 4px;
    margin-top: 20px;
}
.ein-display {
    color: #ffffff;
}

.footer-bottom-statement {
    padding: 40px 24px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}
.privacy-terms-bar {
    margin-top: 10px;
}
.privacy-terms-bar a {
    color: inherit;
    text-decoration: underline;
}
.privacy-terms-bar a:hover {
    color: #ffffff;
}

/* Modals Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.contact-form-modal, .success-message-modal, .policy-modal {
    background: #ffffff;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 45px rgba(0,0,0,0.2);
}
.close-modal-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.8rem;
    color: #999999;
}
.close-modal-btn:hover {
    color: #111111;
}
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #cccccc;
    font-family: inherit;
    font-size: 0.95rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--dark);
}
.form-submit-btn {
    width: 100%;
    padding: 14px;
    border-radius: 4px;
    background: var(--dark);
    color: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.form-submit-btn:hover {
    opacity: 0.9;
}
.success-icon-wrapper {
    font-size: 3.5rem;
    color: #2ecc71;
    margin-bottom: 16px;
}
.policy-scroll-content {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 16px;
}
.policy-scroll-content p {
    margin-bottom: 12px;
}

/* Responsive */
@media(max-width: 992px) {
    .value-grid, .faq-grid, .events-grid-two, .loop-grid, .footer-cols {
        grid-template-columns: 1fr;
    }
    .hero-banner-card {
        height: 450px;
    }
    .sermon-title-text-box {
        font-size: 2rem;
    }
    .welcome-title {
        font-size: 2.5rem;
    }
    .events-main-title, .stay-title {
        font-size: 2.5rem;
    }
    .main-header .nav-menu {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}
