/* --- About Page Styling --- */

.about-page-main-content {
    padding-top: 0; /* Let hero sit under the fixed header */
    background-color: #f8f9fa;
}

.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../images/heropinbanner.c320f7630dae.jpg") no-repeat center center;
    background-size: cover;
    padding: 100px 0;
    color: var(--white);
}

.about-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: 'Cinzel', serif;
}

.about-hero-subtitle {
    font-size: 1.3rem;
    margin-top: 15px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 50px;
}

.our-mission-section, .meet-the-team-section, .core-values-section {
    padding: 80px 0;
}

.our-mission-section {
    background-color: var(--white);
}

.meet-the-team-section {
    background-color: #f8f9fa;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--gold);
    box-shadow: var(--shadow-medium);
}

.team-name {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.team-title {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-bio {
    font-size: 0.95rem;
    max-width: 300px;
    margin: 0 auto;
}

.core-values-section {
    background-color: var(--white);
}

.value-card {
    text-align: center;
    padding: 30px;
}

.value-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.value-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
}


/* --- Hero Section --- */
.about-hero {
    background: linear-gradient(rgba(17, 17, 17, 0.8), rgba(17, 17, 17, 0.8)), url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?q=80&w=2370&auto=format&fit=crop') no-repeat center center/cover;
    /* Pull hero up so it extends underneath the fixed header, and add the header height to top padding */
    margin-top: calc(var(--header-height) * -1);
    padding: calc(120px + var(--header-height)) 0 120px;
    text-align: center;
}

.about-hero .hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: #fff;
}

.about-hero .hero-title span {
    color: var(--gold);
}

.about-hero .hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto 0;
    color: #ddd;
    line-height: 1.7;
}

/* --- Our Story Section --- */
.our-story-section {
    padding: 100px 0;
    background-color: #ffffff; /* Explicitly white */
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.our-story-section .section-title {
    font-size: 2.8rem;
    color: #333; /* Dark text on white background */
    margin-bottom: 30px;
}

.our-story-section .section-title span {
    color: var(--gold);
}

.story-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* --- Mission & Values Section (CORRECTED) --- */
.mission-values-section {
    padding: 100px 0;
    background-color: #f8f9fa; /* Light grey background */
}

.mission-values-section .section-title {
    font-size: 2.8rem;
    text-align: center;
    color: #333; /* Dark text on light grey background */
    margin-bottom: 60px;
}

.mission-values-section .section-title span {
    color: var(--gold);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.value-card {
    background: #ffffff; /* White card background */
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.value-card .card-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.6rem;
    color: #333; /* Dark heading */
    margin-bottom: 15px;
}

.value-card p {
    color: #555; /* Dark text */
    line-height: 1.7;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .story-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .about-hero {
        /* Keep hero under header on mobile as well */
        margin-top: calc(var(--header-height) * -1);
        padding: calc(80px + var(--header-height)) 0 60px;
    }
    .about-hero .hero-title {
        font-size: 2.5rem;
    }
    .our-story-section, .mission-values-section {
        padding: 60px 0;
        text-align: center;
    }
    .story-content {
        gap: 30px;
    }
    .story-text {
        text-align: center;
    }
}
