/* css/about.css */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;500;700&display=swap');

:root {
    --bg-dark: #050505;
    --panel-bg: #111111;
    --accent-gold: #fbbf24; /* Industrial Gold/Yellow */
    --text-white: #ffffff;
    --text-gray: #a1a1aa;
}

.about-section {
    background-color: #052342;
    padding: 100px 20px;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-white);
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .about-container {
        grid-template-columns: 1fr 1fr; /* Split screen on desktop */
    }
}

/* --- LEFT SIDE: VISUALS --- */
.about-visual {
    position: relative;
    height: 500px;
    width: 100%;
}

.image-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.about-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* Hidden by default */
    transform: scale(1.1);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.about-img.active {
    opacity: 1;
    transform: scale(1);
}

.tech-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.6), transparent);
    z-index: 2;
    pointer-events: none;
}

/* --- RIGHT SIDE: CONTENT --- */
.section-tag {
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    font-weight: 700;
}

/* TABS MECHANISM */
.about-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--text-gray);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -11px; /* Align with border-bottom */
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

.tab-btn:hover, .tab-btn.active {
    color: var(--text-white);
}

.tab-btn.active::after {
    width: 100%;
}

/* CONTENT PANELS */
.content-panel {
    display: none; /* Hidden by default */
    animation: fadeUp 0.5s ease forwards;
}

.content-panel.active {
    display: block;
}

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

.panel-title {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.panel-title .highlight {
    -webkit-text-stroke: 1px var(--text-gray);
    color: transparent; /* Outline text effect */
}

.panel-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 30px;
}

/* STATS ROW */
.stat-row {
    margin-bottom: 40px;
    padding-left: 20px;
    border-left: 2px solid var(--accent-gold);
}

.stat-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* BUTTON */
.cta-magnetic {
    display: inline-block;
    padding: 15px 30px;
    background: var(--text-white);
    color: var(--bg-dark);
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: transform 0.2s ease, background 0.3s ease;
}

.cta-magnetic:hover {
    background: var(--accent-gold);
    transform: translateX(5px);
}