/* ===================================
   SPRnesia - About Page Styles (OPTIMIZED)
   Khusus untuk halaman about
   ================================ */

/* ===== ABOUT HERO ===== */
.about-hero {
    position: relative;
    padding: 200px 0 120px;
    background: linear-gradient(135deg, #2C2C2C 0%, #1A1A1A 100%);
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/home1.png') center/cover;
    opacity: 0.1;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(58, 107, 53, 0.15) 0%, transparent 60%);
    z-index: 1;
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero .hero-content-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--color-white);
}

.about-hero h1 {
    color: var(--color-white);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 24px;
    line-height: 1.1;
}

.about-hero p {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
}

/* ===== ABOUT STORY ===== */
.about-story {
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 32px;
}

.story-content p {
    margin-bottom: 24px;
    line-height: 1.8;
    font-size: clamp(1rem, 1.5vw, 1.05rem);
}

.story-highlight {
    font-size: clamp(1.05rem, 1.8vw, 1.15rem);
    color: var(--color-primary);
    font-weight: 500;
    padding: 24px 0 24px 24px;
    border-left: 3px solid var(--color-accent);
    margin: 32px 0;
}

.story-signature {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--color-border);
}

.story-signature p {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--color-accent);
    margin: 0;
}

.story-image {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    will-change: transform;
}

.story-image:hover img {
    transform: scale(1.05);
}

/* ===== WHY WORK WITH US ===== */
.why-work-with-us {
    padding: var(--section-padding) 0;
    background: var(--color-light-gray);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.why-card {
    background: var(--color-white);
    padding: 48px 40px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.why-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-light-gray);
    color: var(--color-accent);
    font-size: 32px;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.why-card:hover .why-icon {
    background: var(--color-accent);
    color: var(--color-white);
    transform: scale(1.1);
}

.why-card h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: 16px;
    color: var(--color-primary);
}

.why-card p {
    line-height: 1.8;
    margin: 0;
}

/* ===== VISION & MISSION CARDS ===== */
.vm-section {
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

.vm-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.vm-card {
    background: var(--color-light-gray);
    padding: 60px 50px;
    transition: var(--transition-smooth);
    border-left: 4px solid var(--color-accent);
}

.vm-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.vm-card-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    color: var(--color-accent);
    font-size: 36px;
    margin-bottom: 32px;
    transition: var(--transition-fast);
}

.vm-card:hover .vm-card-icon {
    transform: scale(1.1);
}

.vm-card h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 20px;
    color: var(--color-primary);
}

.vm-card p {
    line-height: 1.8;
    font-size: clamp(1rem, 1.5vw, 1.05rem);
    margin: 0;
}

/* ===== TEAM SECTION ===== */
.team-section {
    padding: var(--section-padding) 0;
    background: var(--color-light-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.team-card {
    background: var(--color-white);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    position: relative;
    width: 100%;
    padding-top: 125%; /* 4:5 aspect ratio */
    overflow: hidden;
    background: var(--color-light-gray);
}

.team-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    will-change: transform;
}

.team-card:hover .team-image img {
    transform: scale(1.08);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 16px;
}

.team-social a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 24px;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.team-social a:hover {
    background: var(--color-accent);
    color: var(--color-white);
    transform: translateY(-3px);
}

.team-info {
    padding: 32px;
}

.team-info h3 {
    font-size: clamp(1.5rem, 2vw, 1.75rem);
    margin-bottom: 8px;
    color: var(--color-primary);
}

.team-role {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: block;
}

.team-bio {
    line-height: 1.8;
    margin: 0;
    font-size: 0.95rem;
}

/* ===== VALUES SECTION ===== */
.values-section {
    padding: var(--section-padding) 0;
    background: var(--color-white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: var(--color-light-gray);
    padding: 40px 32px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--color-accent);
    transition: height 0.4s ease;
}

.value-card:hover::before {
    height: 100%;
}

.value-card:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.value-number {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--color-accent);
    opacity: 0.3;
    margin-bottom: 16px;
    line-height: 1;
}

.value-card h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: 16px;
    color: var(--color-primary);
}

.value-card p {
    line-height: 1.8;
    margin: 0;
    font-size: 0.95rem;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
    text-align: center;
}

.cta-content h2 {
    color: var(--color-white);
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 24px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Large - 992px */
@media (max-width: 992px) {
    .about-hero {
        padding: 160px 0 100px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .story-image {
        height: 450px;
        order: -1;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .why-card {
        padding: 40px 32px;
    }

    .vm-cards {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .vm-card {
        padding: 50px 40px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

/* Tablet - 768px */
@media (max-width: 768px) {
    .about-hero {
        padding: 140px 0 80px;
    }

    .story-grid {
        gap: 50px;
    }

    .story-image {
        height: 400px;
    }

    .story-highlight {
        padding: 20px 0 20px 20px;
        margin: 28px 0;
    }

    .why-card {
        padding: 36px 28px;
    }

    .why-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 20px;
    }

    .vm-card {
        padding: 40px 32px;
    }

    .vm-card-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
        margin-bottom: 28px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .team-image {
        padding-top: 100%; /* 1:1 ratio for mobile */
    }

    .team-info {
        padding: 28px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .value-card {
        padding: 36px 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 320px;
    }
}

/* Mobile - 576px */
@media (max-width: 576px) {
    .about-hero {
        padding: 120px 0 70px;
    }

    .story-grid {
        gap: 40px;
    }

    .story-image {
        height: 350px;
    }

    .story-content p {
        margin-bottom: 20px;
    }

    .story-highlight {
        padding: 16px 0 16px 16px;
        margin: 24px 0;
    }

    .story-signature {
        margin-top: 32px;
        padding-top: 24px;
    }

    .why-card {
        padding: 32px 24px;
    }

    .vm-card {
        padding: 36px 28px;
    }

    .vm-card-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
        margin-bottom: 24px;
    }

    .team-info {
        padding: 24px;
    }

    .team-bio {
        font-size: 0.9rem;
    }

    .value-card {
        padding: 32px 24px;
    }
}

/* Extra Small - 375px */
@media (max-width: 375px) {
    .about-hero {
        padding: 110px 0 60px;
    }

    .story-image {
        height: 300px;
    }

    .why-card,
    .vm-card,
    .value-card {
        padding: 28px 20px;
    }

    .team-info {
        padding: 20px;
    }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    .team-overlay {
        opacity: 0;
        pointer-events: none;
    }
    
    .team-card:active .team-overlay {
        opacity: 1;
        pointer-events: auto;
    }
    
    /* Disable hover effects on touch */
    .why-card:hover,
    .vm-card:hover,
    .value-card:hover {
        transform: none;
    }
    
    .team-card:hover {
        transform: none;
    }
}