@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: #080808;
    color: #f5f5f5;
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
}


a {
    color: inherit;
    text-decoration: none;
}


/* =========================
   HEADER
========================= */

.header {
    width: 100%;
    padding: 28px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}


.logo {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -1px;
}


.logo span,
h1 span,
h2 span {
    color: #a78bfa;
}


.nav {
    display: flex;
    gap: 35px;
}


.nav a {
    color: #999;
    font-size: 14px;
    transition: 0.3s;
}


.nav a:hover {
    color: #fff;
}


/* =========================
   MOBILE MENU BUTTON
========================= */

.menu-button {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 28px;
    cursor: pointer;
    z-index: 101;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 100vh;
    padding: 180px 7% 100px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}


.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 2;
}


.eyebrow,
.section-label {
    color: #888;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 25px;
}


h1 {
    font-size: clamp(55px, 8vw, 105px);
    line-height: 0.95;
    letter-spacing: -5px;
    margin-bottom: 35px;
}


.hero-description {
    max-width: 550px;
    color: #999;
    font-size: 18px;
    margin-bottom: 40px;
}


.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}


.button {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}


.button-primary {
    background: #fff;
    color: #080808;
}


.button-primary:hover {
    transform: translateY(-3px);
}


.button-secondary {
    border: 1px solid #333;
    color: #fff;
}


.button-secondary:hover {
    border-color: #777;
}


/* =========================
   HERO DECORATION
========================= */

.hero-decoration {
    position: absolute;
    right: 5%;
    top: 25%;
    width: 500px;
    height: 500px;
}


.glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: #7c3aed;
    filter: blur(150px);
    opacity: 0.18;
    top: 100px;
    left: 100px;
}


.circle {
    position: absolute;
    border: 1px solid #292929;
    border-radius: 50%;
}


.circle-1 {
    width: 400px;
    height: 400px;
    top: 50px;
    left: 50px;
}


.circle-2 {
    width: 250px;
    height: 250px;
    top: 125px;
    left: 125px;
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 140px 7%;
    max-width: 1400px;
    margin: auto;
}


h2 {
    font-size: clamp(40px, 6vw, 75px);
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 45px;
}


.section-text {
    max-width: 750px;
    color: #999;
    font-size: 20px;
}


/* =========================
   PROJECTS
========================= */

.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}


.project-card {
    background: #101010;
    border: 1px solid #1d1d1d;
    border-radius: 20px;
    overflow: hidden;
    transition: 0.4s;
}


.project-card:hover {
    transform: translateY(-8px);
    border-color: #333;
}


.project-image {
    height: 350px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
}


.project-image::before {
    content: "";
    position: absolute;
    width: 70%;
    height: 70%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
}


.project-image::after {
    content: "";
    position: absolute;
    width: 45%;
    height: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow:
        0 25px 0 rgba(255, 255, 255, 0.2),
        0 50px 0 rgba(255, 255, 255, 0.1);
}


.project-card:hover .project-image {
    transform: scale(1.03);
}


.project-one {
    background:
        radial-gradient(circle at 70% 30%, #6d28d9, transparent 30%),
        linear-gradient(135deg, #161616, #050505);
}


.project-two {
    background:
        radial-gradient(circle at 30% 50%, #9333ea, transparent 30%),
        linear-gradient(135deg, #151515, #050505);
}


.project-three {
    background:
        radial-gradient(circle at 70% 70%, #4c1d95, transparent 35%),
        linear-gradient(135deg, #191919, #050505);
}


.project-info {
    padding: 25px;
}


.project-info p {
    color: #777;
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}


.project-info h3 {
    font-size: 28px;
    margin-bottom: 8px;
}


.project-info span {
    color: #777;
    font-size: 13px;
}


/* =========================
   SERVICES
========================= */

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


.service {
    padding: 35px;
    border: 1px solid #222;
    border-radius: 18px;
    transition: 0.3s;
}


.service:hover {
    border-color: #444;
    transform: translateY(-5px);
}


.service > span {
    color: #a78bfa;
    font-size: 13px;
}


.service h3 {
    font-size: 25px;
    margin: 35px 0 15px;
}


.service p {
    color: #888;
    font-size: 15px;
}


/* =========================
   CONTACT
========================= */

.contact {
    padding: 180px 7%;
    text-align: center;
    border-top: 1px solid #181818;
}


.contact h2 {
    margin-bottom: 50px;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 30px 7%;
    border-top: 1px solid #181818;
    display: flex;
    justify-content: space-between;
    color: #555;
    font-size: 12px;
}


/* =========================
   STRONA PROJEKTU
========================= */

.back-link {
    color: #888;
    font-size: 14px;
    transition: 0.3s;
}


.back-link:hover {
    color: #fff;
}


.project-hero {
    max-width: 900px;
    margin: auto;
    padding: 200px 7% 100px;
}


.project-hero h1 {
    font-size: clamp(60px, 10vw, 130px);
    margin-bottom: 40px;
}


.project-description {
    max-width: 650px;
    color: #999;
    font-size: 19px;
    margin-bottom: 35px;
}


.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}


.project-tags span {
    padding: 8px 14px;
    border: 1px solid #292929;
    border-radius: 50px;
    color: #aaa;
    font-size: 12px;
}


.project-preview {
    padding: 50px 7% 150px;
    max-width: 1400px;
    margin: auto;
}


.fake-browser {
    background: #111;
    border: 1px solid #252525;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}


.browser-bar {
    height: 45px;
    background: #181818;
    display: flex;
    align-items: center;
    gap: 7px;
    padding-left: 18px;
}


.browser-bar span {
    width: 9px;
    height: 9px;
    background: #444;
    border-radius: 50%;
}


.fake-site {
    min-height: 550px;
    padding: 70px;
    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(124, 58, 237, 0.35),
            transparent 30%
        ),
        #090909;
}


.fake-site > p {
    color: #aaa;
    font-size: 14px;
    margin-bottom: 100px;
}


.fake-site h2 {
    font-size: clamp(40px, 6vw, 80px);
    max-width: 700px;
    margin-bottom: 40px;
}


.fake-button {
    display: inline-block;
    padding: 13px 22px;
    border-radius: 50px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 600;
}


.project-details {
    max-width: 1100px;
    margin: auto;
    padding: 100px 7% 180px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}


.project-details h2 {
    font-size: 50px;
}


.project-details > div:last-child {
    color: #888;
    font-size: 17px;
}


.project-details p + p {
    margin-top: 25px;
}


.next-project {
    text-align: center;
    padding: 150px 7%;
    border-top: 1px solid #181818;
}


.next-project h2 {
    margin-bottom: 50px;
}


/* =========================
   ATELIER
========================= */

.restaurant-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 150px 8%;
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 70% 50%,
            rgba(139, 92, 246, 0.18),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #0d0d0d,
            #15120f
        );
}


.restaurant-content {
    max-width: 700px;
}


.restaurant-label {
    color: #999;
    letter-spacing: 4px;
    font-size: 11px;
    margin-bottom: 30px;
}


.restaurant-hero h1 {
    font-size: clamp(70px, 12vw, 170px);
    letter-spacing: 8px;
    line-height: 0.9;
    margin-bottom: 35px;
}


.restaurant-content > p {
    max-width: 500px;
    color: #aaa;
    font-size: 18px;
    margin-bottom: 40px;
}


.restaurant-button {
    display: inline-block;
    padding: 14px 25px;
    background: #f5f5f5;
    color: #111;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}


.restaurant-button:hover {
    transform: translateY(-3px);
}


.restaurant-menu {
    max-width: 1100px;
    margin: auto;
    padding: 150px 7%;
}


.restaurant-menu h2 {
    margin-bottom: 80px;
}


.menu-items {
    border-top: 1px solid #292929;
}


.menu-item {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid #292929;
}


.menu-item h3 {
    font-size: 21px;
    margin-bottom: 5px;
}


.menu-item p {
    color: #777;
    font-size: 14px;
}


.menu-item strong {
    font-weight: 400;
    color: #aaa;
}


.restaurant-about {
    max-width: 1100px;
    margin: auto;
    padding: 80px 7% 180px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}


.restaurant-about p:last-child {
    color: #888;
    font-size: 18px;
    padding-top: 50px;
}


.restaurant-contact {
    text-align: center;
    padding: 160px 7%;
    border-top: 1px solid #202020;
}


.restaurant-contact h2 {
    margin-bottom: 50px;
}


/* =========================
   CREATIVE STUDIO
========================= */

.creative-hero {
    min-height: 100vh;
    padding: 180px 8% 100px;
    display: flex;
    align-items: center;
    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(124, 58, 237, 0.2),
            transparent 30%
        ),
        #080808;
}


.creative-intro {
    width: 100%;
}


.creative-intro h1 {
    font-size: clamp(70px, 14vw, 190px);
    line-height: 0.8;
    letter-spacing: -8px;
    margin-bottom: 60px;
}


.creative-intro h1 span {
    color: #a78bfa;
}


.creative-intro > p:last-child {
    max-width: 450px;
    color: #888;
    font-size: 18px;
}


.creative-work {
    max-width: 1200px;
    margin: auto;
    padding: 150px 7%;
}


.creative-heading {
    margin-bottom: 80px;
}


.creative-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}


.creative-card {
    min-height: 350px;
    padding: 30px;
    border: 1px solid #242424;
    border-radius: 18px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background:
        radial-gradient(
            circle at 70% 30%,
            rgba(167, 139, 250, 0.15),
            transparent 35%
        ),
        #101010;

    transition: 0.4s;
}


.creative-card:hover {
    transform: translateY(-8px);
    border-color: #444;
}


.creative-card-large {
    min-height: 500px;
}


.creative-card span {
    color: #666;
    font-size: 13px;
}


.creative-card h3 {
    font-size: 40px;
    letter-spacing: -2px;
}


.creative-about {
    max-width: 1000px;
    margin: auto;
    padding: 100px 7% 180px;
}


.creative-about h2 {
    margin-bottom: 50px;
}


.creative-about > p:last-child {
    max-width: 650px;
    color: #888;
    font-size: 19px;
}


/* =========================
   O MNIE
========================= */

.about-section {
    max-width: 1400px;
    margin: auto;
    padding: 140px 7%;

    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 100px;
}


.about-heading h2 {
    font-size: clamp(45px, 6vw, 75px);
}


.about-content {
    max-width: 700px;
}


.about-main {
    font-size: 30px !important;
    color: #fff !important;
    margin-bottom: 30px;
}


.about-content > p {
    color: #888;
    font-size: 18px;
    margin-bottom: 20px;
}


.about-content strong {
    color: #fff;
}


.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #222;
}


.about-stats div {
    display: flex;
    flex-direction: column;
}


.about-stats strong {
    color: #a78bfa;
    font-size: 25px;
    margin-bottom: 8px;
}


.about-stats span {
    color: #fff;
    font-size: 13px;
    margin-bottom: 8px;
}


.about-stats p {
    color: #666;
    font-size: 12px;
}


/* =========================
   USŁUGI
========================= */

.services-section {
    max-width: 1400px;
    margin: auto;
    padding: 140px 7%;

    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}


.services-heading {
    position: sticky;
    top: 100px;
    align-self: start;
}


.services-heading h2 {
    margin-bottom: 30px;
}


.services-heading > p:last-child {
    max-width: 400px;
    color: #777;
    font-size: 16px;
}


.services-list {
    border-top: 1px solid #292929;
}


.service-card {
    display: grid;
    grid-template-columns: 50px 1fr 40px;
    align-items: start;
    gap: 25px;

    padding: 35px 0;

    border-bottom: 1px solid #292929;

    transition: 0.4s;
}


.service-card:hover {
    padding-left: 15px;
}


.service-number {
    color: #a78bfa;
    font-size: 13px;
}


.service-card h3 {
    font-size: 25px;
    margin-bottom: 10px;
}


.service-card p {
    max-width: 500px;
    color: #777;
    font-size: 15px;
}


.service-arrow {
    font-size: 22px;
    color: #555;
    transition: 0.3s;
}


.service-card:hover .service-arrow {
    color: #a78bfa;
    transform: translate(4px, -4px);
}


/* =========================
   KONTAKT
========================= */

.contact-section {
    max-width: 1400px;
    margin: auto;
    padding: 160px 7%;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;

    border-top: 1px solid #181818;
}


.contact-heading h2 {
    margin-bottom: 30px;
}


.contact-heading > p:last-child {
    max-width: 450px;
    color: #777;
    font-size: 17px;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.form-group label {
    color: #888;
    font-size: 12px;
    letter-spacing: 1px;
}


.form-group input,
.form-group textarea {
    width: 100%;

    padding: 16px 0;

    background: transparent;

    border: none;
    border-bottom: 1px solid #333;

    outline: none;

    color: #fff;

    font-family: inherit;
    font-size: 16px;

    transition: 0.3s;
}


.form-group textarea {
    resize: vertical;
}


.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #a78bfa;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #444;
}


.form-button {
    align-self: flex-start;

    padding: 15px 25px;

    border: none;
    border-radius: 50px;

    background: #fff;
    color: #080808;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;
}


.form-button:hover {
    transform: translateY(-3px);
}


/* =========================
   BACK TO TOP
========================= */

.back-to-top {
    position: fixed;

    right: 30px;
    bottom: 30px;

    width: 48px;
    height: 48px;

    border: 1px solid #333;
    border-radius: 50%;

    background: #111;
    color: #fff;

    font-size: 20px;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(15px);

    transition: 0.3s;

    z-index: 50;
}


.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


.back-to-top:hover {
    background: #fff;
    color: #080808;
    transform: translateY(-3px);
}


/* ==================================================
   MOBILE — JEDEN WSPÓLNY BLOK
================================================== */

@media (max-width: 800px) {

    /* HEADER */

    .header {
        padding: 25px 6%;
        position: absolute;
        z-index: 100;
    }


    /* PRZYCISK MENU */

    .menu-button {
        display: block;
        position: relative;
        z-index: 101;
    }


    /* MENU */

    .nav {
        display: flex !important;
        position: fixed;

        top: 0;
        left: 0;

        width: 100%;
        height: 100vh;

        background: #080808;

        flex-direction: column;
        justify-content: center;
        align-items: center;

        gap: 30px;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(-20px);

        transition: 0.3s ease;

        z-index: 99;
    }


    .nav.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }


    .nav a {
        display: block;
        color: #ffffff;
        font-size: 24px;
    }


    /* HERO */

    .hero {
        padding: 150px 6% 80px;
    }


    h1 {
        font-size: 58px;
        letter-spacing: -3px;
    }


    .hero-description {
        font-size: 16px;
    }


    .hero-decoration {
        right: -180px;
        opacity: 0.5;
    }


    /* SEKCJE */

    .section {
        padding: 100px 6%;
    }


    /* PROJEKTY */

    .projects,
    .services {
        grid-template-columns: 1fr;
    }


    .project-image {
        height: 280px;
    }


    /* KONTAKT */

    .contact {
        padding: 120px 6%;
    }


    footer {
        padding: 25px 6%;
    }


    /* STRONA PROJEKTU */

    .project-hero {
        padding: 150px 6% 70px;
    }


    .project-preview {
        padding: 30px 6% 100px;
    }


    .fake-site {
        min-height: 450px;
        padding: 40px;
    }


    .fake-site > p {
        margin-bottom: 70px;
    }


    .project-details {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 80px 6% 120px;
    }


    .project-details h2 {
        font-size: 40px;
    }


    /* ATELIER */

    .restaurant-hero {
        padding: 140px 6%;
    }


    .restaurant-hero h1 {
        font-size: 65px;
    }


    .restaurant-menu {
        padding: 100px 6%;
    }


    .restaurant-about {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 50px 6% 120px;
    }


    .restaurant-about p:last-child {
        padding-top: 0;
    }


    .menu-item {
        align-items: flex-start;
    }


    /* CREATIVE STUDIO */

    .creative-hero {
        padding: 150px 6% 80px;
    }


    .creative-intro h1 {
        font-size: 75px;
        letter-spacing: -4px;
    }


    .creative-work {
        padding: 100px 6%;
    }


    .creative-grid {
        grid-template-columns: 1fr;
    }


    .creative-card,
    .creative-card-large {
        min-height: 300px;
    }


    .creative-about {
        padding: 70px 6% 120px;
    }


    /* O MNIE */

    .about-section {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 100px 6%;
    }


    .about-main {
        font-size: 24px !important;
    }


    .about-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    /* USŁUGI */

    .services-section {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 100px 6%;
    }


    .services-heading {
        position: static;
    }


    .service-card {
        grid-template-columns: 35px 1fr 25px;
        gap: 15px;
        padding: 30px 0;
    }


    .service-card h3 {
        font-size: 21px;
    }


    /* KONTAKT */

    .contact-section {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 110px 6%;
    }


    .contact-heading h2 {
        font-size: 45px;
    }


    /* BACK TO TOP */

    .back-to-top {
        right: 20px;
        bottom: 20px;
    }

}