/**
 * About Us Page Styles
 * Custom styling for the About Us page template
 */

/* ====================================
   MAIN PAGE CONTAINER
   ==================================== */

.about-us-main {
    width: 100%;
    overflow: hidden;
}

/* ====================================
   HERO SECTION
   ==================================== */

.about-us-hero {
    position: relative;
    width: 100%;
    height: 550px;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 24px 60px;
    margin: 0;
}

.about-us-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.about-us-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(11, 12, 16, 0.85) 0%, rgba(11, 12, 16, 0.5) 50%, transparent 100%);
    z-index: 0;
}

.about-us-hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    width: 100%;
}

.about-us-hero-accent {
    width: 64px;
    height: 4px;
    background-color: #C5A059;
    margin-bottom: 32px;
    display: block;
}

.about-us-hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: 1px;
}

.about-us-hero-subtitle {
    font-size: 18px;
    color: #d1d5db;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 300;
    border-left: 2px solid #C5A059;
    padding-left: 24px;
    margin: 0;
}

/* ====================================
   INTRODUCTION SECTION
   ==================================== */

.about-us-intro-section {
    padding: 60px 24px;
    background-color: #f5f5f0;
}

.about-us-intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-us-intro-text {
    font-size: 18px;
    color: #4b5563;
    line-height: 1.8;
    margin: 0;
}

/* ====================================
   VISION/MISSION/GROWTH CARDS SECTION
   ==================================== */

.about-us-visions-section {
    padding: 60px 24px;
    background-color: #f5f5f0;
}

.about-us-visions-container {
    max-width: 1100px;
    margin: 0 auto;
}

.about-us-visions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    width: 100%;
}

.about-us-vision-card {
    position: relative;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.about-us-vision-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 128px;
    height: 128px;
    background-color: rgba(197, 160, 89, 0.1);
    border-radius: 50%;
    filter: blur(60px);
    transition: all 0.5s ease;
}

.about-us-vision-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

.about-us-vision-card:hover::before {
    background-color: rgba(197, 160, 89, 0.2);
}

.about-us-vision-icon {
    position: relative;
    z-index: 10;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C5A059;
    margin-bottom: 32px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    font-size: 32px;
}

.about-us-vision-card:hover .about-us-vision-icon {
    transform: scale(1.1);
}

.about-us-vision-title {
    position: relative;
    z-index: 10;
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    text-transform: capitalize;
}

.about-us-vision-text {
    position: relative;
    z-index: 10;
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 24px;
}

.about-us-vision-bar {
    position: relative;
    z-index: 10;
    height: 3px;
    width: 48px;
    background-color: #e5e7eb;
    border-radius: 2px;
    transition: all 0.5s ease-out;
}

.about-us-vision-card:hover .about-us-vision-bar {
    width: 100%;
    background-color: #C5A059;
}

/* ====================================
   PASTORS SECTION
   ==================================== */

.about-us-pastors-section {
    padding: 60px 24px;
    background-color: #ffffff;
}

.about-us-pastors-container {
    max-width: 1100px;
    margin: 0 auto;
}

.about-us-section-heading {
    font-size: 32px;
    font-weight: 800;
    color: #111827;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 48px;
    letter-spacing: 1px;
}

.about-us-section-subheading {
    font-size: 14px;
    color: #9ca3af;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.about-us-pastor-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 60px;
}

.about-us-pastor-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 3/4;
}

.about-us-pastor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-us-pastor-layout:hover .about-us-pastor-image img {
    transform: scale(1.05);
}

.about-us-pastor-bio {
    display: flex;
    flex-direction: column;
}

.about-us-pastor-name {
    font-size: 28px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-us-pastor-title {
    font-size: 14px;
    color: #C5A059;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 24px;
}

.about-us-pastor-description {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.8;
    margin: 0;
}

/* Alternate layout for second pastor */
.about-us-pastor-layout.reverse {
    grid-template-columns: 1fr 1fr;
}

.about-us-pastor-layout.reverse .about-us-pastor-image {
    order: 2;
}

.about-us-pastor-layout.reverse .about-us-pastor-bio {
    order: 1;
}

/* ====================================
   YOUTH LEADERS SECTION
   ==================================== */

.about-us-youth-section {
    padding: 60px 24px;
    background-color: #f5f5f0;
}

.about-us-youth-container {
    max-width: 1100px;
    margin: 0 auto;
}

.about-us-youth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.about-us-youth-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.about-us-youth-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.about-us-youth-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #f0f0f0;
}

.about-us-youth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-us-youth-card:hover .about-us-youth-image img {
    transform: scale(1.08);
}

.about-us-youth-info {
    padding: 28px;
}

.about-us-youth-name {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
    text-transform: capitalize;
}

.about-us-youth-role {
    font-size: 13px;
    color: #C5A059;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 12px;
}

.about-us-youth-bio {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

/* ====================================
   BELIEFS SECTION
   ==================================== */

.about-us-beliefs-section {
    padding: 60px 24px;
    background-color: #ffffff;
}

.about-us-beliefs-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-us-beliefs-intro {
    text-align: center;
    margin-bottom: 40px;
}

.about-us-beliefs-subtext {
    font-size: 14px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.about-us-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-us-accordion-item {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.about-us-accordion-item.active {
    border-color: #C5A059;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.15);
}

.about-us-accordion-trigger {
    width: 100%;
    padding: 24px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.3s ease;
}

.about-us-accordion-item.active .about-us-accordion-trigger {
    background-color: #f5f5f0;
}

.about-us-accordion-trigger:hover {
    background-color: #f9fafb;
}

.about-us-accordion-label {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    text-align: left;
    margin: 0;
    flex: 1;
    text-transform: capitalize;
}

.about-us-accordion-toggle {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C5A059;
    transition: transform 0.3s ease;
    font-size: 20px;
}

.about-us-accordion-item.active .about-us-accordion-toggle {
    transform: rotate(180deg);
}

.about-us-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.about-us-accordion-item.active .about-us-accordion-content {
    max-height: 500px;
    padding: 0 24px 24px;
}

.about-us-accordion-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.8;
    margin: 0;
}

/* ====================================
   DARK MODE
   ==================================== */

.dark .about-us-hero {
    background: linear-gradient(135deg, rgba(11, 12, 16, 0.95) 0%, rgba(26, 61, 77, 0.8) 50%, transparent 100%);
}

.dark .about-us-intro-section {
    background: linear-gradient(180deg, #1a3d4d 0%, #15171b 100%);
}

.dark .about-us-intro-text {
    color: #d1d5db;
}

.dark .about-us-visions-section {
    background: linear-gradient(180deg, #1a3d4d 0%, #15171b 100%);
}

.dark .about-us-vision-card {
    background-color: #1f2937;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 10px 20px rgba(0, 0, 0, 0.4);
}

.dark .about-us-vision-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.dark .about-us-vision-icon {
    background-color: rgba(197, 160, 89, 0.1);
}

.dark .about-us-vision-title {
    color: #f3f4f6;
}

.dark .about-us-vision-text {
    color: #d1d5db;
}

.dark .about-us-vision-bar {
    background-color: #374151;
}

.dark .about-us-pastors-section {
    background: linear-gradient(180deg, #15171b 0%, #1a3d4d 100%);
}

.dark .about-us-section-heading {
    color: #f3f4f6;
}

.dark .about-us-section-subheading {
    color: #9ca3af;
}

.dark .about-us-pastor-name {
    color: #f3f4f6;
}

.dark .about-us-pastor-description {
    color: #d1d5db;
}

.dark .about-us-youth-section {
    background: linear-gradient(180deg, #1a3d4d 0%, #15171b 100%);
}

.dark .about-us-youth-card {
    background-color: #1f2937;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3), 0 10px 20px rgba(0, 0, 0, 0.4);
}

.dark .about-us-youth-card:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.dark .about-us-youth-image {
    background-color: #111827;
}

.dark .about-us-youth-name {
    color: #f3f4f6;
}

.dark .about-us-youth-bio {
    color: #d1d5db;
}

.dark .about-us-beliefs-section {
    background: linear-gradient(180deg, #15171b 0%, #1a3d4d 100%);
}

.dark .about-us-beliefs-intro {
    color: #f3f4f6;
}

.dark .about-us-beliefs-subtext {
    color: #9ca3af;
}

.dark .about-us-accordion-item {
    background-color: #1f2937;
    border-color: #374151;
}

.dark .about-us-accordion-item.active {
    border-color: #C5A059;
    box-shadow: 0 4px 12px rgba(197, 160, 89, 0.25);
}

.dark .about-us-accordion-trigger:hover {
    background-color: #111827;
}

.dark .about-us-accordion-item.active .about-us-accordion-trigger {
    background-color: rgba(197, 160, 89, 0.1);
}

.dark .about-us-accordion-label {
    color: #f3f4f6;
}

.dark .about-us-accordion-text {
    color: #d1d5db;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

@media screen and (max-width: 900px) {
    .about-us-hero {
        height: 450px;
        padding: 60px 20px 50px;
    }

    .about-us-hero-title {
        font-size: 40px;
    }

    .about-us-intro-section,
    .about-us-visions-section,
    .about-us-pastors-section,
    .about-us-youth-section,
    .about-us-beliefs-section {
        padding: 40px 20px;
    }

    .about-us-visions-grid {
        gap: 24px;
    }

    .about-us-vision-card {
        padding: 32px;
    }

    .about-us-section-heading {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .about-us-pastor-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 48px;
    }

    .about-us-pastor-layout.reverse {
        grid-template-columns: 1fr;
    }

    .about-us-pastor-layout.reverse .about-us-pastor-image,
    .about-us-pastor-layout.reverse .about-us-pastor-bio {
        order: auto;
    }

    .about-us-pastor-name {
        font-size: 24px;
    }

    .about-us-youth-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 24px;
    }

    .about-us-accordion-trigger {
        padding: 20px;
    }

    .about-us-accordion-label {
        font-size: 15px;
    }
}

@media screen and (max-width: 640px) {
    .about-us-hero {
        height: 380px;
        padding: 50px 16px 40px;
    }

    .about-us-hero-title {
        font-size: 28px;
    }

    .about-us-hero-subtitle {
        font-size: 14px;
    }

    .about-us-hero-accent {
        width: 48px;
        height: 3px;
        margin-bottom: 24px;
    }

    .about-us-intro-section,
    .about-us-visions-section,
    .about-us-pastors-section,
    .about-us-youth-section,
    .about-us-beliefs-section {
        padding: 32px 16px;
    }

    .about-us-intro-text {
        font-size: 16px;
    }

    .about-us-visions-grid {
        grid-template-columns: 1fr;
    }

    .about-us-vision-card {
        padding: 24px;
    }

    .about-us-vision-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
        margin-bottom: 20px;
    }

    .about-us-section-heading {
        font-size: 22px;
        margin-bottom: 32px;
    }

    .about-us-pastor-name {
        font-size: 20px;
    }

    .about-us-pastor-title {
        font-size: 12px;
    }

    .about-us-pastor-description {
        font-size: 14px;
    }

    .about-us-youth-grid {
        grid-template-columns: 1fr;
    }

    .about-us-youth-name {
        font-size: 16px;
    }

    .about-us-youth-role {
        font-size: 12px;
    }

    .about-us-accordion-item {
        border-radius: 8px;
    }

    .about-us-accordion-trigger {
        padding: 16px;
    }

    .about-us-accordion-label {
        font-size: 14px;
    }

    .about-us-accordion-item.active .about-us-accordion-content {
        padding: 0 16px 16px;
    }

    .about-us-accordion-text {
        font-size: 13px;
    }
}
