/* ABOUT PAGE STYLES */
:root {
    --black: #292b2d;
    --white: #f9f7f4;
    --light-gray: #f5f5f5;
    --gray: #999;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--light-gray);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* CUSTOM CURSOR - Same as main site */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.06);
}

.cursor-hover .cursor {
    transform: translate(-50%, -50%) scale(1.5);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.cursor-hover .cursor-follower {
    transform: translate(-50%, -50%) scale(1.2);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.08);
}


/* ABOUT PAGE LAYOUT */
.about-page {
    padding-top: 60px;
}

.about-hero {
    padding: 80px 40px 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.about-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    color: var(--black);
}

/* ABOUT CONTENT */
.about-content {
    padding: 40px;
}

.about-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    max-width: 1300px;
    margin: 0 auto;
}

.profile-section {
    display: flex;
    flex-direction: column;
}

.profile-image {
    width: 400px;
    height: 500px;
    background: #999;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.image-placeholder {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: var(--white);
}

.case-study-btn {
    display: block;
    width: 100%;
    padding: 20px;
    border: 3px solid var(--black);
    background-color: var(--white);
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    text-align: center;
    cursor: none;
    transition: var(--transition);
    box-sizing: border-box;
}

.case-study-btn:hover {
    transform: translate(3px, -3px);
    box-shadow: -3px 3px 0px var(--black);
}

/* CASE STUDY HERO SECTION */
.case-study-hero {
    background-color: var(--black);
    color: var(--white);
    padding: 120px 40px 80px;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
}

.case-study-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    text-align: left;
}

.case-study-title {
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1;
}

.case-study-subtitle {
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    opacity: 0.8;
    margin: 0;
}

.case-study-hero-bottom {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.case-study-hero-left,
.case-study-hero-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.case-study-hero-left {
    text-align: left;
}

.case-study-hero-right {
    text-align: right;
}

.case-study-hero-left div,
.case-study-hero-right div {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    line-height: 1.2;
}

/* CASE STUDY PAGE CONTENT */
.case-study-page {
    padding-top: 0;
    background-color: var(--light-gray);
}

.case-study-content {
    padding: 80px 40px;
}

.case-study-layout {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.case-study-text h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--black);
}

.case-study-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
    color: var(--black);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.back-to-project {
    margin-top: 60px;
}

.back-btn {
    display: inline-block;
    padding: 15px 30px;
    border: 3px solid var(--black);
    background-color: var(--white);
    color: var(--black);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: none;
}

.back-btn:hover {
    background-color: var(--black);
    color: var(--white);
    transform: translate(3px, -3px);
    box-shadow: -3px 3px 0px var(--black);
}

.about-text {
    max-width: 700px;
}

.about-text h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--black);
}

.about-text p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--black);
}

/* Key word highlighting effects */
.highlight-text {
    position: relative;
    transition: var(--transition);
}

.key-word {
    position: relative;
    display: inline;
    transition: all 0.3s ease;
    padding: 2px 4px;
    border-radius: 3px;
    background: transparent;
}

.highlight-text:hover .key-word {
    background: var(--black);
    color: var(--white);
    font-weight: 500;
    transform: scale(1.02);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Staggered animation for multiple key words */
.highlight-text:hover .key-word:nth-child(1) { transition-delay: 0s; }
.highlight-text:hover .key-word:nth-child(2) { transition-delay: 0.05s; }
.highlight-text:hover .key-word:nth-child(3) { transition-delay: 0.1s; }
.highlight-text:hover .key-word:nth-child(4) { transition-delay: 0.15s; }
.highlight-text:hover .key-word:nth-child(5) { transition-delay: 0.2s; }
.highlight-text:hover .key-word:nth-child(6) { transition-delay: 0.25s; }
.highlight-text:hover .key-word:nth-child(7) { transition-delay: 0.3s; }
.highlight-text:hover .key-word:nth-child(8) { transition-delay: 0.35s; }

/* Alternative: Individual key word hover (in case you want each word to highlight individually) */
.key-word:hover {
    background: var(--black) !important;
    color: var(--white) !important;
    font-weight: 500 !important;
    transform: scale(1.05) !important;
    cursor: none;
}

.skills-section {
    margin-top: 50px;
}

.skill-category {
    margin-bottom: 30px;
}

.skill-category h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--black);
}

.skill-tags,
.personal-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag,
.personal-skill {
    display: inline-block;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--black);
    border-radius: 20px;
    font-size: 14px;
    color: var(--black);
    font-family: 'Inter', sans-serif;
}

.personal-skill {
    background: var(--black);
    color: var(--white);
}

/* CONTACT SECTION */
.contact-section {
    padding: 80px 40px;
    background: var(--light-gray);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-left h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--black);
}

.contact-details,
.social-details {
    margin-bottom: 40px;
}

.contact-details h3,
.social-details h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--black);
}

.contact-item {
    margin-bottom: 10px;
}

.contact-item span {
    display: inline-block;
    padding: 12px 20px;
    border: 1px solid var(--black);
    border-radius: 25px;
    font-size: 14px;
    color: var(--black);
}

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

.social-link {
    display: inline-block;
    padding: 12px 20px;
    border: 1px solid var(--black);
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    color: var(--black);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--black);
    color: var(--white);
}

.contact-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-image {
    width: 350px;
    height: 250px;
    background: #999;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FOOTER */
.footer {
    background-image: url('../../images/background-hero-home.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--black);
    color: var(--white);
    padding: 40px;
}

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

.footer-left {
    text-align: left;
}

.footer-text {
    font-size: 14px;
    line-height: 1.5;
}

.footer-nav {
    display: flex;
    gap: 40px;
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.7;
}

.footer-right {
    text-align: right;
}

.footer-contact {
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact div:first-child {
    font-weight: 600;
    margin-bottom: 10px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .profile-image {
        width: 350px;
        height: 450px;
        margin: 0 auto 20px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .contact-image {
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-nav {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 60px 20px 20px;
    }
    
    .about-content {
        padding: 20px;
    }
    
    .contact-section {
        padding: 60px 20px;
    }
    
    .footer {
        padding: 30px 20px;
    }
    
    .nav {
        padding: 0 20px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .profile-image {
        width: 300px;
        height: 380px;
    }
    
    .contact-image {
        width: 280px;
        height: 200px;
    }
    
    .skill-tags,
    .personal-skills {
        justify-content: center;
    }
}

/* HIDE CURSOR ON TOUCH DEVICES */
@media (hover: none) and (pointer: coarse) {
    .cursor,
    .cursor-follower {
        display: none;
    }
    
    body {
        cursor: auto;
    }
    
    .social-link,
    .case-study-btn,
    .back-btn {
        cursor: pointer;
    }
}