/* About Page Specific Styles - Premium Design System */

.about-page {
    background: #000;
    overflow-x: hidden;
    color: #fff;
    font-family: "Work Sans", sans-serif;
}

.section-padding {
    padding: clamp(80px, 10vw, 150px) 0;
}

.section-tag {
    display: inline-block;
    font-size: 4rem;
    letter-spacing: 4px;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    padding-left: 50px;
}

.about-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
}

/* About Hero - Matching Works Page Style */
.works-hero {
    height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.works-hero .hero-title {
    left: 0;
    transform: none;
    position: relative;
    margin: 0;
}


.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20vw;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

/* Bio Section Enhancement */
.personal-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(4rem, 10vw, 15rem);
    align-items: flex-start;
    padding-top: 5vh;
}

.personal-image-wrapper {
    position: relative;
    z-index: 2;
}

.image-mask {
    aspect-ratio: 4/5;
    background: #111;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.7);
}

.personal-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.7);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.1);
}

.personal-image-wrapper:hover .personal-photo {
    filter: grayscale(0) brightness(1);
    transform: scale(1);
}

.glow-orb {
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 234, 0, 0.1) 0%, transparent 70%);
    position: absolute;
    top: -50%;
    left: -50%;
    filter: blur(100px);
    animation: orb-pulse 12s ease-in-out infinite alternate;
}

@keyframes orb-pulse {
    from {
        transform: translate(-10%, -10%) scale(1);
        opacity: 0.3;
    }

    to {
        transform: translate(10%, 10%) scale(1.2);
        opacity: 0.6;
    }
}

.image-caption {
    position: absolute;
    bottom: -2rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #444;
}

.section-header {
    margin-bottom: 3.5rem;
}

.section-header.centered {
    text-align: center;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-family: 'Bebas Neue', sans-serif;
    color: #fff;
    line-height: 1;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.main-title {
    font-size: clamp(4rem, 10vw, 8rem);
    color: #fff !important;
    letter-spacing: -2px;
}

.title-line {
    width: 120px;
    height: 3px;
    background: #FFEA00;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.personal-content p {
    font-size: 1.1rem;
    color: #aaa;
    line-height: 1.8;
    text-transform: none;
    margin-bottom: 2rem;
    font-weight: 400;
}

.neon-text-glow {
    color: #FFEA00;
    text-shadow: 0 0 15px rgba(255, 234, 0, 0.4), 0 0 30px rgba(255, 234, 0, 0.2);
    font-weight: 800;
    letter-spacing: 1px;
}

.fun-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.fact span {
    font-size: 3rem;
    font-weight: 900;
    color: #FFEA00;
    font-family: 'Bebas Neue', sans-serif;
    display: inline-block;
}

.fact p {
    font-size: 0.75rem;
    color: #555;
    margin-top: 0.5rem;
    letter-spacing: 1px;
}

/* Ticker Section */
.about-ticker-container {
    background: #FFEA00;
    padding: 2.5rem 0;
    margin: 8rem 0;
    z-index: 5;
    position: relative;
    overflow: hidden;
}

.about-ticker {
    overflow: hidden;
    white-space: nowrap;
}

.ticker-wrap {
    display: inline-block;
    white-space: nowrap;
}

.ticker-text {
    font-size: clamp(2.5rem, 6vw, 7rem);
    font-family: 'Bebas Neue', sans-serif;
    color: #000;
    display: inline-block;
    padding-right: 2rem;
    text-transform: uppercase;
}

.ticker-text .accent {
    -webkit-text-stroke: 1.5px #000;
    color: transparent;
}

/* Alternating Expertise Section */
.expertise-section {
    position: relative;
    overflow: hidden;
}

.expertise-drawing-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.3;
}

.expertise-drawing-container svg {
    width: 100%;
    height: 100%;
}

.expertise-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 15rem;
    margin-top: 8rem;
}

.expertise-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    align-items: center;
    position: relative;
}

.expertise-row.from-right {
    direction: rtl;
}

.expertise-row.from-right .expertise-content {
    direction: ltr;
}

.expertise-content {
    padding: 2rem;
}

.expertise-content h3 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: 'Bebas Neue', sans-serif;
    color: #fff;
    margin-bottom: 1.5rem;
}

.expertise-content p {
    font-size: 1.2rem;
    color: #888;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 2.5rem;
}



.expertise-visual .visual-box {
    position: absolute;
    inset: 25%;
    border-radius: 20px;
}

.expertise-row::before {
    content: attr(data-index);
    position: absolute;
    top: -5rem;
    font-size: 12rem;
    font-family: 'Bebas Neue', sans-serif;
    color: rgba(255, 255, 255, 0.03);
    z-index: -1;
}

.expertise-row.from-left::before {
    left: 0;
}

.expertise-row.from-right::before {
    right: 0;
}

/* Enhanced Skills Bento */
.modern-skills-section {
    background: #000;
    position: relative;
}

.skills-bento {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    margin-top: 5rem;
}

.bento-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 32px;
    padding: clamp(2rem, 4vw, 3.5rem);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 234, 0, 0.3);
    transform: translateY(-10px);
}

.bento-header {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 3rem;
}

.bento-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 234, 0, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #FFEA00;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.bento-header h3 {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 0.2rem;
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
}

.bento-header p {
    font-size: 0.8rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-stack {
    grid-row: span 2;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3rem;
}

.skill-pill {
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.01);
    transition: all 0.4s ease;
}

.skill-pill:hover {
    background: rgba(255, 234, 0, 0.05);
    border-color: #FFEA00;
    transform: translateX(5px);
}

.skill-pill span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #aaa;
    letter-spacing: 1px;
}

.mastery-container {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mastery-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: #666;
    text-transform: uppercase;
}

.mastery-label span:last-child {
    color: #FFEA00;
    font-weight: 700;
}

.mastery-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: #FFEA00;
    box-shadow: 0 0 15px rgba(255, 234, 0, 0.4);
    width: 0;
    /* Animated by JS */
    transition: width 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}


/* CTA Section */
.cta-content {
    padding: clamp(4rem, 8vw, 10rem) 2rem;
    text-align: center;
    border-radius: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-content h2 {
    font-size: clamp(2.5rem, 8vw, 8rem);
    font-family: 'Bebas Neue', sans-serif;
    line-height: 0.9;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.cta-content p {
    font-size: 1.4rem;
    color: #888;
    max-width: 600px;
    margin: 0 auto 4rem;
    text-transform: none;
    font-weight: 400;
}

/* Animations end states */
.reveal-text,
.reveal-item,
.reveal-card,
.reveal-image {
    opacity: 1;
    /* Ensure visible if JS fails */
}

/* Responsive Fixes */
@media (max-width: 1024px) {

    .personal-grid,
    .expertise-row {
        grid-template-columns: 1fr;
    }

    .personal-image-wrapper,
    .expertise-visual {
        max-width: 500px;
        margin: 0 auto 4rem;
    }

    .expertise-row.from-right {
        direction: ltr;
    }

    .skills-bento {
        grid-template-columns: 1fr;
    }

    .main-stack {
        grid-row: auto;
    }

    .expertise-list {
        gap: 8rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 80vh;
    }

    .fun-facts {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-hero-title {
        font-size: clamp(3rem, 12vw, 5rem);
    }
}