/* =====================================================
   RESET
===================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: #fbf8fc;
    color: #33263a;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}



/* =====================================================
   COLOR SYSTEM

   Deep Plum     #33263A
   Plum          #654C70
   Lilac         #B9A0CE
   Rose Quartz   #D9A8BA
   Dusty Rose    #C88FA6
   Lavender      #EAE0F2
   Cream         #FBF8FC
===================================================== */



/* =====================================================
   BACKGROUND
===================================================== */

.background {
    position: fixed;
    inset: 0;

    overflow: hidden;

    pointer-events: none;

    z-index: -1;
}

.gradient-circle {
    position: absolute;

    border-radius: 50%;

    filter: blur(90px);

    opacity: 0.45;
}

.circle-one {
    width: 420px;
    height: 420px;

    background: #e3bfd0;

    top: -180px;
    left: -130px;
}

.circle-two {
    width: 380px;
    height: 380px;

    background: #cdb9df;

    right: -150px;
    top: 35%;
}

.circle-three {
    width: 350px;
    height: 350px;

    background: #eadcf0;

    left: 35%;
    bottom: -200px;
}



/* =====================================================
   NAVBAR
===================================================== */

.navbar {
    position: fixed;

    top: 18px;
    left: 5%;

    width: 90%;
    height: 68px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 22px;

    background: rgba(255,255,255,0.86);

    backdrop-filter: blur(18px);

    border: 1px solid #eadfeb;

    border-radius: 20px;

    z-index: 1000;

    box-shadow:
        0 12px 35px rgba(70,45,80,0.07);
}

.logo {
    display: flex;

    align-items: center;

    gap: 10px;

    font-family: "Space Grotesk", sans-serif;

    font-size: 18px;

    font-weight: 700;
}

.logo-box {
    width: 35px;
    height: 35px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #654C70;

    color: white;

    border-radius: 11px;

    font-size: 14px;
}

.nav-links {
    display: flex;

    gap: 32px;
}

.nav-links a {
    font-size: 12px;

    font-weight: 600;

    color: #75677a;

    transition: 0.25s;
}

.nav-links a:hover {
    color: #654C70;
}

.nav-contact {
    background: #654C70;

    color: white;

    padding: 11px 18px;

    border-radius: 12px;

    font-size: 11px;

    font-weight: 600;

    transition: 0.25s;
}

.nav-contact:hover {
    background: #4f3a58;

    transform: translateY(-2px);
}

.menu-button {
    display: none;

    border: none;

    background: none;

    font-size: 24px;

    color: #33263a;
}



/* =====================================================
   MOBILE NAV
===================================================== */

.mobile-navigation {
    display: none;
}



/* =====================================================
   HERO
===================================================== */

.hero {
    min-height: 100vh;

    padding: 145px 9% 80px;

    display: grid;

    grid-template-columns: 1fr 0.85fr;

    align-items: center;

    gap: 70px;
}

.hero-text {
    max-width: 680px;
}

.status {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    background: white;

    border: 1px solid #eadfeb;

    padding: 8px 13px;

    border-radius: 30px;

    font-size: 10px;

    font-weight: 600;

    color: #765c7d;

    margin-bottom: 22px;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #9c6fa2;
}

.intro {
    font-size: 20px;

    color: #765c7d;

    margin-bottom: 5px;
}

.hero h1 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(70px, 8vw, 115px);

    line-height: 0.9;

    letter-spacing: -6px;

    color: #33263a;
}

.hero h1 span {
    color: #a77491;
}

.hero h2 {
    font-size: clamp(23px, 3vw, 34px);

    margin-top: 25px;

    color: #654C70;
}

.hero-description {
    max-width: 590px;

    margin-top: 18px;

    color: #706275;

    font-size: 15px;

    line-height: 1.8;
}

.hero-description strong {
    color: #5d4765;
}

.hero-buttons {
    display: flex;

    gap: 12px;

    margin-top: 28px;
}

.button {
    padding: 14px 20px;

    border-radius: 13px;

    font-size: 12px;

    font-weight: 700;

    transition: 0.3s;
}

.button.primary {
    background: #654C70;

    color: white;

    box-shadow:
        0 12px 25px rgba(101,76,112,0.2);
}

.button.primary:hover {
    background: #4f3a58;

    transform: translateY(-3px);
}

.button.primary span {
    margin-left: 12px;
}

.button.secondary {
    background: white;

    color: #654C70;

    border: 1px solid #dfd2e5;
}

.button.secondary:hover {
    border-color: #a98db5;

    transform: translateY(-3px);
}

.tech-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 28px;
}

.tech-tags span {
    padding: 7px 10px;

    background: #eee5f3;

    color: #725a7a;

    border-radius: 20px;

    font-size: 9px;

    font-weight: 600;
}



/* =====================================================
   LARGE PROFILE PHOTO
===================================================== */

.hero-image-area {
    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;

    min-height: 570px;
}

.image-back-shape {
    position: absolute;

    width: 410px;
    height: 500px;

    background:
        linear-gradient(
            145deg,
            #dfb7c8,
            #cdb9df
        );

    border-radius: 45% 45% 40% 40%;

    transform: rotate(7deg);

    opacity: 0.8;
}

.image-frame {
    position: relative;

    width: 390px;
    height: 500px;

    padding: 10px;

    background: white;

    border-radius: 35px;

    box-shadow:
        0 30px 70px rgba(70,45,80,0.18);

    transform: rotate(-2deg);

    transition: 0.4s;
}

.image-frame:hover {
    transform: rotate(0deg) translateY(-8px);
}

.profile-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    display: block;

    border-radius: 27px;
}

.image-info {
    position: absolute;

    left: 28px;
    right: 28px;

    bottom: 28px;

    display: flex;

    justify-content: space-between;

    padding: 15px 18px;

    background: rgba(255,255,255,0.91);

    backdrop-filter: blur(12px);

    border-radius: 17px;

    box-shadow:
        0 10px 30px rgba(70,45,80,0.1);
}

.image-info div {
    display: flex;

    flex-direction: column;

    gap: 4px;
}

.image-info small {
    font-size: 7px;

    letter-spacing: 1px;

    color: #96869b;
}

.image-info strong {
    font-size: 11px;

    color: #45354b;
}

.floating-box {
    position: absolute;

    padding: 14px 17px;

    background: white;

    border: 1px solid #eadfeb;

    border-radius: 15px;

    box-shadow:
        0 15px 35px rgba(70,45,80,0.1);

    display: flex;

    flex-direction: column;

    gap: 4px;

    z-index: 5;
}

.floating-box span {
    font-size: 7px;

    letter-spacing: 1px;

    text-transform: uppercase;

    color: #998b9d;
}

.floating-box strong {
    font-size: 11px;

    color: #654C70;
}

.learning-box {
    left: -25px;
    top: 19%;
}

.python-box {
    right: -25px;
    bottom: 18%;
}



/* =====================================================
   SECTIONS
===================================================== */

.section {
    padding: 120px 9%;
}

.about-section {
    background: rgba(255,255,255,0.7);
}

.section-title {
    display: flex;

    gap: 20px;

    margin-bottom: 60px;
}

.section-number {
    width: 40px;
    height: 40px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #e7d9ee;

    color: #654C70;

    border-radius: 12px;

    font-size: 10px;

    font-weight: 700;
}

.section-title p {
    color: #9b7ca2;

    font-size: 9px;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.section-title h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(42px,5vw,67px);

    letter-spacing: -3px;

    line-height: 1;
}

.section-title h2 span {
    color: #a77491;
}



/* =====================================================
   ABOUT
===================================================== */

.about-grid {
    display: grid;

    grid-template-columns: 1.5fr 0.8fr;

    gap: 80px;

    align-items: center;
}

.about-text p {
    color: #716474;

    font-size: 15px;

    line-height: 1.9;

    margin-bottom: 20px;
}

.about-text .big-paragraph {
    font-size: 22px;

    line-height: 1.65;

    color: #49364f;
}

.about-text strong {
    color: #654C70;
}

.interest-card {
    padding: 32px;

    background: white;

    border: 1px solid #eadfeb;

    border-radius: 25px;

    box-shadow:
        0 18px 45px rgba(70,45,80,0.06);
}

.interest-icon {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #eadff1;

    color: #654C70;

    border-radius: 14px;

    margin-bottom: 18px;
}

.interest-card h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 21px;

    margin-bottom: 18px;
}

.interest-list div {
    padding: 10px 0;

    border-bottom: 1px solid #f0eaf2;

    color: #716474;

    font-size: 12px;
}



/* =====================================================
   SKILLS
===================================================== */

.skills-section {
    background: #f5eef8;
}

.skills-grid {
    display: grid;

    grid-template-columns: repeat(4,1fr);

    gap: 18px;
}

.skill-card {
    background: white;

    border: 1px solid #eadfeb;

    padding: 28px;

    border-radius: 22px;

    transition: 0.3s;
}

.skill-card:hover {
    transform: translateY(-7px);

    border-color: #c6accf;

    box-shadow:
        0 20px 40px rgba(70,45,80,0.1);
}

.skill-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    font-size: 21px;

    margin-bottom: 22px;
}

.skill-icon.python {
    background: #eee0ed;
}

.skill-icon.sql {
    background: #e4dff1;
}

.skill-icon.data {
    background: #f1e1e5;
}

.skill-icon.ml {
    background: #e1e5f2;
}

.skill-icon.powerbi {
    background: #f2e6d5;
}

.skill-icon.flask {
    background: #e3e0e7;
}

.skill-icon.pandas {
    background: #e4e4f1;
}

.skill-icon.github {
    background: #e9dfe9;
}

.skill-card h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 19px;

    margin-bottom: 9px;
}

.skill-card p {
    color: #807283;

    font-size: 11px;

    line-height: 1.7;
}



/* =====================================================
   PROJECTS
===================================================== */

.projects-section {
    background: #fbf8fc;
}

.projects-description {
    max-width: 650px;

    color: #766879;

    font-size: 14px;

    line-height: 1.8;

    margin-top: -30px;

    margin-bottom: 45px;
}

.projects-grid {
    display: grid;

    grid-template-columns: repeat(2,1fr);

    gap: 20px;
}

.project-card {
    position: relative;

    min-height: 420px;

    padding: 30px;

    background: white;

    border: 1px solid #e9ddeb;

    border-radius: 25px;

    overflow: hidden;

    transition: 0.35s;

    box-shadow:
        0 10px 30px rgba(70,45,80,0.04);
}

.project-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 25px 50px rgba(70,45,80,0.1);
}

.project-card.featured {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f0e4f3
        );

    border-color: #d9c6df;
}

.project-card.wistie-card {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f7e8ee
        );
}

.project-card.powerbi-card {
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f0ebdf
        );
}

.project-top {
    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 30px;
}

.project-number {
    font-size: 11px;

    font-weight: 700;

    color: #a58ca9;
}

.project-type {
    padding: 6px 9px;

    background: #f0e7f3;

    color: #795f82;

    border-radius: 8px;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.8px;
}

.project-icon {
    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #eee4f2;

    border-radius: 16px;

    font-size: 25px;

    margin-bottom: 18px;
}

.project-card h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 29px;

    letter-spacing: -1px;

    margin-bottom: 12px;

    color: #3c2c42;
}

.project-card p {
    color: #756878;

    font-size: 12px;

    line-height: 1.75;

    max-width: 520px;
}

.project-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 20px;
}

.project-tags span {
    padding: 6px 9px;

    background: #f1ebf3;

    color: #78647e;

    border-radius: 8px;

    font-size: 8px;

    font-weight: 600;
}

.project-button {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 23px;

    border: none;

    background: transparent;

    color: #654C70;

    font-size: 11px;

    font-weight: 700;

    padding: 0;
}

.project-button span {
    transition: 0.25s;
}

.project-button:hover span {
    transform: translateX(5px);
}



/* =====================================================
   JOURNEY
===================================================== */

.journey-section {
    background: white;
}

.timeline {
    max-width: 850px;

    margin: auto;
}

.timeline-item {
    display: grid;

    grid-template-columns: 60px 1fr;

    gap: 25px;

    padding: 30px 0;

    border-bottom: 1px solid #eee6ef;
}

.timeline-number {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #eadff0;

    color: #654C70;

    border-radius: 14px;

    font-size: 10px;

    font-weight: 700;
}

.timeline-item span {
    color: #9a7ba2;

    font-size: 8px;

    letter-spacing: 2px;
}

.timeline-item h3 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 24px;

    margin: 8px 0;
}

.timeline-item p {
    max-width: 650px;

    color: #7a6d7d;

    font-size: 12px;

    line-height: 1.7;
}



/* =====================================================
   CONTACT
===================================================== */

.contact-section {
    padding: 110px 9% 30px;

    background:
        linear-gradient(
            135deg,
            #dcb9c9,
            #cdb9df
        );
}

.contact-container {
    max-width: 900px;

    margin: auto;

    padding: 70px 40px;

    text-align: center;

    background: rgba(255,255,255,0.63);

    backdrop-filter: blur(15px);

    border-radius: 35px;

    border: 1px solid rgba(255,255,255,0.7);

    box-shadow:
        0 30px 70px rgba(70,45,80,0.12);
}

.contact-label {
    color: #76577f;

    font-size: 9px;

    letter-spacing: 2px;

    font-weight: 700;
}

.contact-container h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(42px,6vw,72px);

    line-height: 1;

    letter-spacing: -3px;

    margin-top: 15px;
}

.contact-container h2 span {
    color: #8c6380;
}

.contact-container > p {
    max-width: 500px;

    margin: 22px auto 0;

    color: #695c6e;

    font-size: 13px;

    line-height: 1.8;
}

.social-links {
    max-width: 650px;

    margin: 38px auto 0;

    display: grid;

    grid-template-columns: repeat(3,1fr);

    gap: 10px;
}

.social-link {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 15px;

    background: white;

    border: 1px solid #e6dbe9;

    border-radius: 16px;

    text-align: left;

    transition: 0.3s;
}

.social-link:hover {
    transform: translateY(-5px);

    border-color: #b99ac3;
}

.social-icon {
    width: 35px;
    height: 35px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #eee3f2;

    color: #654C70;

    border-radius: 10px;

    font-weight: 700;

    font-size: 11px;
}

.social-link div:nth-child(2) {
    flex: 1;
}

.social-link small {
    display: block;

    font-size: 7px;

    letter-spacing: 1px;

    color: #9b899f;

    margin-bottom: 3px;
}

.social-link strong {
    font-size: 10px;

    color: #4b3a50;
}

footer {
    max-width: 1100px;

    margin: 60px auto 0;

    padding-top: 22px;

    border-top: 1px solid rgba(70,45,80,0.13);

    display: flex;

    justify-content: space-between;

    color: #68596d;

    font-size: 9px;
}



/* =====================================================
   PROJECT MODAL
===================================================== */

.modal {
    position: fixed;

    inset: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background: rgba(42,31,47,0.52);

    backdrop-filter: blur(8px);

    z-index: 2000;

    opacity: 0;

    visibility: hidden;

    transition: 0.3s;
}

.modal.active {
    opacity: 1;

    visibility: visible;
}

.modal-window {
    position: relative;

    width: min(700px,100%);

    max-height: 85vh;

    overflow-y: auto;

    padding: 45px;

    background: #fff;

    border-radius: 28px;

    box-shadow:
        0 30px 80px rgba(30,20,35,0.25);

    transform: translateY(25px);

    transition: 0.35s;
}

.modal.active .modal-window {
    transform: translateY(0);
}

.modal-close {
    position: absolute;

    right: 20px;
    top: 20px;

    width: 38px;
    height: 38px;

    border: none;

    border-radius: 50%;

    background: #eee3f2;

    color: #654C70;

    font-size: 21px;
}

.modal-category {
    color: #9b7ba2;

    font-size: 9px;

    letter-spacing: 2px;

    font-weight: 700;
}

.modal-window h2 {
    font-family: "Space Grotesk", sans-serif;

    font-size: 42px;

    color: #3b2b41;

    margin: 10px 0 15px;
}

.modal-window > p {
    color: #716374;

    font-size: 14px;

    line-height: 1.8;
}

.modal-details {
    margin-top: 25px;

    padding: 22px;

    background: #f5eef8;

    border-radius: 16px;

    color: #635468;

    font-size: 13px;

    line-height: 1.8;
}



/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 950px) {

    .nav-links,
    .nav-contact {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .mobile-navigation {
        position: fixed;

        top: 100px;

        left: 5%;

        width: 90%;

        padding: 25px;

        background: white;

        border-radius: 20px;

        box-shadow:
            0 20px 50px rgba(70,45,80,0.15);

        z-index: 999;

        flex-direction: column;

        gap: 18px;
    }

    .mobile-navigation.active {
        display: flex;
    }

    .mobile-navigation a {
        color: #654C70;

        font-weight: 600;
    }

    .hero {
        grid-template-columns: 1fr;

        text-align: center;

        padding-top: 130px;
    }

    .hero-text {
        margin: auto;
    }

    .hero-buttons,
    .tech-tags {
        justify-content: center;
    }

    .hero-image-area {
        margin-top: 25px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    footer {
        flex-direction: column;

        align-items: center;

        gap: 10px;
    }

}


@media (max-width: 600px) {

    .navbar {
        left: 3%;

        width: 94%;
    }

    .hero {
        padding-left: 6%;

        padding-right: 6%;
    }

    .hero h1 {
        font-size: 65px;

        letter-spacing: -4px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section {
        padding: 90px 6%;
    }

    .section-title h2 {
        font-size: 42px;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .image-frame {
        width: 320px;

        height: 420px;
    }

    .image-back-shape {
        width: 330px;

        height: 420px;
    }

    .learning-box {
        left: -5px;
    }

    .python-box {
        right: -5px;
    }

    .modal-window {
        padding: 30px 25px;
    }

    .modal-window h2 {
        font-size: 34px;
    }

}