/* ===================================
   Unified About Section Styles
   =================================== */

/* Unified About Section */
.unified-about-section {
    min-height: 100vh;
    padding: 80px 40px;
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    position: relative;
}

.unified-about-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Left Column - All Text Content */
.about-left-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Hero Text Section */
.hero-text-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-text-section .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.hero-text-section .hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin: 0;
}

.hero-text-section .hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 600px;
}

/* About Content Section */
.about-content-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-content-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.about-content-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

/* Tags and Skills */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.tag {
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Skills Grid within left content */
.integrated-skills {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.skill-category h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.skill-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-category li {
    padding: 5px 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* CTA Button */
.hero-cta {
    margin-top: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

/* Right Column - Image and Stats */
.about-right-content {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.profile-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Stats Cards */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 500px;
}

.stat {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

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

/* Mobile Responsive */
@media (max-width: 1024px) {
    .unified-about-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-right-content {
        position: relative;
        top: 0;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .unified-about-section {
        padding: 60px 20px;
        min-height: auto;
    }

    .unified-about-container {
        gap: 40px;
    }

    .hero-text-section .hero-title {
        font-size: 2rem;
    }

    .about-content-section h2 {
        font-size: 1.5rem;
    }

    .integrated-skills {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .stat {
        padding: 15px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .profile-img {
        border-radius: 15px;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }
}

/* Dark mode adjustments */
[data-theme="dark"] .unified-about-section {
    background: #0a0a0a;
}

[data-theme="dark"] .stat {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .tag {
    background: rgba(59, 130, 246, 0.15);
}

/* Light mode adjustments */
[data-theme="light"] .unified-about-section {
    background: #ffffff;
}

[data-theme="light"] .stat {
    background: #f8f9fa;
    border-color: #e9ecef;
}

[data-theme="light"] .tag {
    background: rgba(59, 130, 246, 0.08);
}