/* About Page Specific Styles */

/* About Intro Section */
.about-intro-section {
    padding: 60px 0;
    background: var(--light);
}

.section-padding {
    padding: 60px 0;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-intro-image {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--primary);
    box-shadow: 6px 6px 0 rgba(45, 15, 69, 0.08);
    margin: 0 auto;
}

.about-intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

.about-intro-image:hover img {
    transform: scale(1.05);
}

.about-intro-image .scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, transparent 98%, rgba(0, 217, 198, 0.1) 100%);
    background-size: 100% 20px;
    animation: scan 3s linear infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.about-intro-content {
    padding-left: 20px;
}

.about-intro-content h3 {
    font-size: 28px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
}

.about-intro-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.about-intro-content p:last-of-type {
    margin-bottom: 30px;
}

.about-intro-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--light);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 151, 0.3);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.section-subtitle {
    font-size: 18px;
    color: var(--medium);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Mission Values Section */
.mission-values-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(247, 240, 250, 0.5), rgba(255, 255, 255, 0.8));
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.mission-item {
    text-align: center;
    padding: 40px 30px;
    background: var(--light);
    border-radius: 15px;
    border-left: 5px solid var(--secondary);
    box-shadow: 6px 6px 0 rgba(45, 15, 69, 0.08);
    transition: transform 0.3s ease;
}

.mission-item:hover {
    transform: translateY(-10px);
}

.mission-item:nth-child(even) {
    border-left-color: var(--primary);
}

.mission-icon {
    width: 60px;
    height: 60px;
    color: var(--primary);
    margin: 0 auto 25px;
}

.mission-item:nth-child(even) .mission-icon {
    color: var(--secondary);
}

.mission-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.mission-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Skills Section */
.skills-section {
    padding: 80px 0;
    background: var(--light);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--light);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 107, 151, 0.2);
}

.skill-icon {
    width: 60px;
    height: 60px;
    color: var(--primary);
    margin: 0 auto 20px;
}

.skill-name {
    font-size: 20px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.skill-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
}

/* Page Header Override */
.page-pretitle {
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.page-title {
    font-size: 42px;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

.page-title .highlight {
    color: var(--primary);
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Glitch Effect */
.glitch {
    position: relative;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: var(--primary);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: var(--secondary);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(2px, 2px); }
    40% { transform: translate(2px, -2px); }
    60% { transform: translate(-2px, 2px); }
    80% { transform: translate(-2px, -2px); }
}

/* Responsive */
@media (max-width: 768px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .about-intro-image {
        width: 200px;
        height: 200px;
    }
    
    .about-intro-content {
        padding-left: 0;
    }
    
    .about-intro-content h3 {
        font-size: 24px;
    }
    
    .about-intro-social {
        justify-content: center;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .page-subtitle {
        font-size: 18px;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }
}

/* About Page Header */
.about-header {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, 
        rgba(255, 107, 151, 0.1), 
        rgba(138, 79, 189, 0.08), 
        rgba(0, 217, 198, 0.1)
    );
    position: relative;
    overflow: hidden;
}

.about-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to bottom, rgba(247, 240, 250, 0.9), rgba(255, 255, 255, 0.95)),
        url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238a4fbd' fill-opacity='0.08'%3E%3Cpath d='M20 20h20v20H20V20zm20 20h20v20H40V40zm0-20h20v20H40V20zM20 40h20v20H20V40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.about-header-content {
    position: relative;
    z-index: 1;
}

.about-page-title {
    font-size: 48px;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.4);
    font-family: 'Orbitron', sans-serif;
}

.about-page-subtitle {
    font-size: 22px;
    color: var(--medium);
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.4;
}

/* Author Hero Section */
.author-hero {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 40px 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 6px 6px 0 rgba(45, 15, 69, 0.08);
}

.author-hero-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    border: 4px solid var(--primary);
    position: relative;
}

.author-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

.author-hero-image:hover img {
    transform: scale(1.05);
}

.author-hero-content {
    flex-grow: 1;
}

.author-hero-name {
    font-size: 36px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

.author-hero-title {
    font-size: 18px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.author-hero-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.author-stat {
    text-align: center;
}

.author-stat-number {
    display: block;
    font-size: 28px;
    font-weight: bold;
    color: var(--primary);
    font-family: 'Orbitron', sans-serif;
}

.author-stat-label {
    font-size: 14px;
    color: var(--medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Mission Section */
.mission-section {
    background: linear-gradient(135deg, rgba(247, 240, 250, 0.8), rgba(255, 255, 255, 0.9));
    padding: 60px 40px;
    border-radius: 15px;
    margin: 60px 0;
    position: relative;
    overflow: hidden;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.mission-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.mission-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
    transition: transform 0.3s ease;
}

.mission-item:hover {
    transform: translateY(-5px);
}

.mission-item:nth-child(even) {
    border-left-color: var(--primary);
}

.mission-icon {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.mission-item:nth-child(even) .mission-icon {
    color: var(--secondary);
}

.mission-item-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 15px;
    font-family: 'Orbitron', sans-serif;
}

.mission-item-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Skills Section */
.skills-section {
    margin: 60px 0;
}

.skills-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.skill-category {
    background: var(--light);
    padding: 30px;
    border-radius: 12px;
    border-top: 4px solid var(--primary);
    box-shadow: 4px 4px 0 rgba(45, 15, 69, 0.08);
}

.skill-category:nth-child(even) {
    border-top-color: var(--secondary);
}

.skill-category-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
}

.skill-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(138, 79, 189, 0.1);
    font-size: 16px;
    color: var(--text-dark);
}

.skill-list li:last-child {
    border-bottom: none;
}

/* Journey Section */
.journey-section {
    background: linear-gradient(135deg, rgba(0, 217, 198, 0.1), rgba(255, 107, 151, 0.08));
    padding: 60px 40px;
    border-radius: 15px;
    margin: 60px 0;
}

.journey-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.journey-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    transform: translateX(-50%);
}

.journey-item {
    position: relative;
    margin-bottom: 40px;
    padding: 0 40px;
}

.journey-item:nth-child(odd) {
    text-align: right;
}

.journey-item:nth-child(even) {
    text-align: left;
}

.journey-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--light);
    z-index: 1;
}

.journey-year {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

.journey-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Contact CTA */
.contact-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    margin: 60px 0;
}

.contact-cta-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
}

.contact-cta-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-button {
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--light);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Glitch Effect for Name */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch-text::before {
    animation: glitch-1 2s infinite;
    color: var(--primary);
    z-index: -1;
}

.glitch-text::after {
    animation: glitch-2 2s infinite;
    color: var(--secondary);
    z-index: -2;
}

@keyframes glitch-1 {
    0%, 14%, 15%, 49%, 50%, 99%, 100% {
        opacity: 0;
        transform: translateX(0);
    }
    15%, 49% {
        opacity: 1;
        transform: translateX(-2px);
    }
}

@keyframes glitch-2 {
    0%, 19%, 20%, 44%, 45%, 99%, 100% {
        opacity: 0;
        transform: translateX(0);
    }
    20%, 44% {
        opacity: 1;
        transform: translateX(2px);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-page-title {
        font-size: 36px;
    }
    
    .author-hero {
        flex-direction: column;
        text-align: center;
    }
    
    .author-hero-image {
        width: 150px;
        height: 150px;
    }
    
    .author-hero-name {
        font-size: 28px;
    }
    
    .journey-timeline::before {
        left: 20px;
    }
    
    .journey-item {
        padding-left: 50px;
        text-align: left !important;
    }
    
    .journey-item::before {
        left: 20px;
        transform: translateY(-50%);
    }
}

@media (max-width: 768px) {
    .about-page-title {
        font-size: 28px;
    }
    
    .mission-section,
    .journey-section,
    .contact-cta {
        padding: 40px 20px;
    }
    
    .mission-title,
    .skills-title,
    .journey-title,
    .contact-cta-title {
        font-size: 24px;
    }
    
    .author-hero-stats {
        justify-content: center;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-button {
        width: 100%;
        max-width: 300px;
    }
}