/* About Section */
.about {
    background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(34, 34, 34, 0.8) 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(255, 102, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(255, 102, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-3xl);
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Avatar Section */
.about-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: var(--spacing-lg);
}

.avatar {
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    position: relative;
    clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 15% 100%, 0 85%);
    border: 2px solid var(--accent-orange);
    transition: all var(--transition-normal);
}

.avatar:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 102, 0, 0.2);
}

.about-image::before {
    content: '';
    position: absolute;
    top: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 350px;
    aspect-ratio: 3/4;
    background: var(--secondary-bg);
    clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 15% 100%, 0 85%);
    z-index: -1;
    border: 1px solid rgba(255, 102, 0, 0.3);
    transform: translateX(-50%) translate(10px, 10px);
}

/* Text Content */
.about-text {
    padding-top: var(--spacing-lg);
}

.about-subtitle {
    font-family: var(--font-primary);
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: var(--spacing-lg);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 2px;
    background: var(--accent-orange);
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 100%, 8px 100%);
}

.about-description {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    text-align: justify;
}

.about-description:last-of-type {
    margin-bottom: var(--spacing-2xl);
}

/* Info Items */
.about-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.info-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
    position: relative;
}

.info-icon {
    width: 16px;
    height: 16px;
    position: relative;
    flex-shrink: 0;
}

.info-item:nth-child(1) .info-icon::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-orange);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.info-item:nth-child(2) .info-icon::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--accent-orange);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 80% 100%, 0 100%);
}

.info-item:nth-child(3) .info-icon::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 2px;
    background: var(--accent-orange);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.info-text {
    font-size: var(--font-size-base);
    color: var(--text-secondary);
    font-weight: 500;
}

/* Geometric Decorations */
.about-text::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50px;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(255, 102, 0, 0.1);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    transform: rotate(30deg);
    z-index: -1;
}

.about-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -30px;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255, 102, 0, 0.1);
    clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 20% 100%, 0 80%);
    transform: rotate(-15deg);
    z-index: -1;
}

/* Hover Effects */
.info-item:hover {
    transform: translateX(10px);
    transition: transform var(--transition-normal);
}

.info-item:hover .info-icon {
    transform: scale(1.2);
    transition: transform var(--transition-normal);
}

.info-item:hover .info-text {
    color: var(--text-primary);
    transition: color var(--transition-normal);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1.5fr;
        gap: var(--spacing-2xl);
    }
    
    .avatar {
        max-width: 300px;
    }
    
    .about-image::before {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }
    
    .about-image {
        justify-content: center;
        padding-top: 0;
    }
    
    .avatar {
        max-width: 280px;
    }
    
    .about-image::before {
        max-width: 280px;
    }
    
    .about-text {
        padding-top: 0;
    }
    
    .about-description {
        text-align: left;
    }
    
    .about-info {
        align-items: flex-start;
    }
    
    .about-text::before,
    .about-text::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .avatar {
        max-width: 250px;
    }
    
    .about-image::before {
        max-width: 250px;
    }
    
    .about-subtitle {
        font-size: var(--font-size-xl);
    }
    
    .about-description {
        font-size: var(--font-size-base);
    }
    
    .info-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
}

/* Animation on Scroll */
.about-content {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.about-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.about-image {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease 0.2s;
}

.about-image.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-text {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease 0.4s;
}

.about-text.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Enhanced Visual Effects */
.about-image:hover::before {
    transform: translateX(-50%) translate(15px, 15px);
    transition: transform var(--transition-normal);
}

.about-subtitle:hover::after {
    width: 80%;
    transition: width var(--transition-normal);
}

/* Loading States */
.avatar {
    background: var(--secondary-bg);
    background-image: linear-gradient(90deg, var(--secondary-bg) 0%, rgba(255, 255, 255, 0.1) 50%, var(--secondary-bg) 100%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.avatar[src] {
    background: none;
    animation: none;
} 