/* About Page Specific Styles */

/* Hero Section */
.about-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.about-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Parallax effect will be handled by JS or fixed attachment if simple */
    /* object-position: center; */
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.about-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.about-title {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.about-subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* About Section - Split */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    opacity: 0;
    /* Hidden for animation */
    transform: translateX(-50px);
    transition: opacity 1s ease, transform 1s ease;
}

.about-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-image-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    /* Hidden for animation */
    transform: translateX(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.about-image-wrapper.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-img {
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.05);
}

/* Mission Section */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.mission-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.mission-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.mission-card.delay-100 {
    transition-delay: 0.2s;
}

.mission-card.delay-200 {
    transition-delay: 0.4s;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.mission-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    justify-content: center;
}

.team-member {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.team-member.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-member.delay-100 {
    transition-delay: 0.2s;
}

.team-member.delay-200 {
    transition-delay: 0.4s;
}

.member-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.member-img:hover img {
    transform: scale(1.1);
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(197, 160, 89, 0.8);
    /* Accent color overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-img:hover .member-overlay {
    opacity: 1;
}

.member-socials a {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 10px;
    transition: transform 0.2s;
}

.member-socials a:hover {
    transform: scale(1.2);
}

.team-member h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-member .role {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Testimonials */
.testimonials-section {
    background-color: #222;
    color: #fff;
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 30px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 10px;
    border: 2px solid var(--accent-color);
}

.testimonial-author h4 {
    color: var(--accent-color);
    margin-bottom: 0;
}

.testimonial-author span {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Cursor Effect */
.cursor-effect {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s, height 0.3s, background-color 0.3s;
    display: none;
    /* Only show on desktop via JS detection if needed */
}

@media (pointer: fine) {
    .cursor-effect {
        display: block;
    }
}

.cursor-hover {
    transform: translate(-50%, -50%) scale(2);
    background-color: rgba(197, 160, 89, 0.1);
    border-color: transparent;
}

/* Responsive */
@media (max-width: 768px) {
    .about-title {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text {
        order: 2;
    }

    .about-image-wrapper {
        order: 1;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }
}