/* About Me Page Specific Styles */

.about-hero {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin: 4rem 0;
    min-height: 500px;
    position: relative;
}

.about-hero__content {
    flex: 1;
    z-index: 2;
}

.about-hero__title {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.about-hero__description {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.about-hero__stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 80px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-hero__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.about-hero__image {
    max-width: 450px;
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    z-index: 2;
    position: relative;
}

.about-hero__decorations {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.about-hero__dots {
    position: absolute;
    top: -30px;
    right: -40px;
    width: 140px;
    height: 140px;
    z-index: 4;
    opacity: 0.6;
}

.about-hero__logo {
    position: absolute;
    width: 25vmin;
    top: 15%;
    left: -5%;
    z-index: 4;
    aspect-ratio: 1;
    /* opacity: 0.8; */
}

.about-hero__badge {
    position: relative;
    background: var(--background);
    border: 1px solid var(--gray-3);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    min-width: 180px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: transform 0.2s ease;
}

.about-hero__badge:hover {
    transform: translateY(-2px);
}

.badge-text {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.badge-detail {
    font-size: 0.9rem;
    color: var(--white);
    font-weight: 600;
}

.badge-detail a {
    color: var(--white);
    text-decoration: none;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.badge-detail a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Biography Section */
.biography {
    margin: 4rem 0;
}

.biography__content {
    margin-top: 2rem;
    padding-left: 1.5rem;
}

.biography__text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Education Section */
.education {
    margin: 4rem 0;
}

.education__content {
    margin-top: 2rem;
}

.education__item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--gray-3);
    border-radius: 8px;
}

.education__period {
    color: var(--primary);
    font-weight: 600;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.education__degree {
    flex: 1;
}

.education__title {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.education__institution {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.education__description {
    color: var(--gray);
    line-height: 1.6;
}

.education__logo {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.75rem;
}

.education__logo-img {
    max-width: 140px;
    height: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.education__logo-img:hover {
    filter: brightness(0) saturate(100%) invert(34%) sepia(99%) saturate(407%) hue-rotate(207deg) brightness(97%) contrast(95%);
    transition: filter 0.3s ease;
}

/* Experience Section */
.experience {
    margin: 4rem 0;
}

.experience__content {
    margin-top: 2rem;
}

.experience__item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 1.5rem;
    border: 1px solid var(--gray-3);
    border-radius: 8px;
}

.experience__period {
    color: var(--primary);
    font-weight: 600;
    min-width: 80px;
}

.experience__details {
    flex: 1;
}

.experience__title {
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.experience__company {
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 500;
}

.experience__description {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.experience__tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.experience__tech li {
    background: var(--gray-3);
    color: var(--gray);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
}

/* Detailed Skills Section */
.detailed-skills {
    margin: 4rem 0;
}

.detailed-skills__content {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: stretch;
    align-content: flex-start;
    max-height: 1000px;
    overflow: visible;
}

.skill-category {
    /* Remove all background and border styling */
    border: none;
    background: none;
    padding: 1.5rem;
    transition: none;
    width: 100%;
    min-width: 0;
    margin-bottom: 0;
}

.skill-category:hover {
    transform: none;
    box-shadow: none;
    border-color: none;
}

.skill-category__title {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: left;
    position: relative;
    padding-bottom: 0.5rem;
}

.skill-category__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
    transition: 0.5s ease;
}

.skill-category__title:hover::after {
    width: 80px;
}

.skill-category__items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    background: none;
    border: none;
    border-bottom: 1px solid var(--gray-3);
    transition: all 0.3s ease;
    position: relative;
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    opacity: 0;
    transition: none;
    z-index: -1;
}

.skill-item:hover {
    border-bottom-color: var(--primary);
    transform: none;
    padding-left: 0.5rem;
}

.skill-item:hover::before {
    opacity: 0;
}

.skill-item__name {
    color: var(--white);
    font-weight: 500;
    font-size: 0.95rem;
}

.skill-item__level {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    background: rgba(199, 120, 221, 0.15);
    border-radius: 8px;
    border: 1px solid rgba(199, 120, 221, 0.3);
}

/* Personal Section */
.personal {
    margin: 4rem 0;
}

.personal__content {
    margin-top: 2rem;
}

.personal__interests {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.interest-item {
    border: 1px solid var(--gray-3);
    border-radius: 8px;
    padding: 1.5rem;
}

.interest-item__title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.interest-item__description {
    color: var(--gray);
    line-height: 1.6;
}

/* Contact CTA Section */
.contact-cta {
    margin: 4rem 0;
    text-align: left;
    padding: 3rem;
    border: 1px solid var(--gray-3);
    border-radius: 8px;
    background: var(--gray-3);
}

.contact-cta__content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-cta__description {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 2rem;
    padding-left: 1.5rem;
    font-size: 1.125rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        min-height: auto;
    }

    .about-hero__title {
        font-size: 2.2rem;
    }

    .about-hero__stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .about-hero__visual {
        order: -1;
        gap: 1rem;
    }

    .about-hero__image {
        max-width: 320px;
    }

    .about-hero__dots {
        top: -20px;
        right: -25px;
        width: 100px;
        height: 100px;
    }

    .about-hero__logo {
        width: 22vmin;
        top: -10%;
        left: -20%;
        z-index: 5;
        opacity: 0.9;
    }

    .about-hero__badge {
        min-width: 160px;
        padding: 0.875rem 1.25rem;
    }

    .badge-text {
        font-size: 0.75rem;
    }

    .badge-detail {
        font-size: 0.85rem;
    }

    .education__item,
    .experience__item {
        flex-direction: column;
        gap: 1rem;
    }

    .education__period,
    .experience__period {
        min-width: auto;
    }

    .education__logo-img {
        max-width: 150px;
    }

    .detailed-skills__content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skill-category {
        width: 100%;
        padding: 1rem;
        margin-bottom: 0;
    }

    .skill-category__title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .skill-item {
        padding: 0.5rem 0;
    }

    .skill-item__name {
        font-size: 0.9rem;
    }

    .skill-item__level {
        font-size: 0.8rem;
        padding: 0.15rem 0.5rem;
    }

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

@media (max-width: 480px) {
    .about-hero__logo {
        width: 30vmin;
        top: 20%;
        left: 10%;
        z-index: 5;
        opacity: 0.9;
    }

    .education__logo-img {
        max-width: 150px;
    }

    .detailed-skills__content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .skill-category {
        width: 100%;
        padding: 0.75rem;
        margin-bottom: 0;
    }

    .skill-category__title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .skill-item {
        flex-direction: row;
        align-items: center;
        gap: 0;
        padding: 0.6rem 0;
    }

    .skill-item__name {
        font-size: 0.85rem;
    }

    .skill-item__level {
        font-size: 0.75rem;
        padding: 0.15rem 0.4rem;
    }
}

@media (max-width: 320px) {
    .about-hero__logo {
        width: 30vmin;
        top: 20%;
        left: 10%;
        z-index: 5;
        opacity: 0.9;
    }
}