/* ======================================================================
   about.css
   PURPOSE:
   - Page-specific styles for about.html ONLY
   - Includes: Hero, Company Intro, Features, Team
   WARNING:
   - Do NOT put shared layout styles here
   - Editing this file affects ONLY About Us page
   ====================================================================== */


/* [SECTION 1] ABOUT HERO (PAGE HEADER) */

.about-hero {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.about-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: rgb(255, 255, 255);
    z-index: 2;
}

.about-hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 3px;
}

/* [SECTION 2] COMPANY INTRODUCTION
   - Main storytelling section
   - Grid layout (images + text)*/

.company-intro {
    padding: 80px 20px;
    background-color: #f5f5f5;
    height: 875px; 
}

.intro-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: center;
}

.intro-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 10px;
    column-gap: 20px;
}

.intro-image-large {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #ddd;
    aspect-ratio: 1 / 1.2;
    margin-top: 60px;
}

.intro-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-image-small {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #ddd;
    aspect-ratio: 1 / 1.2;
}

.intro-image-small:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    margin-top: 30px;
}

.intro-image-small:nth-child(3) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    margin-top: 30px;
}

.intro-image-small:nth-child(4) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.intro-image-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
    font-weight: 700;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    text-align: justify;
}

/* [SECTION 3] PRODUCT / COMPANY FEATURES */
section {
    padding: 80px 50px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #c41e3a;
}

.product-features {
    background: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 40px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: white;
    margin: 0 auto 20px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

.feature-icon img {
    width: 35px;
    height: 35px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #333;
}

/* [SECTION 4] TEAM SECTION */

.team-section {
    padding: 80px 20px;
    background-color: #f5f5f5;
}

.team-container {
    max-width: 1200px;
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.team-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 30px;
    width: 100%;
    background: #C41E3A;
    border-radius: 20px 20px 0 0;
}

.team-member {
    text-align: center;
}

.team-photo {
    width: 150px;
    height: 150px;
    margin: 20px auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e0e0e0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.team-position {
    font-size: 0.95rem;
    color: #888;
    line-height: 1.5;
}

/* [SECTION 5] RESPONSIVE RULES */

@media (max-width: 1024px) {
    .about-hero {
        height: 400px;
    }

    .about-hero-content h1 {
        font-size: 3rem;
        letter-spacing: 2px;
    }

    .company-intro {
        padding: 60px 40px;
        height: auto !important;
    }

    .intro-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }


    .intro-images {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 600px;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }

    .intro-image-large,
    .intro-image-small:nth-child(2),
    .intro-image-small:nth-child(3),
    .intro-image-small:nth-child(4) {
        grid-column: auto !important;
        grid-row: auto !important;
        aspect-ratio: 1 / 1 !important;
        margin-top: 0 !important;
        width: 100% !important;
        display: block !important;
    }

    .intro-image-large img,
    .intro-image-small img {
        object-fit: cover;
    }

    .intro-text {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    .intro-text h2 {
        font-size: 2rem;
    }

    .intro-text p {
        font-size: 1rem;
        text-align: left;
    }

    section {
        padding: 60px 40px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .team-section {
        padding: 60px 40px;
    }

    .team-container {
        grid-template-columns: repeat(3, 1fr);
        padding: 50px 40px;
        gap: 30px;
    }

    .team-photo {
        width: 120px;
        height: 120px;
    }

    .team-member h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        height: 300px;
    }

    .about-hero-content h1 {
        font-size: 2.2rem;
        letter-spacing: 1.5px;
        padding: 0 20px;
    }

    .company-intro {
        padding: 50px 24px;
    }

    .intro-images {
        grid-template-columns: repeat(2, 1fr);
        height: auto;
        gap: 10px;
        max-width: 100%;
    }

    .intro-image-large {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        height: 180px !important;
        margin-top: 0 !important;
        width: 100% !important;
    }

    .intro-image-small:nth-child(2) {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        height: 180px !important;
        margin-top: 0 !important;
        width: 100% !important;
    }

    .intro-image-small:nth-child(3) {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        height: 180px !important;
        margin-top: 0 !important;
        width: 100% !important;
    }

    .intro-image-small:nth-child(4) {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        height: 180px !important;
        margin-top: 0 !important;
        width: 100% !important;
    }

    .intro-text h2 {
        font-size: 1.8rem;
    }

    .intro-text p {
        font-size: 0.95rem;
    }

    section {
        padding: 50px 24px;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .section-title {
        margin-bottom: 35px;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .feature-card {
        padding: 24px 16px;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
    }

    .feature-icon img {
        width: 28px;
        height: 28px;
    }

    .team-section {
        padding: 50px 24px;
    }

    .team-container {
        grid-template-columns: repeat(3, 1fr);
        padding: 40px 30px;
        gap: 25px;
        margin: 25px auto 0;
    }

    .team-photo {
        width: 110px;
        height: 110px;
    }

    .team-member h3 {
        font-size: 1rem;
    }

    .team-position {
        font-size: 0.88rem;
    }
}

@media (max-width: 480px) {
    .about-hero {
        height: 220px;
    }

    .about-hero-content h1 {
        font-size: 1.8rem;
        letter-spacing: 1px;
        padding: 0 16px;
    }

    .company-intro {
        padding: 40px 16px;
    }

    .intro-images {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        height: auto;
    }

    .intro-image-large,
    .intro-image-small:nth-child(2),
    .intro-image-small:nth-child(3),
    .intro-image-small:nth-child(4) {
        grid-column: auto !important;
        grid-row: auto !important;
        aspect-ratio: 1 / 1 !important;
        width: 100% !important;
        margin-top: 0 !important;
        display: block !important;
        overflow: hidden !important;
    }

    .intro-image-large img,
    .intro-image-small img {
        width: 100%;
        height: 100%;
        object-fit: cover; 
        display: block;
    }

    .intro-text h2 {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }

    .intro-text p {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 14px;
    }

    section {
        padding: 40px 16px;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .section-title {
        margin-bottom: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 14px;
    }

    .feature-card {
        padding: 20px 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
    }

    .feature-icon {
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .feature-icon img {
        width: 26px;
        height: 26px;
    }

    .feature-card h3 {
        font-size: 0.95rem;
        margin-bottom: 4px;
    }

    .feature-card p {
        font-size: 0.85rem;
        margin: 0;
    }

    .team-section {
        padding: 40px 16px;
    }

    .team-container {
        grid-template-columns: 1fr 1fr 1fr;
        padding: 30px 20px;
        gap: 24px;
        margin: 20px auto 0;
    }

    .team-container::before {
        height: 20px;
    }

    .team-photo {
        width: 100px;
        height: 100px;
        margin: 12px auto;
    }

    .team-member h3 {
        font-size: 0.95rem;
        margin-bottom: 5px;
    }

    .team-position {
        font-size: 0.82rem;
    }
}

@media (max-width: 430px) {
    .team-section {
        padding: 40px 10px;
    }

    .team-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        padding: 20px 10px;
        gap: 10px;
        margin: 20px auto 0;
        box-sizing: border-box;
    }

    .team-member {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .team-photo {
        width: 100%;
        max-width: 85px;
        height: auto;
        aspect-ratio: 1 / 1;
        margin: 0 auto 10px;
        border-radius: 50%;
        overflow: hidden;
        background-color: #eee;
    }

    .team-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .team-member h3 {
        font-size: 0.8rem;
        margin-bottom: 3px;
        line-height: 1.1;
        word-wrap: break-word;
    }

    .team-position {
        font-size: 0.7rem;
        line-height: 1.1;
        color: #666;
    }
}