/* =================================
   SPIRITUAL ADVISORY COUNCIL PAGE STYLES
   ================================= */

/* Page Hero Section */
.page-hero {
    background-color: #FF8C00;
    padding: 3rem 2rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    color: #4A3821;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: #4A3821;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Content Section */
.content-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* Council Members */
.council-members {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Member Card */
.member-card {
    background-color: #FF8C00;
    border-radius: 15px;
    padding: 3rem;
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.member-card:nth-child(even) {
    flex-direction: row-reverse;
}

/* Member Photo */
.member-photo {
    flex: 0 0 250px;
    min-width: 250px;
}

.member-photo img {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 5px solid #8B4513;
    object-fit: cover;
    background-color: #8B4513;
}

.photo-placeholder {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 5px solid #8B4513;
    background-color: #8B4513;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFE5B4;
    font-size: 1rem;
    text-align: center;
    padding: 1rem;
}

/* Member Info */
.member-info {
    flex: 1;
}

.member-info h3 {
    font-size: 2rem;
    color: #4A3821;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #8B4513;
    padding-bottom: 0.5rem;
}

.member-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4A3821;
    text-align: justify;
}

/* CTA Section */
.cta-section {
    background-color: #8B4513;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    color: #FFE5B4;
    margin-top: 3rem;
}

.cta-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background-color: #FF8C00;
    color: #4A3821;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #C49A4A;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 968px) {
    .member-card {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }

    .member-photo {
        flex: 0 0 auto;
        min-width: auto;
        max-width: 250px;
    }

    .member-info {
        text-align: left;
    }

    .member-info h3 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 2rem;
    }

    .member-card {
        padding: 2rem;
        gap: 2rem;
    }

    .member-photo {
        max-width: 200px;
    }

    .member-photo img,
    .photo-placeholder {
        height: 280px;
    }

    .member-info h3 {
        font-size: 1.6rem;
    }

    .member-info p {
        font-size: 1rem;
    }

    .cta-section {
        padding: 2rem 1rem;
    }
}
