/* ===================================================================
 * WiderMatrix - About Page Styles (about.css)
 * Loaded only on is_page_template('page-about.php')
 * =================================================================== */

/* Page Hero styles moved to main.css — shared across all inner pages */


/* ===================================================================
 * 2. About Intro Section
 * =================================================================== */
.about-intro-section {
    padding: 110px 0;
    background: var(--color-bg);
}
.about-intro-section .about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;
}
.about-intro-section .about-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-intro-section .about-media img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.about-intro-section .about-media:hover img { transform: scale(1.04); }
.about-intro-section .about-media-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    backdrop-filter: blur(10px);
}
.about-intro-section .about-media-badge .badge-num {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
}
.about-intro-section .about-media-badge .badge-label {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: var(--color-text-muted);
}


/* ===================================================================
 * 3. Advantages (reuses .advantages-section from index.css — no extra
 *    styles needed here because they're loaded via index.css or main.css)
 * =================================================================== */


/* ===================================================================
 * 4. Exhibitions Section
 * =================================================================== */
.exhibitions-section {
    padding: 110px 0;
    background: var(--color-bg-soft);
    background-image:
        radial-gradient(circle at 100% 0%, rgba(136, 62, 116, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 0% 100%, rgba(212, 163, 115, 0.06) 0%, transparent 40%);
}

/* Timeline tabs */
.exhibit-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 16px;
    position: relative;
    padding: 0 40px;
}
.exhibit-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    flex: 1;
    position: relative;
    z-index: 1;
    transition: all var(--transition);
}
.tab-date {
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-muted);
    white-space: nowrap;
    transition: color var(--transition);
}
.tab-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--color-border);
    transition: all var(--transition);
    position: relative;
    z-index: 2;
}
.exhibit-tab:hover .tab-dot {
    border-color: var(--brand-primary-light);
    transform: scale(1.2);
}
.exhibit-tab:hover .tab-date {
    color: var(--brand-primary);
}
.exhibit-tab.is-active .tab-dot {
    background: var(--brand-gradient);
    border-color: var(--brand-primary);
    transform: scale(1.3);
    box-shadow: 0 4px 12px rgba(136, 62, 116, 0.4);
}
.exhibit-tab.is-active .tab-date {
    color: var(--brand-primary);
    font-weight: 700;
}

/* Timeline line */
.exhibit-timeline-line {
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--brand-primary-light) 0 8px, transparent 8px 16px);
    opacity: 0.3;
    margin: 0 80px 48px;
}

/* Exhibition panels */
.exhibit-panel {
    animation: panelFade 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.exhibit-panel[hidden] { display: none; }

.exhibit-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.exhibit-card-image {
    height: 360px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a1626, #3a1d33);
}
.exhibit-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.exhibit-placeholder {
    font-size: 80px;
    line-height: 1;
    opacity: 0.6;
}
.exhibit-card-body {
    padding: 40px 44px 40px 0;
}
.exhibit-date-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-primary);
    background: rgba(136, 62, 116, 0.08);
    border-radius: 999px;
}
.exhibit-title {
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--color-text);
}
.exhibit-desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: var(--color-text-muted);
}


/* ===================================================================
 * 5. Certificates Carousel
 * =================================================================== */
.certificates-section {
    padding: 110px 0;
    background: var(--color-bg);
    overflow: hidden;
}
.cshop-certs-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}
.cshop-certs-viewport {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}
.cshop-certs-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cshop-certs-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 4px;
}
.cshop-cert-card {
    margin: 0;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 18px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.cshop-cert-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(136, 62, 116, 0.3);
}
.cshop-cert-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 12px;
}
.cshop-cert-card figcaption {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--brand-primary);
}
.cshop-certs-arrow {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    color: var(--brand-primary);
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
.cshop-certs-arrow:hover {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary);
}
.cshop-certs-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.cshop-certs-dots button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(136, 62, 116, 0.25);
    cursor: pointer;
    transition: all var(--transition);
}
.cshop-certs-dots button.active {
    width: 28px;
    border-radius: 999px;
    background: var(--brand-primary);
}


/* ===================================================================
 * 6. Contact section — reuses homepage .contact-section styles
 *    (loaded via index.css or main.css, no extra styles needed)
 * =================================================================== */


/* ===================================================================
 * 7. Gold Medal Sales Team
 * =================================================================== */
.team-section {
    padding: 110px 0;
    background: var(--color-bg-soft);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 56px;
}
.team-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.team-photo {
    position: relative;
    overflow: hidden;
}
.team-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 305 / 350;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #7a5c00;
    background: linear-gradient(135deg, #ffe9a8, #ffd257);
    border: 1px solid rgba(180, 130, 0, 0.35);
    padding: 5px 11px;
    border-radius: 999px;
    box-shadow: 0 3px 10px rgba(180, 130, 0, 0.25);
    white-space: nowrap;
}
.team-info {
    padding: 20px 18px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.team-name {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-text);
    margin: 0 0 4px;
}
.team-role {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-primary);
    margin: 0 0 12px;
}
.team-desc {
    font-size: 13px;
    line-height: 1.65;
    color: var(--color-text-muted);
    margin: 0;
}


/* ===================================================================
 * Responsive - Tablet
 * =================================================================== */
@media (max-width: 1100px) {
    .about-intro-section .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .about-intro-section .about-media img { height: 420px; }

    .exhibit-card { grid-template-columns: 300px 1fr; gap: 32px; }
    .exhibit-card-image { height: 300px; }

    .exhibit-tabs { padding: 0 20px; }
    .exhibit-timeline-line { margin: 0 40px 40px; }

    .team-section { padding: 80px 0; }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ===================================================================
 * Responsive - Mobile
 * =================================================================== */
@media (max-width: 768px) {
    .about-intro-section { padding: 70px 0; }
    .about-intro-section .about-media img { height: 320px; }

    .exhibitions-section { padding: 70px 0; }
    .exhibit-card {
        grid-template-columns: 1fr;
    }
    .exhibit-card-image { height: 220px; }
    .exhibit-card-body { padding: 28px 24px; }
    .exhibit-title { font-size: 20px; }

    .exhibit-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .exhibit-tabs::-webkit-scrollbar { display: none; }
    .exhibit-tab { flex: 0 0 auto; min-width: 80px; }
    .tab-date { font-size: 11px; }
    .exhibit-timeline-line { margin: 0 20px 32px; }

    .certificates-section { padding: 70px 0; }
    .cshop-certs-slide { grid-template-columns: 1fr; }
    .cshop-certs-arrow { display: none; }

    .team-section { padding: 70px 0; }
    .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
}
