/* =====================================================
   About Page - Structure & Navigation
   ===================================================== */

.about-page {
    padding-top: 80px;
    min-height: 100vh;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 220px;
    max-width: 1400px;
    margin: 0 auto;
}

/* =====================================================
   Sidebar - Vertical Submenu (Elevation exact match)
   Text RIGHT-aligned | Divider on RIGHT | Small tick for active
   ===================================================== */

.about-sidebar {
    padding: 60px 0 60px 0;
    position: sticky;
    top: 80px;
    height: fit-content;
    align-self: start;
}

.about-nav-header {
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 20px;
    padding-right: 16px;
    text-align: right;
    position: relative;
}

/* Divider line on right + tick for header */
.about-nav-header::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: -8px;
    width: 1px;
    background: #1a1a1a;
}

.about-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

/* Continuous divider line on right side of nav */
.about-nav::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #e0e0e0;
}

.about-nav-link {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #888;
    text-decoration: none;
    padding: 10px 16px 10px 0;
    text-align: right;
    position: relative;
    transition: color 0.2s ease;
    display: block;
}

.about-nav-link:hover {
    color: #555;
}

/* Active state - NO text color change, ONLY tick */
.about-nav-link.active {
    color: #888;
}

/* Small black tick - only for active item, on the divider line */
.about-nav-link.active::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 16px;
    background: #1a1a1a;
    z-index: 1;
}

/* =====================================================
   Main Content Area
   ===================================================== */

.about-content {
    padding: 60px 80px;
}

/* =====================================================
   Sections - General
   ===================================================== */

.about-section {
    margin-bottom: 100px;
    scroll-margin-top: 100px;
}

.section-label {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.section-title {
    font-family: "DM Sans", sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
    line-height: 1.2;
}

.section-text {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.85;
    color: #555;
}

.section-text p {
    margin-bottom: 24px;
}

/* =====================================================
   Pastor/Leadership Section
   ===================================================== */

.pastor-image {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 45px;
    aspect-ratio: 16/10;
    object-fit: cover;
    box-shadow: 0 15px 50px rgba(0,0,0,0.08);
}

.pastor-greeting {
    font-family: "DM Sans", sans-serif;
    font-size: 22px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 28px;
    line-height: 1.4;
}

/* =====================================================
   Beliefs Section - Dark Box
   ===================================================== */

.beliefs-box {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 50px;
    margin-top: 40px;
}

.beliefs-box-label {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.beliefs-box-title {
    font-family: "DM Sans", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.beliefs-box-subtitle {
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 400;
    color: rgba(255,255,255,0.5);
    margin-bottom: 45px;
    max-width: 550px;
}

/* Accordion */
.beliefs-accordion {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.belief-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.belief-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    cursor: pointer;
    transition: opacity 0.2s;
}

.belief-header:hover {
    opacity: 0.75;
}

.belief-title {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.belief-toggle {
    width: 22px;
    height: 22px;
    position: relative;
    flex-shrink: 0;
}

.belief-toggle::before,
.belief-toggle::after {
    content: '';
    position: absolute;
    background: #fff;
    transition: transform 0.3s ease;
}

.belief-toggle::before {
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.belief-toggle::after {
    width: 2px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.belief-item.open .belief-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.belief-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.belief-item.open .belief-content {
    max-height: 600px;
}

.belief-text {
    padding-bottom: 22px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
}

.belief-verses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 22px;
}

.belief-verse {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: background 0.2s;
}

.belief-verse:hover {
    background: rgba(255,255,255,0.14);
}

/* =====================================================
   Visit CTA Section
   ===================================================== */

.visit-cta-section {
    background: #f5f5f5;
    border-radius: 12px;
    padding: 65px 45px;
    text-align: center;
    margin-top: 60px;
    scroll-margin-top: 100px;
}

.visit-cta-icon {
    width: 52px;
    height: 52px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 26px;
}

.visit-cta-icon svg {
    width: 22px;
    height: 22px;
    color: #fff;
    stroke: #fff;
}

.visit-cta-title {
    font-family: "DM Sans", sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.visit-cta-subtitle {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #666;
    margin-bottom: 32px;
    line-height: 1.6;
}

.visit-cta-btn {
    display: inline-block;
    padding: 16px 42px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.visit-cta-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* =====================================================
   Responsive
   ===================================================== */

@media (max-width: 1024px) {
    .about-layout {
        grid-template-columns: 1fr;
    }
    
    .about-sidebar {
        display: none;
    }
    
    .about-content {
        padding: 40px 20px;
        border-left: none;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .pastor-greeting {
        font-size: 18px;
    }
    
    .beliefs-box {
        padding: 32px 22px;
    }
    
    .beliefs-box-title {
        font-size: 22px;
    }
    
    .visit-cta-section {
        padding: 45px 22px;
        margin: 40px -20px;
        border-radius: 0;
    }
    
    .visit-cta-title {
        font-size: 20px;
    }
}
