/*Style dokumentu*/
/*FONTY Z GOOGLE*/
@import url('https://fonts.googleapis.com/css2?family=Julius+Sans+One&display=swap');
@font-face {
    font-family: "Cristal Elegance";
    src: url("../fonts/CristalElegance-DYd71.otf") format("truetype");
}

body {
  background-color: #f6f1e8;
  font-family: "Julius Sans One", sans-serif;
  color: #000;
}

nav {
  position: absolute;
  top: 55px;
  left: 0;
  width: 100%;
  z-index: 100;
}

nav ol {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 110px;
  list-style: none;
}

nav a {
  font-family: Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
  font-size: 18px;
  color: #000;
  text-decoration: none;
}

.contact {
  margin-left: 120px;
}

.contact a {
  background: #000;
  color: #fff;
  padding: 18px 50px;
  border-radius: 40px;
}

#sekcja1 {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #f6f1e8;
}

.hero-scene {
  position: relative;
  width: 100%;
  height: 100%;
}

.envelope-img {
  position: absolute;
  width: 760px;
  left: 50%;
  top: 190px;
  transform: translateX(-50%);
  z-index: 2;
}

.check-img {
  position: absolute;
  width: 330px;
  left: 150px;
  top: 170px;
  transform: rotate(12deg);
  z-index: 4;
}

.start-key-img {
  position: absolute;
  width: 280px;
  right: 210px;
  top: 200px;
  z-index: 5;
  cursor: pointer;
  animation: startPulse 2s ease-in-out infinite;
}

@keyframes startPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.04);
  }

  100% {
    transform: scale(1);
  }
}

.start-key-img:hover {
  animation-play-state: paused;
  transform: scale(1.07);
}

.star {
  position: absolute;
  font-size: 150px;
  font-weight: 900;
  line-height: 1;
  z-index: 10;
}

.star-1 {
  left: 70px;
  top: 430px;
}

.star-2 {
  left: 500px;
  top: 210px;
}

.star-3 {
  right: 90px;
  bottom: -35px;
}

.brief-modal {
  position: fixed;
  inset: 0;
  background: rgba(246, 241, 232, 0.72);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.brief-modal.active {
  display: flex;
}

.brief-box {
  width: 820px;
  background: rgba(230, 228, 218, 0.75);
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 45px;
  padding: 38px 50px 35px;
  position: relative;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.brief-box h2 {
  font-size: 50px;
  font-family: "Anonymous Pro", monospace;
  font-weight: 300;
  letter-spacing: 2px;
  line-height: 1;
}
.brief-close {
  position: absolute;
  right: 42px;
  top: 35px;
  border: none;
  background: none;
  font-size: 46px;
  cursor: pointer;
}

.brief-box form {
  display: grid;
  grid-template-columns: 310px 310px;
  gap: 28px 35px;
  justify-content: center;
}

.brief-check input {
  display: none;
}

.brief-check span {
  display: block;
  width: 38px;
  height: 38px;
  border: 2px solid #000;
  border-radius: 7px;
}

.brief-check {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
}

.brief-check span {
    display: block;
    width: 28px;
    height: 28px;
    border: 2px solid #000;
    border-radius: 6px;
    position: relative;
}

.brief-check input {
    display: none;
}

.brief-check input:checked + span::after {
    content: "✓";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -55%);
    font-size: 20px;
    font-weight: bold;
}
.brief-check p {
    font-size: 13px;
    line-height: 1.4;
    max-width: 230px;
    color: rgba(0,0,0,0.7);
}

.brief-box select{
  height: 70px;
  border: none;
  border-radius: 40px;
  background: #fff;
  padding: 0 34px;
}

.brief-box textarea {
  padding: 18px 20px;
  font-size: 14px;
  border-radius: 38px;
}

.brief-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.brief-box textarea {
  height: 300px;
}

.brief-submit {
  grid-column: 1 / 3;
  height: 70px;
  border: none;
  border-radius: 50px;
  background: #000;
  color: #fff;
  font-family: "Anonymous Pro", monospace;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.brief-submit:hover {
    background: #222;
    transform: translateY(-2px);
}

.brief-submit:active {
    background: #666;
    transform: scale(0.97);
}




#sekcja2 {
  height: 100vh;
  position: relative;
  background: #f6f1e8;
  overflow: hidden;
}

.about-scene {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-photo {
  position: absolute;
  width: 480px;
  left: -20px;
  top: 10px;
  z-index: 3;
  transform: scaleX(-1);
}

.about-paper {
  position: absolute;
  width: 860px;
  left: 50%;
  top: 120px;
  transform: translateX(-45%);
  z-index: 2;
}

.about-contact {
  position: absolute;
  width: 420px;
  right: 150px;
  bottom: 80px;
  z-index: 4;
}


#sekcja3 {
  min-height: 100vh;
  background: #f6f1e8;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}

.projects-top {
  margin-left: 210px;
  position: relative;
  z-index: 2;
  width: 780px;
}

.projects-top h2 {
  font-family: "Coming Soon", cursive;
  font-size: 78px;
  font-weight: 400;
  line-height: 0.9;
}

.projects-top span {
  position: absolute;
  left: 430px;
  top: 115px;
  font-family: "Cristal Elegance", cursive;
  font-size: 60px;
  font-weight: 400;
  white-space: nowrap;
  letter-spacing: 1px;
  transform: rotate(-5deg);

}

.projects-top p {
  width: 360px;
  margin-top: 65px;
  font-family: "Anonymous Pro", monospace;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: 0;
}

.projects-carousel {
  margin-top: 45px;
  display: flex;
  align-items: center;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 40px 80px 70px;
  scrollbar-width: none;
}

.projects-carousel::-webkit-scrollbar {
  display: none;
}

.project-card {
  flex: 0 0 auto;
  width: 300px;
  text-align: center;
  opacity: 0.65;
  transform: scale(0.88);
  transition: width 0.5s ease, transform 0.5s ease, opacity 0.5s ease;
}

.project-img-wrap {
  width: 100%;
  height: 380px;
  border-radius: 22px;
  overflow: hidden;
  transition: height 0.5s ease;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card button {
  width: 260px;
  height: 62px;
  margin-top: 25px;
  background: #000;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 40px;
  font-family: "Julius Sans One", sans-serif;
  font-size: 18px;
  opacity: 0.45;
  pointer-events: none;
  transition: 0.5s ease;
}

.project-card.active {
  width: 400px;
  opacity: 1;
  transform: scale(1);
}

.project-card.active .project-img-wrap {
  height: 470px;
}

.project-card.active button {
  opacity: 1;
  pointer-events: auto;
}


.project-card.active:hover {
  transform: scale(1.05);
}

.project-card.active:hover button {
  background: #fff;
  color: #000;
  border: 1px solid #000;
  cursor: pointer;
}
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.carousel-controls button {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 1px solid #000;
  background: transparent;
  font-size: 32px;
  cursor: pointer;
}




#sekcja4 {
  min-height: 100vh;
  background: #f6f1e8;
  padding: 80px 170px;
}

.services-title {
  font-size: 78px;
  font-weight: 400;
  margin-bottom: 80px;
  font-family: "Coming Soon", cursive;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 45px;
  font-family: "Anonymous Pro", monospace;
}

.service-item {
  width: 100%;
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.service-header h3 {
  font-size: 46px;
  font-weight: 400;
  letter-spacing: 2px;
  font-family: "Anonymous Pro", monospace;
}

.service-header button {
  width: 350px;
  height: 90px;
  border-radius: 60px;
  border: 2px solid #000;
  background: transparent;
  color: #000;
  font-family: "Anonymous Pro", monospace;
  font-size: 28px;
  cursor: pointer;
  transition: 0.3s ease;
  
}

.service-info {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  margin-left: 0;
  transition: 0.5s ease;
}

.service-info p {
  font-size: 18px;
  margin-bottom: 22px;
}

.service-item.active .service-header h3 {
  font-weight: 700;
}

.service-item.active .service-header button {
  background: #000;
  color: #fff;
}

.service-item.active .service-info {
  max-height: 200px;
  opacity: 1;
  margin-top: 35px;
  margin-left: 0;
}





#sekcja5 {
  min-height: 100vh;
  background: #f6f1e8;
  position: relative;
  padding: 70px 160px;
  overflow: hidden;
}

.reviews-title {
  font-size: 78px;
  font-weight: 400;
  margin-bottom: 40px;
  font-family: "Coming Soon", cursive;
}

.reviews-scene {
  position: relative;
  width: 100%;
  height: 650px;
}

.review-star {
  position: absolute;
  cursor: pointer;
}

.review-star span {
  display: block;
  font-size: 34px;
  margin-bottom: 10px;
}

.review-star img {
  width: 180px;
  transition: 0.4s ease;
}

.review-star p {
  position: absolute;
  left: 50%;
  top: 105%;
  transform: translateX(-50%);
  width: 260px;
  background: #000;
  color: #fff;
  padding: 18px;
  border-radius: 20px;
  font-family: "Anonymous Pro", monospace;
  font-size: 14px;
  line-height: 1.3;
  opacity: 0;
  pointer-events: none;
  transition: 0.4s ease;
  z-index: 20;
}

.review-star:hover img {
  transform: scale(1.12) rotate(5deg);
}

.review-star:hover p {
  opacity: 1;
}





.review-1 {
  left: 60px;
  top: 90px;
}

.review-1 img {
  width: 260px;
}

.review-2 {
  left: 120px;
  top: 430px;
}

.review-2 img {
  width: 190px;
}

.review-3 {
  left: 600px;
  top: 20px;
}

.review-3 img {
  width: 150px;
}

.review-4 {
  left: 400px;
  top: 300px;
}

.review-4 img {
  width: 230px;
}

.review-5 {
  right: 100px;
  top: 100px;
}

.review-5 img {
  width: 170px;
}

.review-6 {
  right: 120px;
  top: 390px;
}

.review-6 img {
  width: 170px;
}





#stopka {
  height: 100vh;
  background: #f6f1e8;
  position: relative;
  padding: 70px 170px;
  overflow: hidden;
}

#stopka h2 {
  font-family: "Coming Soon", cursive;
  font-size: 72px;
  font-weight: 400;
}

.footer-name {
  position: absolute;
  top: 260px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-family: "Anonymous Pro", monospace;
  font-size: 42px;
  letter-spacing: 3px;
}

.footer-star {
  position: absolute;
  font-size: 200px;
  font-weight: 900;
  line-height: 1;
}

.footer-star-1 {
  left: 310px;
  top: 330px;
}

.footer-star-2 {
  right: 420px;
  top: 150px;
}

.footer-contacts {
  position: absolute;
  left: 0;
  bottom: 170px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 160px;
}

.footer-contacts a {
  color: #000;
  text-decoration: none;
  font-family: "Anonymous Pro", monospace;
  font-size: 22px;
  font-weight: 700;
}

.burger {
  display: none;
}


@media (min-width: 1800px) {


  .envelope-img {
    width: 1100px;
    left: 50%;
    transform: translateX(-50%);
  }

  .check-img {
    width: 460px;
    left: 180px;
    top: 170px;
  }

  .start-key-img {
    width: 450px;
    right: 240px;
    top: 190px;
  }

  .star-1 {
    left: 120px;
    top: 430px;
  }

  .star-2 {
    left: 500px;
    top: 220px;
  }

  .star-3 {
    right: 170px;
    top: 720px;
  }



  .about-photo {
    width: 520px;
    left: 40px;
  }

  .about-paper {
    width: 1200px;
    left: 900px;
    top: 10px;
  }

  .about-contact {
    width: 700px;
    right: 180px;
    top: 550px;
  }

}








@media (max-width: 768px) {
nav ol {
  display: none;
}

.burger {
  display: block;
  position: fixed;
  right: 22px;
  top: 28px;
  width: 68px;
  height: 58px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 35px;
  font-size: 38px;
  line-height: 58px;
  z-index: 1000;
}


#sekcja1 {
  height: 440px;
}

.envelope-img {
  width: 360px;
  left: 48%;
  top: 120px;
}

.check-img {
  width: 210px;
  left: 24px;
  top: 55px;
}

.start-key-img {
  width: 135px;
  right: 28px;
  top: 140px;
}

.star {
  font-size: 75px;
}

.star-1 {
  left: 18px;
  top: 275px;
}

.star-2 {
  left: 218px;
  top: 95px;
}

.star-3 {
  right: 13px;
  top: 315px;
}


#sekcja2 {
  height: 560px;
  position: relative;
  overflow: hidden;
  background: #f6f1e8;
}

.about-photo {
    width: 150px;
    left: -18px;
    top: 0px;
    z-index: 7;
}

.about-contact {
    position: absolute;
    width: 490px;
    rotate: -5deg;
    right: 5px;
    top: 35px;
    z-index: 6;
}

.about-scroll {
  position: absolute;
  left: 0;
  top: 120px;
  width: 100%;
  height: 520px;
  overflow-x: auto;
  overflow-y: hidden;
  z-index: 2;
  scrollbar-width: none;
}

.about-scroll::-webkit-scrollbar {
  display: none;
}

.about-paper-wrap {
  width: 700px;
  height: 520px;
  position: relative;
}

.about-paper {
  position: absolute;
  width: 650px;
  left: 5px;
  top: 0;
  transform: none;
  max-width: none;
  z-index: 2;
}


/**mobile*/

#sekcja3 {
    padding-top: 40px;
    overflow-x: hidden;
    overflow-y: visible;
}

.projects-top {
    margin-left: 0;
    padding: 0 25px;
    width: 100%;
    box-sizing: border-box;
}

.projects-top h2 {
    font-size: 64px;
}

.projects-top span {
    font-size: 28px;
    display: block;
    margin-top: -10px;
    margin-left: 170px;
}

.projects-top p {
    width: 330px;
    margin-top: 25px;
    font-size: 16px;
    line-height: 1.4;
}

.projects-carousel {
    display: flex;
    gap: 22px;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 35px 0 70px;

    scrollbar-width: none;
}

.projects-carousel::-webkit-scrollbar {
    display: none;
}

.project-card {
    flex: 0 0 250px;

    transform: scale(0.85);
    opacity: 0.55;

    transition: 0.4s ease;
}

.project-card:first-child {
    margin-left: 55px;
}

.project-card.active {
    flex: 0 0 300px;

    transform: scale(1);
    opacity: 1;
}

.project-img-wrap {
    width: 250px;
    height: 340px;

    border-radius: 35px;
    overflow: hidden;
}

.project-card.active .project-img-wrap {
    width: 300px;
    height: 420px;
}

.project-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card button {
    width: 220px;
    height: 58px;

    display: block;
    margin: 20px auto 0;

    border-radius: 40px;

    background: #b6b2aa;
    color: #fff;
}

.project-card.active button {
    width: 240px;
    background: #000;
}



#sekcja4 {
  padding: 45px 25px 60px;
}

#sekcja4 h2 {
  font-family: "Coming Soon", cursive;
  font-size: 58px;
  font-weight: 400;
  margin-bottom: 45px;
}

.service-item {
  margin-bottom: 15px;
}

.service-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.service-header h3 {
  font-family: "Anonymous Pro", monospace;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 1px;
}

.service-price {
  width: 270px;
  height: 75px;
  border-radius: 45px;
  font-family: "Anonymous Pro", monospace;
  font-size: 22px;
}

.service-info {
  margin-top: 25px;
}

.service-info p {
  font-family: Arial, sans-serif;
  font-size: 18px;
  line-height: 1.25;
}

.service-info li {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  margin-bottom: 22px;
}

.service-info li::before {
  content: "";
  display: block;
  width: 135px;
  height: 1.5px;
  background: #000;
  margin-top: 11px;
}

.service-item.active .service-price {
  background: #000;
  color: #fff;
}


/* REVIEWS MOBILE */


#sekcja5 {
  min-height: 850px;
  padding: 40px 25px;
  background: #f6f1e8;
  overflow: hidden;
}

nav ol {
  display: none;
}

nav ol.active {
  display: flex;
  position: fixed;
  right: 22px;
  top: 100px;
  z-index: 999;
  flex-direction: column;
  gap: 18px;
  background: #000;
  padding: 25px;
  border-radius: 30px;
}

nav ol.active a {
  color: #fff;
  font-size: 18px;
}

nav ol.active .contact {
  margin-left: 0;
}

nav ol.active .contact a {
  padding: 0;
  background: none;
}
.reviews-title {
  font-family: "Coming Soon", cursive;
  font-size: 60px;
  font-weight: 400;
  margin-bottom: 20px;
}

.reviews-scene {
    position: relative;
    height: 820px;
}

.review-star {
  position: absolute;
}

.review-star span {
  display: block;
  font-family: "Coming Soon", cursive;
  font-size: 42px;
  margin-bottom: 10px;
}

.review-1 img {
  width: 170px;
}

.review-2 img {
  width: 85px;
}

.review-3 img {
  width: 170px;
}

.review-4 img {
  width: 90px;
}

.review-5 img {
  width: 85px;
}

.review-6 img {
  width: 170px;
}

.review-star p {
  position: absolute;
  left: 50%;
  top: 110%;
  transform: translateX(-50%);
  width: 180px;

  background: #000;
  color: #fff;

  padding: 12px;
  border-radius: 15px;

  font-family: "Anonymous Pro", monospace;
  font-size: 12px;
  line-height: 1.4;

  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 100;
}
.review-star.active p {
  opacity: 1;
  visibility: visible;
}

.review-1 {
  left: 8%;
  top: 150px;
}

.review-2 {
  left: 58%;
  top: 120px;
}

.review-3 {
  left: 10%;
  top: 410px;
}

.review-4 {
  left: 63%;
  top: 360px;
  z-index: 10;
}

.review-5 {
  left: 12%;
  top: 680px;
}

.review-6 {
  left: 58%;
  top: 640px;
}

/* CONTACT MOBILE */

#stopka {
  height: auto;
  min-height: 500px;
  padding: 35px 25px 50px;
}

#stopka h2 {
  font-family: "Coming Soon", cursive;
  font-size: 62px;
  font-weight: 400;
  text-align: left;
  margin-left: 5px;
}

.footer-name {
  top: 170px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: 4px;
}

.footer-star {
  font-size: 130px;
}

.footer-star-1 {
  left: 40px;
  top: 180px;
}

.footer-star-2 {
  right: 45px;
  top: 250px;
}

.footer-contacts {
  position: absolute;
  top: 320px;
  bottom: auto;

  display: flex;
  flex-direction: column;
  gap: 15px;

  width: 100%;
  align-items: center;
}

.footer-contacts a {
  font-family: "Anonymous Pro", monospace;
  font-size: 16px;
  color: #000;
  text-decoration: none;
}

/* BRIEF MOBILE */

.brief-box {
  width: calc(100% - 30px);
  padding: 25px 20px;
  border-radius: 30px;
}

.brief-box h2 {
  font-size: 28px;
  text-align: center;
}

.brief-close {
  right: 20px;
  top: 15px;
  font-size: 34px;
}

.brief-box form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.brief-left {
  width: 100%;
}

.brief-box input,
.brief-box select {
  width: 100%;
  height: 58px;
  box-sizing: border-box;
}

.brief-box textarea {
  width: 100%;
  height: 180px;
  box-sizing: border-box;
}

.brief-submit {
  width: 100%;
  height: 60px;
  font-size: 18px;
  border-radius: 40px;
}

.brief-check p {
  font-size: 11px;
  max-width: 240px;
}
}
