@import url('https://fonts.googleapis.com/css2?family=Bitcount+Single:wght@100..900&family=TikTok+Sans:opsz,wght@12..36,300..900&display=swap');


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

body {
    font-family: 'TikTok Sans', sans-serif;
    font-size: 18px;
    text-decoration: none;
    list-style: none;
    background-color: var(--background-color);
    color: var(--text-color);
    /* line-height: 1.6; */
}


:root{
    --primary-color: #F22C90;
    --helper-color: #7f40fc;
    --secondary-color: #7892FB;
    --background-color: #0A0A0F;
    --heading-color: #FFFFFF;
    --text-color: #A1A1AA;
    --bg-for-gradient: #3a8bb4;
    --gradient-color: linear-gradient(90deg,#3a8bb4 3%, #833ab4 41%, #fc457c 100%);
}


.neon-glow{
    text-shadow: 0 0 5px var(--secondary-color), 0 0 10px var(--primary-color), 0 0 15px var(--secondary-color), 0 0 20px var(--primary-color), 0 0 25px var(--primary-color);
}

.gradient-text {
    background: var(--gradient-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: fit-content;
}

.title{
    color: var(--primary-color)
}

.white-text{
    color: var(--heading-color);
}

a{
    cursor: pointer;
}

header{
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--secondary-color);
    width: 100%;
    margin: 0 auto;
}

header

.logo{
    color: rgba(255, 255, 255, 0.8);
}

.logo .logo-strong{
    font-weight: 900;
    font-size: 1.6rem;
}

nav {
    display: flex;
    gap: 20px;
}

nav .link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav .link:hover {
    color: var(--secondary-color);
}


#status-element{
    width: fit-content;
    align-self: center;
}

section{
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    height: 100vh;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-heading{
    font-size: 5rem;
    font-weight: 700;
    color: var(--heading-color);
}

.hero-text{
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 600px;
}

.hero-buttons{
    margin-top: 1rem;
}

.background-gradient {
    position: absolute;
    top: 5%;
    left: 10%;
    width: 700px;
    height: 600px;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(ellipse 60% 40% at 60% 40%, #3a8bb461 0%, #833ab445 60%, #fc457c1a 100%);
    filter: blur(40px);
    opacity: 0.7;
    z-index: -1;
}

.view-work-button{
    padding: 10px 20px;
    background-color: var(--helper-color);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    color: var(--heading-color);
    text-decoration: none;
}


.view-work-button::after {
    content: "→";
    margin-left: 0.6rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.view-work-button:hover::after {
    transform: translateX(10px);
}


/* about styles */

.about{
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.about .title{
    position: relative;
    left: 50%;
    width: 100px;
}

.about-content{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    width: 50%;
}


.about .img-container{
    width: 50%;
}


.about-heading{
    font-size: 2.8rem;
    color: var(--heading-color);
}


.about-subheading{
    font-size: 1.8rem;
}




/* portfolio styles */

.portfolio{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}


.portfolio-heading{
    font-size: 2.8rem;
    color: var(--heading-color);
}

.portfolio-text{
    color: var(--heading-color)
}

.cards-container{
    display: flex;
    gap: 2rem;
}


.card {
  max-width: 400px;
  margin: 30px auto;
  border-radius: 12px;
  border: 1px solid white;
  overflow: hidden;
  box-shadow: 0 0px 24px 8px rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}


.image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

.live-site-button {
  align-self: flex-start;
  background-color: var(--helper-color);
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}


.live-site-button:hover {
  background-color: var(--primary-color);
}

.card:nth-child(1){
    border-color: #BF8730;
}

.card:nth-child(1) .card-title{
    color: #BF8730
}

.card:nth-child(1):hover{

}

.card:nth-child(2){
    border-color: #448943;
}

.card:nth-child(2) .card-title{
    color: #448943;
}

.card:nth-child(3){
    border-color: #3882F6;
}

.card:nth-child(3) .card-title span{
    color: #3882F6
}

.cards-container:hover .card {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.cards-container .card:hover {
  opacity: 1;
}


/* offer styles */

.offer{
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.offer-heading{
    font-size: 3rem;
}

.offer-subheading{
    color: var(--heading-color);
    font-size: 2rem;
}

.offer-cards-container{
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.offer-card{
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    width: 250px;
    min-height: 350px;
    position: relative;
    overflow: hidden; /* kluczowe, by ::before nie wystawał */
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.offer-card-heading{
    font-size: 2rem;
}


.offer-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    width: 100%;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}


.offer-card:nth-child(1) .offer-card-heading{
    color: #a679ff;
}
.offer-card:nth-child(2) .offer-card-heading{
    color: #4CCFAF;
}
.offer-card:nth-child(3) .offer-card-heading{
    color: #FF5FCC;
}
.offer-card:nth-child(4) .offer-card-heading{
    color: #FF9F24;
}

.offer-card:nth-child(1)::before{
    background: linear-gradient(90deg,rgba(0, 0, 0, 1) 1%, #a679ff 51%, rgba(0, 0, 0, 1) 99%);;
}
.offer-card:nth-child(2)::before{
    background: linear-gradient(90deg,rgba(0, 0, 0, 1) 1%, #4CCFAF 51%, rgba(0, 0, 0, 1) 99%);;
}
.offer-card:nth-child(3)::before{
    background: linear-gradient(90deg,rgba(0, 0, 0, 1) 1%, #FF5FCC 51%, rgba(0, 0, 0, 1) 99%);;
}
.offer-card:nth-child(4)::before{
    background: linear-gradient(90deg,rgba(0, 0, 0, 1) 1%, #FF9F24 51%, rgba(0, 0, 0, 1) 99%);;
}


.whyme{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 2rem;
}

.whyme-heading{
    align-self: center;
    font-size: 3rem;
}

.whyme-block{
    width: 100%;
    height: 600px;
    display: flex;
    gap: 2rem;
}

.whyme-block-content{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 45%;
    justify-content: center;
}

.whyme-block-heading{
    color: var(--heading-color);
    font-size: 2rem;
}


.whyme-block-img-container{
    width: 50%;
    height: auto;
}


/* contact styles */

.contact{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;

}


.contact-heading{
    font-size: 3rem;
}


.contact-info{
    display: flex;
    gap: 5rem;
    margin-top: 2rem;
    max-width: 1200px;
}


#contact-form{
    display: grid;
    grid-template-areas:
                         "first last"
                         "email phone"
                         "topic topic"
                         "message message"
                         "submit submit";
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 2rem;
    border-radius: 12px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 450px;
}

.contact-info-heading{
    color: var(--heading-color);
    font-size: 2rem;
}


.input1{grid-area: first;}
.input2{grid-area: last;}
.input3{grid-area: phone;}
.input4{grid-area: email;}
.input5{grid-area: topic;}
.input6{grid-area:message;}
.send-button{grid-area:submit;}


input, textarea{
    padding: 1rem;
    font-family: inherit;
    border-radius: 8px;
    background-color: rgba(10, 10, 15, 0.6);
    border: none;
    border-bottom: 1px solid rgba(120, 146, 251, 06);
    backdrop-filter: blur(10px);
    color: #fff;
    transition: all 0.4s ease;
}

input:hover, textarea:hover, input:focus, textarea:focus{
    border-color: var(--secondary-color);
}

textarea{
    resize: vertical;
    min-height: 200px;
}

.contact-personal-information{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.contact-info-block{
    width: 100%;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 10px;
    border-radius: 8px;
    flex-direction: column;
    text-decoration: none;
    transition: all 0.4s ease;
}

.contact-info-block-small-heading{
    font-size: 0.8rem;
    color: var(--text-color);
}


.info-block-content{
    color: var(--primary-color);
}

.contact-info-block:hover{
    border-color: var(--secondary-color);
}


.background-particle {
    position:absolute ;
    left: 40%;
    width: 850px;
    height: 650px;
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(ellipse 60% 40% at 60% 40%, rgba(58,139,180,0.38) 0%, rgba(131,58,180,0.27) 60%, rgba(252,69,124,0.1) 100%);
    filter: blur(40px);
    opacity: 0.7;
    z-index: -1;
}



.send-button{
    padding: 10px 20px;
    background-color: var(--helper-color);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    color: var(--heading-color);
    text-decoration: none;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
}

.send-button:hover{
    background-color: #a679ff;
}



footer{
    margin-top: 10rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid var(--secondary-color);
    padding: 3rem 0 ;
}

.footer-content{
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    align-items: center;
}


.footer-name{
    color: var(--primary-color);
    font-weight: 400;
}


hr{
    align-self: center;
    width: 80vw;
}


.footer-copyright, .footer-illustrations-anchor{
    align-self: center;
    color: var(--text-color);
    font-size: 0.7rem;
}




/* responsive design */


@media (max-width: 1200px) {
    section{
        padding: 0 6rem;
    }

    .contact{
        position: relative;
        overflow: hidden;
    }

    .hero-heading{
        font-size: 3.5rem;
    }

    .offer-cards-container{
        gap: 1rem;
    }

    .offer-card{
        scale: 0.85;
    }

    footer{
        padding: 2rem;
    }

    .background-gradient, .background-particle{
        scale: 0.7;
    }

}

@media(max-width: 1080px){
    .cards-container{
        flex-direction: column;
    }
}


@media (max-width: 780px) {

    section{
        padding: 0 2rem;
    }


    .hero-heading{
        font-size: 2.8rem;
    }

    .hero-text{
        font-size: 1rem;
    }


    .background-particle{
        transform: translateX(-300px);
    }

    .whyme-block-img-container{
        align-content: center;
    }

    .about{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .title{
        text-align: center;
    }

    .about .title{
        left: 0;
    }


    .about-content{
        width: 600px;
        text-align: center;
        align-items: center;
    }
    

    .portfolio-text{
        text-align: center;
    }

    .cards-container{
        flex-direction: column;
    }

    .offer-text{
        text-align: center;
    }

    .contact-text{
        text-align: center;
    }

    .contact-info{
        flex-direction: column;
    }

    .link{
        font-size: 1rem;
    }
}

/* --- Responsive design for smaller screens --- */
@media (max-width: 540px) {
    section {
        padding: 0 0.5rem;
    }

    .hero-heading {
        font-size: 1.6rem;
    }

    .hero-content {
        gap: 0.5rem;
    }

    .view-work-button{
        font-size: 1rem;
        padding: 0.5rem 1rem;
    }

    .hero-text {
        font-size: 0.9rem;
        max-width: 95vw;
    }

    .background-gradient,
    .background-particle {
        width: 420px;
        height: 420px;
        left: 50%;
        top: 10%;
        scale: 0.5;
        transform: translateX(-50%);
    }

    .about {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .about-content {
        width: 100%;
        text-align: center;
        align-items: center;
        padding: 0 0.5rem;
    }

    .about .img-container {
        width: 100%;
        margin-top: 1rem;
    }

    .about-heading {
        font-size: 1.4rem;
    }
    .about-text{
        font-size: 1rem;
    }

    .about-subheading {
        font-size: 1.rem;
    }

    .portfolio-heading {
        font-size: 2.5rem;
    }

    .portfolio-text {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .cards-container {
        gap: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .card {
        max-width: 98vw;
        margin: 16px auto;
        padding: 8px;
    }

    .card-content {
        padding: 12px;
        gap: 8px;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-description {
        font-size: 0.9rem;
    }

    .live-site-button {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .offer-heading,
    .whyme-heading,
    .contact-heading {
        font-size: 2.5rem;
    }

    .offer-cards-container {
        gap: 0.5rem;
        flex-direction: column;
        align-items: center;
    }

    .offer-card {
        width: 98vw;
        min-height: 220px;
        padding: 10px;
        font-size: 0.9rem;
    }

    .offer-card-heading {
        font-size: 2rem;
    }

    .offer-card-text{
        font-size: 1.2rem
    }

    .offer-subheading {
        font-size: 1.7rem;
    }

    .offer-text,
    .contact-text {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .whyme-block {
        flex-direction: column;
        height: auto;
        gap: 1rem;
    }

    .whyme-block-content,
    .whyme-block-img-container {
        width: 100%;
    }

    .whyme-block-heading {
        font-size: 1.5rem;
    }

    .second-block{
        flex-direction: column-reverse;
    }

    .contact-info {
        gap: 1rem;
        margin-top: 1rem;
        flex-direction: column;
        max-width: 100vw;
        padding: 0 0.5rem;
    }

    #contact-form {
        grid-template-columns: 1fr;
        grid-template-areas:
            "first"
            "last"
            "email"
            "phone"
            "topic"
            "message"
            "submit";
        padding: 1rem;
        gap: 0.5rem;
    }

    input,
    textarea {
        padding: 0.7rem;
        font-size: 1rem;
    }

    .contact-info-block {
        padding: 0.7rem 1rem;
        gap: 6px;
    }

    .contact-info-heading {
        font-size: 1rem;
    }

    .send-button {
        padding: 8px 12px;
        font-size: 1rem;
    }

    footer {
        padding: 1rem 0;
        margin-top: 4rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 0.5rem;
        max-width: 100vw;
        padding: 0 0.5rem;
    }

    hr {
        width: 95vw;
    }

    .footer-copyright,
    .footer-illustrations-anchor {
        font-size: 0.6rem;
        padding: 0 0.5rem;
    }
}


@media (max-width: 400px){
    header{
        flex-direction: column;
        gap: 1rem;
    }
}