:root {
  --primary-color: #D3D8E1;
  --secondary-color: #15161B;
  --primary-accent-color: #FFC700;
  --secondary-accent-color: #301AA7;
}

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

html {
  scroll-behavior: smooth;
  font-family: Manrope, sans-serif;
}

html.lenis {
  height: auto;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--secondary-color);
}


h1 {
  font-size: 56px;
}

p {
  font-size: 20px;
}

a {
  text-decoration: none;
  color: var(--secondary-color);
}


/* HERO SECTION */

.hero {
  min-height: 100vh;
}

.hero-wrapper {
  height: 100vh;
  position: relative;
  overflow: hidden;
}



.header-content {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  margin-left: 64px;
  z-index: 100;
  width: 100%;
  height: 100%;
}

.header-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 533px;
  margin-right: auto;
}

.header-left h1 {
  line-height: 1.2;
}

.header-left h1, p{
  color: var(--primary-color);
}

.contrast {
  color: var(--primary-accent-color);
}

.header-left p {
  max-width: 430px;
}

.header-left a{
  background-color: var(--primary-accent-color);
  padding: 12px 24px;
  font-weight: 800;
  width: fit-content;
  border-style: solid;
}

.header-left a:hover {
  color: var(--primary-accent-color);
  background-color: var(--secondary-color);
  border-style: solid;
  border-color: var(--primary-accent-color);
  transition: ease-in-out 0.3s;
}

.header-left button {
  background-color: var(--secondary-color);
  color: var(--primary-accent-color);
  border: 1px;
  border-style: solid;
  padding: 13px 24px;
  font-size: 16px;
  font-weight: 400;
  width: fit-content;
  margin-left: 16px;
}

.header-left button:hover {
  color: var(--primary-color);
  transition: ease-in-out 0.3s;
}

.header-right {
  display: block;
  overflow: hidden;
}

.header-right img{
  height: 720px;
  object-fit: cover
}


.bg-heading {
  position: absolute;
  color: var(--primary-accent-color);
  font-size: 10rem;
  top: 0;
  left: 64px;
  margin: 0;
  opacity: 0.1;
  z-index: 0;
}

/*NAVBAR*/
nav {
  display: flex;
  position: absolute;
  align-items: end;
  justify-content: space-between;
  bottom: 0;
  top: auto;
  height:fit-content;
  width: 100%;
  z-index: 1000;
  font-family: Narnoor;
  overflow: hidden;
  padding: 0 20px;
}

nav.sticky {
  position: fixed;
  top: 0;
  align-items: center;
  background: transparent;
  backdrop-filter: blur(10px);
}


nav h1 {
  color: var(--primary-color);
  font-size: 32px;
}

nav ul {
  padding-left: 16px;
}

ul, ol, li {
  margin: 0;
  padding: 0;
  list-style-type: none;
  direction: row;
}

nav ul li {
  display: inline;
  padding-right: 16px;
}

nav ul li a {
font-weight: 800;
color: var(--primary-color);
font-size: 12px;
}

.hamburger{
  display: none;
  cursor: pointer;
}

.bar{
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: white;
}


/* END OF HERO SECTION */

/* TESTIMONIALS 1 */

#testimonials1 {
  height: 960px;
  background-color: var(--primary-color);
}

.testimonials1-content {
  padding-top: 6em;
  width: 100%;
  height: 100%;
}

#testimonials1 h1 {
  font-size: 64px;
  text-align: center;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 120px;
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
}

.carousel-list {
  display: flex;
  gap: 48px;
}

.carousel-item img {
  width: 334px;
  height: 440px;
  object-fit: cover;
  border-radius: 8px;
}



/*Style nowych sekcji */

.section {
  overflow: hidden;
  background-color: var(--primary-color);
}

.wrapper {
  height: 100vh;
}

.list {
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  display: flex;
  position: relative;
  padding: 0.2rem;
}

.item {
  width: 100vw;
  height: 100%;
  display: flex;
  position: absolute;
  inset: 0%;
  box-shadow: rgb(149, 157, 165, 0.2) 0px 8px 24px;
  overflow: hidden;
}

.item_content {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  flex-flow: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem;
  display: flex;
  position: relative;
  width: 50%;
}

.item_content p {
  color: var(--secondary-color);
  margin-top: 32px;
  font-size: 20px;
}

.item_number {
  font-size: 4rem;
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  position: absolute;
  top: 6rem;
  left: 3rem;
}

.item_media {
  object-fit: cover;
  width: 50%;
  height: 100%;
}

/* FAQ SEKCJA */

.faq-container {
  max-width: 96%;
  margin: 0 auto;
  padding: 30px;
  border-radius: 8px;
  padding-top: 6em;
}

.faq-container h2 {
  color: var(--primary-accent-color);
  font-size: 4rem;
  margin-bottom: 30px;
  font-weight: 500;
}

.faq-item {
  border-bottom: 1px solid #444;
  margin-bottom: 0;
}

.faq-item:last-child {
  border-bottom: none;
}

/* Ukrycie domyślnej strzałki */
.faq-question {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  color: #ffffff;
  font-size: 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 0.01rem;
}

.faq-question span {
  letter-spacing: 20%;
}

.faq-question::-webkit-details-marker {
  display: none;
}

/* Dodanie customowej strzałki SVG */
.faq-question::after {
  content: '';
  width: 24px;
  height: 24px;
  background-image: url('images/arrow.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.3s ease;
}

/* Obrót strzałki gdy details jest otwarty */
details[open] .faq-question::after {
  transform: rotate(180deg);
  transition: ease-in-out 0.2s;
}

.faq-answer {
  padding: 0 0 20px 0;
  color: #cccccc;
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
}

/* Hover effect */
.faq-question:hover {
  color: var(--primary-accent-color);
  transition: ease-in-out 0.3s;
}


/* FAQ SEKCJA KONIEC */


/* CTA SEKCJA */

#CTA {
  height: 90vh;
  margin-top: 100px;
}

.cta-content {
  height: 100%;
  width: 100%;
  
  text-align: center;
  position: relative;
}

.cta-content h2 {
  color: var(--primary-color);
  font-size: 3em;
  font-weight: 800;
}

.carousel-wrapper2 {
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  margin-top: 4em;
}

.carousel-list2 {
  display: flex;
  gap: 48px;
}

.carousel-item2 img {
  width: 167px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.cta-content button {
  font-size: 36px;
  font-weight: 800;
  color: var(--secondary-color);
  background-color: var(--primary-accent-color);
  padding: 44px 64px;
  margin-top: 2em;
  cursor: pointer;
  border: none;
}

.cta-content button:hover {
  color: var(--primary-accent-color);
  background-color: var(--secondary-color);
  border: 2px;
  border-style: solid;
  border-color: var(--primary-accent-color);
  transition: ease-in-out 0.3s;
}


footer ul {
  display: flex;
  position: absolute;
  align-items: end;
  justify-content: space-between;
  bottom: 10px;
  top: auto;
  height: fit-content;
  width: 100%;
  z-index: 1000;
  padding-left: 30px;
  padding-right: 30px;
}

footer a {
  color: var(--primary-accent-color);
  font-weight: 200;
  direction: row;
  font-size: 12px;
}





@media screen and (max-width: 1280px) {
  .cta-content h2{
    font-size: 32px;
  }

  .cta-content button {
    font-size: 24px;
    padding: 32px 32px;
  }
}


@media screen and (max-width: 1024px) {

  /* HEADER */
  .header-left {
    max-width: 440px;
  }

  .header-right img {
    height: 640px;
  }

  /* NAV */

  nav {
    display: flex;
    position: fixed;
    align-items: end;
    justify-content: space-between;
    top: 0;
    height:fit-content;
    width: 100%;
    z-index: 1000;
    font-family: Narnoor;
    overflow: hidden;
    padding: 0 20px;
  }

  .hamburger{
    display: block;
    z-index: 1001;
  }

  .hamburger.active .bar:nth-child(2){
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(1){
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav h1 {
    color: #ffffff;
  }

  .nav ul{
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    left: -100%;
    top: 0;
    bottom: 0;
    gap: 24px;
    background-color: var(--secondary-color);
    width: 100%;
    text-align: center;
    transition: ease-in-out 0.3s;
    z-index: 100;
    padding: 0 0;
  }

 .nav ul li {
  padding: 0;
 }

  .nav ul li a{
    margin: 16px 0;
    font-size: 32px;
  }

  



  .nav ul.active{
    left: 0%;
    right: 0%;
    top: 0;
    bottom: 0;
  }

  .nav ul li a:hover {
    color: var(--primary-accent-color);
  }

  /* NAV END */

  /* CTA */
  .cta-content h2{
    margin: 0 40px;
  }

}

@media screen and (max-width: 768px) {
  .header-content {
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: 0;
  }

  .header-left {
    margin-right: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: fit-content;
    padding-top: 100px;
  }

  .header-left h1 {
    font-size: 32px;
  }

  .header-left p {
    font-size: 18px;
  }

  .header-right img {
    height: 420px;
  }
}

@media (max-width: 575.98px) {

  /*Sekcja nowa start*/
  .heading {
    font-size: 2.5rem;
  }

  .item {
    display: flex;
    flex-direction: column;
  }

  .item_content {
    height: 60vh;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .item_media {
    height: 40vh;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }

  .item_number {
    font-size: 1rem;
    top: 1rem;
    right: 50%;
    left: 50%;
  }

  .item_content p {
    font-size: 16px;
  }
  /*Sekcja nowa koniec*/
}


@media screen and (max-width: 425px) {

  .header-left a{
    background-color: var(--primary-accent-color);
    padding: 12px 24px;
    font-weight: 800;
    width: fit-content;
  }
  
  .header-left .ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }

  .header-left button {
    background-color: var(--secondary-color);
    color: var(--primary-accent-color);
    border: 1px;
    border-style: solid;
    padding: 13px 24px;
    font-size: 16px;
    font-weight: 400;
    width: fit-content;
    margin: 0;
  }
  
  #testimonials1 h1 {
    font-size: 32px;
    max-width: fit-content;
  }
  
  .carousel-item img {
    width: 220px;
  }

  .faq-container h2 {
    font-size: 3rem;
  }

  .faq-question {
    font-size: 1.2rem;
  }

  .faq-answer p {
    font-size: 16px;
  }


  .cta-content h2{
    font-size: 24px;
    padding: 0 32px;
  }

  .cta-content button {
    max-width: fit-content;
    padding: 22px 32px;
    font-size: 16px;
  }
}

@media screen and (max-width: 375px) {
  
  /* Header section */
  .header-right img{
    height: 425px;
  }

  /* Testimonials section */
  #testimonials1 {
    height: 800px;
    text-align: center;
  }

  .testimonials1-content {
    display: flex;
    flex-direction: column;
    align-items: center ;
  }

  #testimonials1 h1{
    max-width: 300px;
  }

  .carousel-item img {
    height: 300px;
    width: 200px;
  }


  .cta-content button {
    max-width: fit-content;
    padding: 20px 20px;
  }
}

@media screen and (max-width: 320px) {
  
  .header-right img{
    width: 325px;
  }

}


@media screen and (min-width: 1440px) {
  .header-left {
    max-width: 700px;
  }

  .header-right img {
    padding-right: 100px;
  }
}