/* ==========================
   GLOBAL
========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #faf8ff;
    color: #25213b;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}



/* ==========================
   NAVBAR
========================== */

.navbar {
    width: 100%;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 8%;

    background: rgba(255, 255, 255, 0.92);

    border-bottom: 1px solid rgba(130, 80, 200, 0.08);

    position: relative;
    z-index: 10;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 22px;
}

.back-btn {
    color: #6f4aa8;
    font-size: 13px;
    font-weight: 600;

    padding: 8px 15px;

    border: 1px solid #eadffc;
    border-radius: 30px;

    transition: 0.3s ease;
}

.back-btn:hover {
    background: #8d55e8;
    color: white;

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(141, 85, 232, 0.25);
}

.logo img {
    width: 42px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: #403b50;
    font-size: 12px;
    font-weight: 500;

    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #8d55e8;
}



/* ==========================
   WORK HERO IMAGE
========================== */

.work-hero {
    width: 100%;

    padding: 38px 20px 10px;

    display: flex;
    justify-content: center;
}

.work-showcase {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.work-showcase img {
    display: block;

    width: 100%;
    max-width: 760px;

    height: auto;

    border-radius: 22px;

    box-shadow:
        0 20px 55px rgba(100, 65, 170, 0.18);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.work-showcase img:hover {
    transform: translateY(-6px);

    box-shadow:
        0 28px 65px rgba(100, 65, 170, 0.25);
}



/* ==========================
   INTRO
========================== */

.work-intro {
    max-width: 850px;

    margin: 45px auto 70px;

    padding: 0 25px;

    text-align: center;
}

.section-tag {
    display: inline-block;

    padding: 8px 18px;

    border-radius: 30px;

    background: #f1e8ff;

    color: #8050c8;

    font-size: 12px;
    font-weight: 600;

    margin-bottom: 18px;
}

.work-intro h1 {
    font-size: 42px;
    line-height: 1.2;

    margin-bottom: 18px;

    color: #28233e;
}

.work-intro h1 span {
    color: #8751e7;
}

.work-intro p {
    max-width: 700px;

    margin: auto;

    color: #777287;

    font-size: 14px;
    line-height: 1.8;
}



/* ==========================
   SECTION TITLES
========================== */

.section-title {
    max-width: 700px;

    margin: 0 auto 42px;

    text-align: center;
}

.section-title h2 {
    font-size: 32px;

    margin-bottom: 12px;

    color: #29243d;
}

.section-title p {
    color: #777287;

    font-size: 13px;

    line-height: 1.7;
}



/* ==========================
   PROJECTS
========================== */

.projects {
    padding: 80px 8%;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(190, 145, 255, 0.12),
            transparent 35%
        ),
        #f8f4ff;
}

.project-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;
}

.project-card {
    background: white;

    border-radius: 22px;

    overflow: hidden;

    border: 1px solid #eee7fa;

    box-shadow:
        0 12px 35px rgba(91, 57, 150, 0.08);

    transition: 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);

    box-shadow:
        0 22px 50px rgba(91, 57, 150, 0.16);
}

.project-image {
    width: 100%;

    height: 330px;

    overflow: hidden;

    background: #f0eaff;

    display: flex;
    justify-content: center;
    align-items: center;
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.04);
}

.project-content {
    padding: 28px;
}

.project-type {
    color: #8954d7;

    font-size: 11px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.5px;
}

.project-content h3 {
    font-size: 24px;

    margin: 8px 0 12px;

    color: #28233d;
}

.project-content p {
    color: #777287;

    font-size: 13px;

    line-height: 1.7;

    margin-bottom: 18px;
}

.project-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    margin-bottom: 22px;
}

.project-tags span {
    background: #f3eaff;

    color: #7950b4;

    font-size: 10px;

    padding: 6px 10px;

    border-radius: 20px;
}

.project-btn {
    color: #8050cf;

    font-size: 12px;

    font-weight: 600;

    transition: 0.3s ease;
}

.project-btn:hover {
    color: #54269c;

    padding-left: 5px;
}



/* ==========================
   WEBSITE WORK
========================== */

.website-work {
    padding: 85px 8%;
}

.website-grid {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.website-card {
    padding: 28px;

    background: rgba(255, 255, 255, 0.9);

    border: 1px solid #eee7fa;

    border-radius: 20px;

    box-shadow:
        0 10px 30px rgba(90, 60, 150, 0.06);

    transition: 0.35s ease;
}

.website-card:hover {
    transform: translateY(-7px);

    border-color: #dbc5fa;

    box-shadow:
        0 18px 40px rgba(90, 60, 150, 0.12);
}

.website-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #f0e4ff;

    font-size: 21px;

    margin-bottom: 20px;
}

.website-card h3 {
    font-size: 17px;

    line-height: 1.4;

    margin-bottom: 10px;

    color: #302a43;
}

.website-card p {
    color: #7c7788;

    font-size: 12px;

    line-height: 1.7;

    margin-bottom: 18px;
}

.website-card span {
    color: #8855cf;

    font-size: 10px;

    font-weight: 600;

    background: #f5edff;

    padding: 6px 11px;

    border-radius: 20px;
}



/* ==========================
   PHILOSOPHY
========================== */

.work-philosophy {
    padding: 80px 8%;

    background: #f8f4ff;
}

.philosophy-box {
    max-width: 900px;

    margin: auto;

    text-align: center;

    padding: 55px 35px;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #f1e5ff,
            #ffffff
        );

    border: 1px solid #eadbfa;

    box-shadow:
        0 20px 50px rgba(100, 65, 170, 0.08);
}

.philosophy-box h2 {
    font-size: 31px;

    margin-bottom: 15px;

    color: #2d2742;
}

.philosophy-box p {
    max-width: 650px;

    margin: auto;

    color: #777287;

    font-size: 13px;

    line-height: 1.8;
}

.philosophy-points {
    margin-top: 35px;

    display: flex;

    justify-content: center;

    gap: 60px;
}

.philosophy-points div {
    display: flex;

    flex-direction: column;

    gap: 5px;
}

.philosophy-points strong {
    font-size: 22px;

    color: #8b55df;
}

.philosophy-points span {
    font-size: 11px;

    color: #625b72;

    font-weight: 600;
}



/* ==========================
   CTA
========================== */

.cta {
    max-width: 950px;

    margin: 85px auto;

    padding: 55px 30px;

    text-align: center;

    border-radius: 28px;

    background:
        linear-gradient(
            135deg,
            #9a5bea,
            #7542c6
        );

    color: white;

    box-shadow:
        0 20px 50px rgba(115, 65, 200, 0.25);
}

.cta h2 {
    font-size: 30px;

    margin-bottom: 12px;
}

.cta p {
    font-size: 13px;

    opacity: 0.9;

    margin-bottom: 25px;
}

.btn {
    display: inline-block;

    padding: 12px 25px;

    border-radius: 30px;

    font-size: 12px;

    font-weight: 600;

    transition: 0.3s ease;
}

.btn-primary {
    background: white;

    color: #7440be;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);

    box-shadow:
        0 10px 25px rgba(255, 255, 255, 0.25);
}



/* ==========================
   FOOTER
========================== */

footer {
    width: 100%;

    padding: 25px;

    text-align: center;

    background: #29223e;

    color: #cfc7dc;

    font-size: 11px;
}



/* ==========================
   TABLET
========================== */

@media (max-width: 900px) {

    .navbar {
        padding: 0 5%;
    }

    .project-grid {
        grid-template-columns: 1fr;
        max-width: 650px;
    }

    .website-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-intro h1 {
        font-size: 36px;
    }

}



/* ==========================
   MOBILE
========================== */

@media (max-width: 600px) {

    .navbar {
        height: auto;

        padding: 14px 16px;

        flex-direction: column;

        gap: 12px;
    }

    .nav-left {
        width: 100%;

        justify-content: center;
    }

    .nav-links {
        width: 100%;

        justify-content: center;

        gap: 15px;

        flex-wrap: wrap;
    }

    .nav-links a {
        font-size: 10px;
    }


    /* HERO IMAGE */

    .work-hero {
        padding: 20px 12px 5px;
    }

    .work-showcase img {
        width: 100%;

        max-width: 100%;

        border-radius: 14px;
    }


    /* INTRO */

    .work-intro {
        margin: 35px auto 50px;

        padding: 0 18px;
    }

    .work-intro h1 {
        font-size: 29px;
    }

    .work-intro p {
        font-size: 12px;
    }


    /* SECTIONS */

    .projects,
    .website-work,
    .work-philosophy {
        padding: 55px 16px;
    }

    .section-title h2 {
        font-size: 25px;
    }

    .section-title p {
        font-size: 12px;
    }


    /* PROJECT */

    .project-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .project-image {
        height: auto;

        min-height: 250px;
    }

    .project-content {
        padding: 22px;
    }

    .project-content h3 {
        font-size: 21px;
    }


    /* WEBSITE */

    .website-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .website-card {
        padding: 22px;
    }


    /* PHILOSOPHY */

    .philosophy-box {
        padding: 40px 20px;
    }

    .philosophy-box h2 {
        font-size: 24px;
    }

    .philosophy-points {
        gap: 30px;
    }


    /* CTA */

    .cta {
        margin: 50px 16px;

        padding: 40px 20px;

        border-radius: 22px;
    }

    .cta h2 {
        font-size: 24px;
    }

    .cta p {
        font-size: 12px;
    }

}