﻿:root {
    --primary-color: #38bdf8;
    --secondary-color: #7c3aed;
    --background-color: #0f172a;
    --background-color-light: #172139;
    --background-color-dark: #0a0f1b;
    --text-color: #e2e8f0;
    --footer-text: #64748b;
    --gradient-primary: linear-gradient(to right, #38bdf8, #7c3aed);
}

/* ---------------- RESET ---------------- */

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

/* ---------------- BASE ---------------- */

body {
    background: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* ---------------- BACKGROUND EFFECTS ---------------- */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.18), transparent 30%), radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.15), transparent 30%);
    z-index: -1;
}
.cursorGlow {
    position: fixed;
    top: 0;
    left: 0;
    width: 600px;
    height: 600px;
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    background: radial-gradient( circle, rgba(56, 189, 248, 0.18), rgba(124, 58, 237, 0.12), transparent 60% );
    filter: blur(40px);
    opacity: 0.8;
}
/* ---------------- HEADER ---------------- */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(23, 33, 57, 0.85);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    height: 80px;
    z-index: 1000;
    border-bottom: 1px solid rgba(56, 189, 248, 0.1);
}

    header h1 a {
        font-size: 24px;
        color: var(--primary-color);
        text-decoration: none;
        font-weight: bold;
    }

nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--text-color);
    transition: 0.3s ease;
    font-size: 15px;
}

    nav a:hover {
        color: var(--primary-color);
    }

/* ---------------- HERO ---------------- */

.heroSection {
    min-height: 80vh; /* instead of full screen */
    width: 90%;
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: center;
    padding: 40px 0;
}

.heroContent {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
    .heroContent .pill--tag {
        font-size: 12px;
        padding: 6px 12px;
        background: rgba(56,189,248,0.06);
        border-color: rgba(56,189,248,0.10);
    }
    .heroContent h2 {
        font-size: clamp(2.5rem, 5vw, 4.5rem);
        line-height: 1;
        margin-bottom: 25px;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .heroContent h3 {
        font-size: 26px;
        margin-bottom: 30px;
        color: white;
        font-weight: 500;
    }

    .heroContent p {
        font-size: 19px;
        line-height: 1.9;
        color: #cbd5e1;
        max-width: 700px;
    }

/* ---------------- HERO IMAGE ---------------- */

.pictureWrapper {
    position: relative;
}

.pictureGlow {
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, rgba(56,189,248,0.3), rgba(124,58,237,0.3));
    filter: blur(30px);
    z-index: 0;
}

.pictureBox {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 30px;
    border: 2px solid rgba(56,189,248,0.2);
    transform: skew(-6deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.picture {
    width: 120%;
    height: 120%;
    margin-left: -10%;
    margin-top: -5%;
    transform: skew(6deg);
    background: url('images/selfie.jpg') center top / cover no-repeat;
}

/* ---------------- BUTTONS ---------------- */

.heroButton {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(56,189,248,0.18), rgba(124,58,237,0.18));
    border: 1px solid rgba(56,189,248,0.25);
    transition: 0.3s ease;
    backdrop-filter: blur(8px);
}

    .heroButton:hover {
        transform: translateY(-3px);
        border-color: rgba(124,58,237,0.6);
        box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    }

/* ---------------- TAGS ---------------- */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    font-size: 13px;
    padding: 8px 14px;
}
.pill--tag {
    background: rgba(56,189,248,0.08);
    border: 1px solid rgba(56,189,248,0.12);
    color: var(--primary-color);
    cursor: default;
    user-select: none;
}
.pill--link {
    background: rgba(56,189,248,0.12);
    border: 1px solid rgba(56,189,248,0.25);
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s ease;
}
    .pill--link:hover {
        transform: translateY(-2px);
        border-color: rgba(124,58,237,0.5);
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }
.tagContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 35px;
}




    
/* ---------------- SECTION TITLE ---------------- */

.sectionTitle {
    font-size: 40px;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

    .sectionTitle::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -10px;
        width: 60%;
        height: 4px;
        border-radius: 10px;
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    }

/* ---------------- GENERIC SECTIONS ---------------- */

section {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 80px 0;
}
/* ---------------- PROJECT STATUS ---------------- */

.projectStatus {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    margin-bottom: 15px;
}

    /* ACTIVE */

    .projectStatus.active {
        background: rgba(34,197,94,0.12);
        color: #4ade80;
        border-color: rgba(34,197,94,0.25);
    }

    /* FINISHED */

    .projectStatus.finished {
        background: rgba(56,189,248,0.12);
        color: var(--primary-color);
        border-color: rgba(56,189,248,0.25);
    }

    /* PAUSED */

    .projectStatus.paused {
        background: rgba(245,158,11,0.12);
        color: #fbbf24;
        border-color: rgba(245,158,11,0.25);
    }
/* ---------------- CARDS (BASE STYLE CONCEPT) ---------------- */
.projectGrid {
    width: 90%;
    max-width: 1400px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(340px,1fr));
    gap: 35px;
    padding-bottom: 100px;
}
.choiceBoxes {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.projectCard {
    display: block;
    position: relative;
    background: var(--background-color-light);
    border: 1px solid rgba(56,189,248,0.15);
    border-radius: 25px;
    padding: 25px 30px;
    transition: 0.3s ease;
    cursor: pointer;
}

.projectCard--clickable {
    display: block;
    text-decoration: none; 
    color: inherit; 
}

    .projectCard--clickable::after {
        content: "→";
        position: absolute;
        right: 25px;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.3;
        transition: 0.2s ease;
    }

.projectCard--clickable:hover::after {
    opacity: 0.8;
    transform: translateY(-50%) translateX(5px);
}
.projectCard h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.projectCard p {
    color: #94a3b8;
    line-height: 1.7;
}

.projectCard--clickable:hover {
    transform: translateY(-6px);
    border-color: rgba(124,58,237,0.4);
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}
.projectModal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

    .projectModal.active {
        display: block;
    }

.projectModalBackdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
}
body.modalOpen {
    overflow: hidden;
}
.projectModalContent {
    position: relative;
    width: min(1100px, 95%);
    margin: 60px auto;
    background: var(--background-color-light);
    border: 1px solid rgba(56,189,248,0.2);
    border-radius: 25px;
    overflow: hidden;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

    .projectModalContent.animateIn {
        transform: scale(1);
        opacity: 1;
    }
.modalClose {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}
/* ---------------- PROJECTS ---------------- */

.imageCarousel {
    width: 100%;
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) transparent;
    scroll-behavior: smooth;
}
.imageSlide::after {
    transition: opacity 0.3s ease;
}


    .imageCarousel::-webkit-scrollbar {
        height: 8px;
    }

    .imageCarousel::-webkit-scrollbar-thumb {
        background: rgba(56,189,248,0.5);
        border-radius: 999px;
    }

.imageSlide {
    min-width: 100%;
    aspect-ratio: 16 / 9; /* fallback default */
    background-size: cover;
    background-position: center;
    scroll-snap-align: start;
    flex-shrink: 0;
    position: relative;
}

    /* optional shared cinematic overlay */
    .imageSlide::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(15,23,42,0.75), transparent 50% );
    }
.imageCarousel--wide .imageSlide {
    aspect-ratio: 16 / 9;
}
.imageCarousel--square .imageSlide {
    aspect-ratio: 1 / 1;
}
.projectContent {
    padding: 30px;
}

    .projectContent h3 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .projectContent p {
        color: #94a3b8;
        line-height: 1.8;
    }

/* ---------------- FEATURED PROJECT ---------------- */

.featuredProject {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto 100px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: rgba(23, 33, 57, 0.65);
    border: 1px solid rgba(56,189,248,0.12);
    border-radius: 30px;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.featuredContent {
    padding: 60px;
}

    .featuredContent h2 {
        font-size: 56px;
        line-height: 1;
        margin-bottom: 25px;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .featuredContent p {
        color: #cbd5e1;
        font-size: 18px;
        line-height: 1.9;
    }

/* ---------------- ART ---------------- */

.artGrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.artImage {
    width: 100%;
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    position: relative;
}

    .artImage::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(15,23,42,0.9), transparent 50%);
    }

.artContent {
    padding: 25px;
}

    .artContent h3 {
        font-size: 24px;
        margin-bottom: 12px;
        color: white;
    }

    .artContent p {
        color: #94a3b8;
        font-size: 15px;
        line-height: 1.7;
    }

.artTags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.artTag {
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(56,189,248,0.1);
    border: 1px solid rgba(56,189,248,0.15);
    color: var(--primary-color);
    font-size: 13px;
}

/* ---------------- TIMELINE ---------------- */

.timeline {
    position: relative;
    margin-top: 50px;
    padding-left: 65px;
}

/* the spine */
.timeline::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: rgba(124, 58, 237, 0.5);
    border-radius: 999px;
}
.timelineItem.current::before {
    background: var(--primary-color);
    box-shadow: 0 0 0 6px rgba(56, 189, 248, 0.15);
}
.timelineItem.completed::before {
    background: #22c55e;
}

/* item spacing */
.timelineItem {
    position: relative;
    margin-bottom: 60px;
}

/* node dot */
.timelineItem::before {
    content: "";
    position: absolute;
    left: -52px;
    top: 6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}

/* hover polish */
.timelineItem:hover::before {
    transform: scale(1.15);
    transition: 0.2s ease;
}


/* ---------------- FOOTER ---------------- */

footer {
    text-align: center;
    padding: 30px;
    background: var(--background-color-dark);
    color: var(--footer-text);
    border-top: 1px solid rgba(56,189,248,0.08);
}

/* ---------------- RESPONSIVE ---------------- */
@media screen and (max-width: 1000px) {

    .heroSection,
    .featuredProject {
        grid-template-columns: 1fr;
    }

    .heroSection {
        gap: 50px;
        padding: 40px 0;
        text-align: center;
    }

    .featuredContent {
        padding: 40px;
    }
}

@media screen and (max-width: 768px) {

    header {
        flex-direction: column;
        height: auto;
        padding: 20px;
        gap: 20px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

        nav a {
            margin: 5px 10px;
        }

    .heroContent h3 {
        font-size: 22px;
    }

    .heroContent p {
        font-size: 16px;
    }

    .sectionTitle {
        font-size: 32px;
    }

    .featuredContent h2 {
        font-size: 34px;
    }
    .cursorGlow {
        display: none;
    }
}
