/* ABOUT.CSS - Redesigned to match homepage style */

/* ============================= */
/* HERO SECTION */
/* ============================= */
.hero {
    background: linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.55));
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    height: 75vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    animation: fadeInUp 1.2s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    color: white;
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 0;
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 1px 2px 6px rgba(0, 0, 0, 0.8);
    font-weight: 400;
}

/* ============================= */
/* SECTION HEADERS - Match homepage style */
/* ============================= */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 300;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* ============================= */
/* TEAM SECTION - Redesigned */
/* ============================= */
.team-section {
    background: #f3f3f3;
    padding: 80px 0 120px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    position: relative;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7f9b4d, #dacf46);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.team-member:hover::before {
    transform: scaleX(1);
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

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

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

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

.member-info {
    padding: 2rem;
}

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

.member-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

.instagram-icon {
    color: #7f9b4d;
    font-size: 1.2rem;
    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);
}

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

.member-role {
    font-size: 1rem;
    font-weight: 500;
    color: #7f9b4d;
    margin-bottom: 1rem;
}

.member-description p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
    text-align: justify;
}

/* ============================= */
/* VALUES SECTION - Redesigned */
/* ============================= */
.values-section {
    background: white;
    padding: 80px 0 120px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #7f9b4d, #dacf46);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: white;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: #7f9b4d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    background: #6d8540;
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.value-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

/* ============================= */
/* CTA SECTION - UPDATED */
/* ============================= */
.cta-section {
    background-image: url('../images/about/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.16);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 300;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.cta-content p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary,
.cta-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 160px;
    justify-content: center;
}

.cta-primary {
    background: #7f9b4d;
    color: white;
    border: 2px solid #7f9b4d;
}

.cta-primary:hover {
    background: #6d8540;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(127, 155, 77, 0.3);
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.cta-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
    transform: translateY(-2px);
}

/* ============================= */
/* RESPONSIVE DESIGN */
/* ============================= */
@media (max-width: 900px) and (min-width: 600px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
        justify-content: center;
    }
    
    .team-member {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 65vh;
        min-height: 450px;
    }

    .team-section {
        padding: 60px 0 80px 0;
    }
    
    .values-section {
        padding: 60px 0 80px 0;
    }

    .cta-section {
        padding: 60px 0;
    }

    .team-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .member-photo {
        height: 250px;
    }

    .member-info {
        padding: 1.5rem;
    }

    .value-card {
        padding: 2rem;
    }

    .value-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }

    .value-icon i {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-primary,
    .cta-secondary {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 1rem;
    }

    .member-info {
        padding: 1.25rem;
    }

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

    .member-description p {
        font-size: 0.9rem;
    }

    .value-card {
        padding: 1.5rem;
    }

    .value-title {
        font-size: 1.2rem;
    }

    .value-description {
        font-size: 0.9rem;
    }
}

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

.team-member,
.value-card {
    animation: slideInUp 0.6s ease-out;
}

.team-member:nth-child(1) { animation-delay: 0.1s; }
.team-member:nth-child(2) { animation-delay: 0.2s; }
.team-member:nth-child(3) { animation-delay: 0.3s; }

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }

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