/**
 * ============================================================
 * About Us Section Styling
 * ============================================================
 * 
 * Card-centric styling for About Us pages including Company,
 * Ownership, Leadership, Team, and Employee Detail pages.
 * ============================================================
 */

/* ============================================================
   CONTAINER
   ============================================================ */

.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-height: auto;
    padding: 1.5rem;
    box-sizing: border-box;
    margin-top: calc(7dvh + 4.5dvh + 3dvh);
}

/* ============================================================
   HEADER
   ============================================================ */

.about-header {
    text-align: center;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 1200px;
}

.about-title {
    font-family: var(--main-font-family2);
    font-size: 3.78rem;
    font-weight: bold;
    color: var(--text-color4);
    text-shadow: 2px 2px 4px var(--shadow-color);
    -webkit-text-stroke: 1.8px var(--text-outline-color);
    margin: 0 0 1rem 0;
    padding: 0;
}

.about-subtitle {
    font-family: var(--main-font-family);
    font-size: 1.89rem;
    color: var(--text-color3);
    margin: 0;
    padding: 0;
}

/* ============================================================
   CONTENT CARDS
   ============================================================ */

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
}

.about-card {
    background-color: var(--hero-background-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-color);
    padding: 2rem;
    transition: all 0.3s ease-in-out;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--shadow-color);
    border-color: var(--highlight-color);
}

.about-card-title {
    font-family: var(--main-font-family2);
    font-size: 2.205rem;
    font-weight: bold;
    color: var(--text-color2);
    margin: 0 0 1rem 0;
    padding: 0;
}

.about-card-text {
    font-family: var(--main-font-family);
    font-size: 1.386rem;
    color: var(--text-color2);
    line-height: 1.8;
    margin: 0;
    padding: 0;
}

/* ============================================================
   EMPLOYEE GRID (Leadership & Team)
   ============================================================ */

.employee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    padding: 0;
}

/* ============================================================
   EMPLOYEE CARD
   ============================================================ */

.employee-card {
    background-color: var(--hero-background-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-color);
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.employee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px var(--shadow-color);
    border-color: var(--highlight-color);
}

.employee-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.employee-card-picture {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: var(--background-color4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.employee-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.employee-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-color3);
    color: var(--text-color3);
    font-family: var(--main-font-family);
    font-size: 1.26rem;
}

.employee-card-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.employee-card-name {
    font-family: var(--main-font-family2);
    font-size: 1.89rem;
    font-weight: bold;
    color: var(--text-color2);
    margin: 0;
    padding: 0;
}

.employee-card-role {
    font-family: var(--main-font-family);
    font-size: 1.26rem;
    color: var(--text-color3);
    margin: 0;
    padding: 0;
}

/* ============================================================
   ABOUT OPTIONS GRID (Index Page)
   ============================================================ */

.about-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    padding: 0;
}

.about-option-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.about-option-card {
    background-color: var(--hero-background-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-color);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.about-option-card-link:hover .about-option-card {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--shadow-color);
    border-color: var(--highlight-color);
}

.about-option-card-title {
    font-family: var(--main-font-family2);
    font-size: 2.205rem;
    font-weight: bold;
    color: var(--text-color2);
    margin: 0 0 1rem 0;
    padding: 0;
}

.about-option-card-text {
    font-family: var(--main-font-family);
    font-size: 1.386rem;
    color: var(--text-color2);
    line-height: 1.8;
    margin: 0 0 1.5rem 0;
    padding: 0;
    flex: 1;
}

.about-option-card-link-text {
    font-family: var(--main-font-family);
    font-size: 1.26rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color2);
    transition: all 0.3s ease-in-out;
}

.about-option-card-link:hover .about-option-card-link-text {
    color: var(--highlight-color);
    transform: translateX(4px);
}

/* ============================================================
   EMPLOYEE DETAIL (Individual Profile)
   ============================================================ */

.employee-detail-card {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    background-color: var(--hero-background-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-color);
    padding: 3rem;
    width: 100%;
    max-width: 1000px;
}

.employee-detail-picture {
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid var(--border-color);
    box-shadow: 0 4px 12px var(--shadow-color);
}

.employee-detail-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.employee-detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.employee-detail-name {
    font-family: var(--main-font-family2);
    font-size: 3.15rem;
    font-weight: bold;
    color: var(--text-color2);
    margin: 0;
    padding: 0;
}

.employee-detail-role {
    font-family: var(--main-font-family);
    font-size: 1.89rem;
    color: var(--text-color3);
    margin: 0;
    padding: 0;
}

.employee-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.employee-detail-label {
    font-family: var(--main-font-family2);
    font-size: 1.134rem;
    font-weight: bold;
    color: var(--text-color3);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.employee-detail-value {
    font-family: var(--main-font-family);
    font-size: 1.386rem;
    color: var(--text-color2);
}

.employee-detail-bio {
    margin-top: 1rem;
}

.employee-detail-bio-title {
    font-family: var(--main-font-family2);
    font-size: 1.575rem;
    font-weight: bold;
    color: var(--text-color2);
    margin: 0 0 0.75rem 0;
    padding: 0;
}

.employee-detail-bio-text {
    font-family: var(--main-font-family);
    font-size: 1.386rem;
    color: var(--text-color2);
    line-height: 1.8;
    white-space: pre-wrap;
    margin: 0;
    padding: 0;
}

.employee-detail-social {
    margin-top: 1rem;
}

.employee-detail-link {
    font-family: var(--main-font-family);
    font-size: 1.386rem;
    font-weight: 600;
    color: var(--link-color);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.employee-detail-link:hover {
    color: var(--highlight-color2);
    text-decoration: underline;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

@media (max-width: 768px) {
    .about-container {
        padding: 1rem;
        margin-top: calc(7dvh + 4.5dvh + 3dvh + 0.5rem);
    }

    .about-title {
        font-size: 2.52rem;
    }

    .about-subtitle {
        font-size: 1.575rem;
    }

    .employee-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }

    .employee-detail-card {
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
    }

    .employee-detail-picture {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .employee-detail-name {
        font-size: 2.52rem;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 2.205rem;
    }

    .employee-grid {
        grid-template-columns: 1fr;
    }

    .employee-card-picture {
        height: 200px;
    }

    .employee-detail-card {
        padding: 1.5rem;
    }
}

