/* About Section Styles */

.about-container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 2rem var(--container-padding, 2rem);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.profile-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 2.5rem;
    display: grid;
    grid-template-columns: minmax(200px, auto) 1fr;
    gap: 2.5rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(100, 255, 218, 0.1);
}

.profile-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 30px 60px -15px rgba(2,12,27,0.7);
}

.profile-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.profile-image-container {
    position: relative;
    width: 220px;
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(2,12,27,0.7);
    background: var(--primary-color);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    filter: brightness(0.9) contrast(1.1);
}

.profile-image:hover {
    transform: scale(1.03);
    filter: brightness(1) contrast(1);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: flex-start;
    text-align: left;
}

.profile-info h3 {
    color: var(--accent-color);
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.profile-info .subtitle {
    color: var(--text-secondary);
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    margin: 0.5rem 0 1rem;
    line-height: 1.4;
}

.about-text {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.2rem;
    margin: 0.5rem 0 2rem;
    max-width: 95%;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about-text p {
    margin-bottom: 1.5rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    border-left: 3px solid var(--accent-color);
    padding-left: 2rem;
    margin-top: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 18px;
    height: 18px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(100, 255, 218, 0.3);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(100, 255, 218, 0.1);
    opacity: 0;
    transform: translateX(-20px);
    animation: fadeInLeft 0.5s ease forwards;
    animation-delay: calc(var(--index, 0) * 0.2s);
}

.timeline-dot {
    position: absolute;
    left: -7px;
    top: 10px;
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(100, 255, 218, 0.3);
}

.timeline-content {
    background: var(--secondary-color);
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.1);    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.timeline-content:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(2,12,27,0.3);
}

.timeline-content h4 {
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 0.4rem;
    letter-spacing: 0.5px;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: center;
    justify-content: flex-start;
}

.resume-button,
.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    width: 220px;
    height: 50px;
    text-align: center;
    box-sizing: border-box;
    flex-shrink: 0;
    line-height: 1;
}

.resume-button span,
.contact-button span {
    position: relative;
    z-index: 1;
    white-space: nowrap;
}

.resume-button {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.contact-button {
    background: var(--accent-color);
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
}

.resume-button::before,
.contact-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: rgba(100, 255, 218, 0.1);
    transform: translate(-50%, -50%) rotate(45deg) scale(0);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.resume-button:hover,
.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
}

.resume-button:hover::before,
.contact-button:hover::before {
    transform: translate(-50%, -50%) rotate(45deg) scale(1);
}

.contact-button:hover {
    background: transparent;
    color: var(--accent-color);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .about-container {
        padding: 1rem;
    }

    .profile-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 2rem;
    }

    .profile-image-wrapper {
        width: 100%;
        margin-bottom: 1rem;
    }

    .profile-image-container {
        width: 200px;
        height: 200px;
        margin: 0 auto;
        display: block !important;
    }

    .profile-info {
        text-align: center;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .profile-info h3 {
        font-size: 1.8rem;
        display: block !important;
        margin-bottom: 0.5rem;
    }

    .about-text {
        font-size: 1rem;
        text-align: center;
        display: block !important;
        margin: 1rem 0;
    }

    .cta-buttons {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
        margin-top: 1rem;
        width: 100%;
    }

    .resume-button,
    .contact-button {
        min-width: 220px;
        justify-content: center;
    }

    .timeline {
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .profile-card {
        padding: 1rem;
    }

    .profile-image-container {
        width: 180px;
        height: 180px;
    }

    .profile-info h3 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .resume-button,
    .contact-button {
        width: 100%;
        min-width: unset;
    }
}

@media (max-width: 992px) {
    .profile-card {
        grid-template-columns: minmax(180px, auto) 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .profile-image-container {
        width: 200px;
        height: 200px;
    }

    .profile-info h3 { 
        font-size: 2rem; 
    }
    
    .profile-info .subtitle { 
        font-size: 1.3rem; 
    }
    
    .about-text { 
        font-size: 1.1rem; 
    }
}

/* Light Theme Adjustments */
body.light-theme .profile-card {
    background: var(--light-primary);
    border: 1px solid var(--light-border);
    box-shadow: 0 8px 20px var(--light-shadow);
}

body.light-theme .profile-card:hover {
    border-color: var(--light-accent);
    box-shadow: 0 12px 30px rgba(201, 100, 66, 0.15);
}

body.light-theme .profile-info h3 {
    color: var(--light-accent);
}

body.light-theme .about-text {
    color: var(--light-text-secondary);
}

body.light-theme .resume-button {
    color: var(--light-accent);
    border: 2px solid var(--light-accent);
    background: transparent;
}

body.light-theme .resume-button:hover {
    background: rgba(201, 100, 66, 0.08);
}

body.light-theme .contact-button {
    background: var(--light-accent);
    color: white;
    border: none;
}

body.light-theme .contact-button:hover {
    background: var(--light-accent-hover);
    color: white;
}

body.light-theme .timeline {
    border-left-color: var(--light-border);
}

body.light-theme .timeline-content {
    background: var(--light-secondary);
    border-color: var(--light-border);
    box-shadow: 0 4px 15px var(--light-shadow);
}

body.light-theme .timeline-content:hover {
    border-color: var(--light-accent);
    box-shadow: 0 10px 20px rgba(201, 100, 66, 0.15);
}

body.light-theme .timeline-content h4 {
    color: var(--light-accent);
}

body.light-theme .timeline-content p {
    color: var(--light-text-secondary);
}

body.light-theme .timeline-dot {
    background: var(--light-primary);
    border-color: var(--light-accent);
}
