/* About page specific styles */
.about-section {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: 
        "text photo"
        "highlights highlights";
    gap: 2rem 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 65px;
    padding-bottom: 65px;
    padding-right: 40px;
    padding-left: 30px;
}

.about-text {
    grid-area: text;
    padding: 0;
    font-size: 1.2rem;
}

.about-photo {
    grid-area: photo;
    animation: fadeInLeft 1s ease-out;
    justify-self: end;
    align-self: center;
}

.photo-container {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(45deg, #1a1a2e, #16213e);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    filter: contrast(1.05) saturate(1.05) brightness(1.02);
    transform: translateZ(0);
}

.about-below {
    grid-area: highlights;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 2rem;
    animation: fadeInUp 1s ease-out;
}

.about-highlights {
    align-content: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.highlight-icon {
    font-size: 1.5rem;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 1024px) {
    .about-section {
        gap: 2rem;
    }
    
    .photo-container {
        width: 300px;
        height: 300px;
    }
    
    .about-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .about-section {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "photo"
            "text"
            "highlights";
        justify-items: center;
        text-align: center;
        padding: 20px;
    }
    
    .about-photo {
        justify-self: center;
        margin-bottom: 1rem;
    }
    
    .photo-container {
        width: 250px;
        height: 250px;
    }
    
    .about-text {
        font-size: 1.2rem;
        padding: 0;
    }
    
    .about-below {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .highlight-item {
        width: 100%;
        justify-content: center;
    }
}

/* About page specific link colors */
.about-page .content-link {
    color: var(--green-color);
}

.about-page .content-link:visited {
    color: var(--green-color); /* Stays green */
}

.about-page .content-link:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.5);
}