/* ABOUT.CSS - About page with hero and team section */

/* ============================= */
/* HERO SECTION */
/* ============================= */
.about-hero {
    background-size: cover;
    background-position: center top;
    background-attachment: scroll;
    min-height: 80vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    color: white;
    padding: 1rem;
    margin-top: 50px;
    z-index: 5;
}

@media (min-width: 769px) {
    .about-hero {
        height: 85vh;
        justify-content: flex-start;
        text-align: left;
        padding: 0;
        background-attachment: fixed;
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.45) 33%, rgba(0,0,0,0) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 600px;
    padding: 0 1rem;
    margin: 0 auto;
}

@media (min-width: 769px) {
    .hero-content {
        padding: 0 clamp(1.5rem, 5vw, 3rem);
        margin: 0 0 0 clamp(1rem, 8vw, 4rem);
        max-width: 750px;
        margin-top: clamp(-20rem, -30vw, -24rem);
    }
}

/* ============================= */
/* TEAM SECTION */
/* ============================= */
.team-section {
    background: #f0f0f0;
    padding: 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    padding-top: clamp(2rem, 4vw, 3rem);
    padding-bottom: clamp(2rem, 5vw, 4rem);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(0.6rem, 1.5vw, 1rem);
}

/* ============================= */
/* TEAM GRID */
/* ============================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    padding-top: clamp(1rem, 2vw, 1.5rem);
}

.team-member {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    position: relative;
    animation: slideInUp 0.6s ease-out;
}

.team-member:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.member-photo {
    width: 100%;
    height: 350px;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1);
}

.member-info {
    padding: clamp(1.5rem, 3vw, 2rem);
}

.member-name-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.1rem;
}

.instagram-icon {
    color: #7f9b4d;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(127, 155, 77, 0.1);
    flex-shrink: 0;
}

.instagram-icon:hover {
    color: white;
    background: #7f9b4d;
    transform: scale(1.1);
}

.member-name {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    font-weight: 700;
    color: #000000;
    margin: 0;
    line-height: 1.2;
}

.member-role {
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    font-weight: 600;
    color: #7f9b4d;
    margin: 0 0 clamp(0.4rem, 1vw, 0.6rem) 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.member-description {
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* ============================= */
/* RESPONSIVE DESIGN */
/* ============================= */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-section {
        margin-top: 0;
    }

    .team-hero-header {
        padding: clamp(2rem, 5vw, 3rem) 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: clamp(1rem, 2vw, 1.5rem);
        padding: clamp(1.5rem, 3vw, 2rem) 0;
    }

    .member-photo {
        height: 280px;
    }

    .member-info {
        padding: clamp(1.25rem, 2vw, 1.5rem);
    }
}

@media (max-width: 480px) {
    .team-hero-header {
        padding: clamp(1.5rem, 3vw, 2rem) 0;
    }

    .team-grid {
        padding: clamp(1rem, 2vw, 1.5rem) 0;
    }

    .member-name {
        font-size: 1.1rem;
    }

    .member-description {
        font-size: 0.8rem;
    }
}

/* ============================= */
/* ANIMATIONS */
/* ============================= */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================= */
/* REDUCED MOTION PREFERENCE */
/* ============================= */
@media (prefers-reduced-motion: reduce) {
    .team-member {
        animation: none;
        transition: none;
    }
    
    .team-member:hover {
        transform: none;
    }
    
    .team-member:hover .member-photo img {
        transform: none;
    }
}