/* about.css */
/* reset stuff */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --main-color: #0a192f;
    --secondary-color: #64ffda;
    --text-color: #8892b0;
    --light-text: #ccd6f6;
    --card-bg: #112240;
    --border-color: #233554;
    --accent: #ff6b6b;
    --shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
    --section-bg: #0d1b36;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--main-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* helper class */
.wrap-it {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* top bar - same as other pages */
.top-thing {
    background-color: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.top-thing .wrap-it {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.my-brand {
    flex: 1;
}

.brand-txt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.links-box {
    display: flex;
    gap: 30px;
}

.page-link {
    color: var(--light-text);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.page-link:hover {
    color: var(--secondary-color);
}

.page-link.current {
    color: var(--secondary-color);
}

.page-link.current::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

.menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--secondary-color);
    font-size: 1.2rem;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

/* about top section */
.about-top {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--main-color) 0%, var(--section-bg) 100%);
}

.about-head {
    text-align: center;
    margin-bottom: 60px;
}

.about-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--light-text);
    line-height: 1.1;
    margin-bottom: 15px;
}

.highlight-word {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.highlight-word::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--secondary-color);
    opacity: 0.2;
    z-index: -1;
}

.about-sub {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.title-line {
    width: 100px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto;
}

/* about grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: start;
}

/* left side - image and quick facts */
.about-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.img-spot {
    width: 100%;
}

.dummy-img.about-img {
    height: 350px;
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.img-inside {
    text-align: center;
    z-index: 2;
    position: relative;
}

.img-icon {
    font-size: 5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.img-label {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 5px;
    font-weight: 600;
}

.img-note {
    font-size: 0.9rem;
    color: var(--text-color);
    font-style: italic;
}

.img-decoration {
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: var(--secondary-color);
    opacity: 0.05;
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
}

/* quick facts */
.quick-facts {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.facts-title {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.facts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background-color: rgba(35, 53, 84, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.fact-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.fact-text {
    display: flex;
    flex-direction: column;
}

.fact-label {
    font-size: 0.8rem;
    color: var(--text-color);
    margin-bottom: 3px;
    font-family: 'JetBrains Mono', monospace;
}

.fact-value {
    font-size: 1.1rem;
    color: var(--light-text);
    font-weight: 500;
}

/* right side - story and interests */
.about-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.story-box {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--border-color);
}

.story-title {
    font-size: 2rem;
    color: var(--light-text);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.story-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.story-content p {
    margin-bottom: 20px;
}

.quote-block {
    background-color: rgba(100, 255, 218, 0.05);
    border-left: 4px solid var(--secondary-color);
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.quote-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--light-text);
    line-height: 1.6;
}

/* interests box */
.interests-box {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.interests-title {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.interests-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
}

.interest-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background-color: rgba(35, 53, 84, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.interest-item:hover {
    background-color: rgba(100, 255, 218, 0.1);
    transform: translateX(5px);
}

.interest-icon {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.interest-text {
    color: var(--light-text);
    font-weight: 500;
}

/* timeline section */
.timeline-section {
    padding: 80px 0;
    background-color: var(--main-color);
}

.timeline-head {
    text-align: center;
    margin-bottom: 50px;
}

.timeline-title {
    font-size: 2.5rem;
    color: var(--light-text);
    margin-bottom: 15px;
}

.timeline-sub {
    font-size: 1.1rem;
    color: var(--text-color);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 30px;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 25px;
    border: 1px solid var(--border-color);
    margin-left: 20px;
}

.timeline-year {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-family: 'JetBrains Mono', monospace;
}

.timeline-text {
    line-height: 1.7;
}

/* skills section */
.skills-section {
    padding: 80px 0;
    background-color: var(--section-bg);
}

.skills-head {
    text-align: center;
    margin-bottom: 50px;
}

.skills-title {
    font-size: 2.5rem;
    color: var(--light-text);
    margin-bottom: 15px;
}

.skills-sub {
    font-size: 1.1rem;
    color: var(--text-color);
}

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

.skill-category {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.category-title {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    color: var(--light-text);
    font-weight: 500;
}

.skill-bar {
    height: 8px;
    background-color: rgba(35, 53, 84, 0.5);
    border-radius: 4px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background-color: var(--secondary-color);
    border-radius: 4px;
    width: 0%;
}

/* CTA section */
.cta-section {
    padding: 80px 0;
    background-color: var(--main-color);
}

.cta-box {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    border: 1px solid var(--border-color);
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.2rem;
    color: var(--light-text);
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

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

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--secondary-color);
    color: var(--main-color);
    padding: 15px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    border: 2px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: transparent;
    color: var(--secondary-color);
    transform: translateY(-3px);
}

.cta-btn.secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--border-color);
}

.cta-btn.secondary:hover {
    background-color: var(--secondary-color);
    color: var(--main-color);
    border-color: var(--secondary-color);
}

/* footer */
.bottom-thing {
    background-color: #0a0f1c;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'JetBrains Mono', monospace;
}

.footer-motto {
    font-size: 0.95rem;
    line-height: 1.7;
}

.links-heading {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: 'JetBrains Mono', monospace;
}

.footer-link {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-link.current {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    color: var(--light-text);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: var(--main-color);
    transform: translateY(-3px);
}

.copyright-line {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}


.img-inside {
    width: 100%;
    height: 200px;          /* adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px;
    overflow: hidden;
}

.img-inside img {
    border: 3px;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;    
}

/* responsive stuff */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-title {
        font-size: 2.8rem;
    }
    
    .about-left, .about-right {
        width: 100%;
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
}

@media (max-width: 768px) {
    .links-box {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--main-color);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 99;
    }
    
    .links-box.show {
        transform: translateY(0);
    }
    
    .menu-btn {
        display: block;
    }
    
    .page-link {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.1rem;
    }
    
    .page-link:last-child {
        border-bottom: none;
    }
    
    .about-title {
        font-size: 2.3rem;
    }
    
    .about-top {
        padding: 60px 0 40px;
    }
    
    .story-box, .interests-box, .skill-category {
        padding: 25px;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-dot {
        margin-right: 20px;
        width: 16px;
        height: 16px;
    }
    
    .cta-box {
        padding: 40px 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 2rem;
    }
    
    .about-sub {
        font-size: 1.1rem;
    }
    
    .story-title, .skills-title, .timeline-title {
        font-size: 1.8rem;
    }
    
    .dummy-img.about-img {
        height: 280px;
        padding: 30px;
    }
    
} 