/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3rem;
  /*========== Colors ==========*/
  --hue-color: 206;
  --black-color: hsl(var(--hue-color), 4%, 4%);
  --black-color-alt: hsl(var(--hue-color), 4%, 8%);
  --title-color: hsl(var(--hue-color), 4%, 95%);
  --text-color: hsl(var(--hue-color), 4%, 75%);
  --text-color-light: hsl(var(--hue-color), 4%, 65%);
  --white-color: #FFF;
  --body-color: hsl(var(--hue-color), 4%, 6%);
  --container-color: hsl(var(--hue-color), 4%, 10%);
  --text-gradient: linear-gradient(hsl(var(--hue-color), 4%, 24%), hsl(var(--hue-color), 4%, 8%));
  --scroll-thumb-color: hsl(var(--hue-color), 4%, 16%);
  --scroll-thumb-color-alt: hsl(var(--hue-color), 4%, 20%);
  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --biggest-font-size: 4.5rem;
  --bigger-font-size: 3rem;
  --big-font-size: 2.2rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1.125rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;
  --text-line-height: 2rem;
  --small-text-line-height: 1.6rem;
  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  /*========== Margenes Bottom ==========*/
  --mb-0-5: .5rem;
  --mb-0-75: .75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}
@media screen and (min-width: 968px) {
  :root {
    --biggest-font-size: 6.5rem;
    --bigger-font-size: 4rem;
    --big-font-size: 4rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--small-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

h1, h2, h3 {
  color: var(--title-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

button,
input {
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
  height: auto;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.section {
  padding: 4rem 0 2rem;
}

.section__title {
  font-size: var(--bigger-font-size);
  text-align: center;
  margin-bottom: var(--mb-2-5);
}

.section__title-gradient {
  background: var(--text-gradient);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
.accent{
  color:#e4992d;
}

/*=============== LAYOUT ===============*/
.main {
  overflow: hidden;
}

.container {
  max-width: 968px;
  margin-left: var(--mb-1-5);
  margin-right: var(--mb-1-5);
}

.grid {
  display: grid;
}

/*=============== HEADER ===============*/
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background: transparent;
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  width: 8rem;
}

.nav__toggle {
  font-size: 1.2rem;
  color: var(--white-color);
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    background-color: var(--body-color);
    top: -100%;
    left: 0;
    width: 100%;
    padding: 4rem 0 3rem;
    transition: .4s;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1rem;
}

.nav__link {
  color: var(--white-color);
  font-size: var(--h2-font-size);
  text-transform: uppercase;
  font-weight: var(--font-semi-bold);
  background: var(--text-gradient);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  transition: .4s;
}

.nav__link:hover {
  background: var(--white-color);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.nav__close {
  position: absolute;
  font-size: 1.5rem;
  top: 1rem;
  right: 1rem;
  color: var(--white-color);
  cursor: pointer;
}

/* show menu */
.show-menu {
  top: 0;
}

/* Change background header */
.scroll-header {
  background-color: var(--body-color);
}

/* Active link */
.active-link {
  background: var(--white-color);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

/*=============== HOME ===============*/

.home__data {
  padding-top: 95vw;
}

.home__header {
  position: relative;
}

.home__title {
  position: absolute;
  top: -4rem;
  left: 0.5rem;
  line-height: 6rem;
  font-size: var(--biggest-font-size);
  background: var(--text-gradient);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

.home__subtitle {
  font-size: var(--big-font-size);
  margin-bottom: var(--mb-2-5);
}

.home__title-description {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1);
}

.home__description {
  margin-bottom: var(--mb-2-5);
  line-height: var(--text-line-height);
}

.home__gradient{
  background-image: linear-gradient(to bottom, rgba(16,15,15,0) , rgba(16,15,15,0.5));
  width:100%;
  height:100%;
  position:absolute;
  right:0px;
  }
.parallax__container {
  width: 140%;
  position: relative;
  top: -6rem; 
  right: 20%;
}
.parallax__layer {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-block;
  background-color: var(--black-color);
  color: var(--white-color);
  padding: 1rem 1.25rem;
  border-radius: .5rem;
  transition: .3s;
}

.button:hover {
  background-color: var(--black-color-alt);
}

.button__icon {
  font-size: 1.2rem;
}

.button--flex {
  display: inline-flex;
  align-items: center;
  column-gap: .75rem;
}
/*=============== ANIMACJA HANDSHAKE ===============*/
@keyframes handshake {
  0% { transform: translateY(0); }
  5% { transform: translateY(-5px); }
  15% { transform: translateY(5px); }
  25% { transform: translateY(0); }
}

.handshake {
  display: inline-block; /* Jeśli to SVG lub ikona fontowa */
  animation: handshake 4s ease-in-out infinite;
  animation-delay: 6s;
}

@keyframes handshake_bg {
  0% { filter: brightness(100%); }
  10% { filter: brightness(200%); }
  15% { filter: brightness(100%); }
  20% { filter: brightness(200%); }
  25% { filter: brightness(100%); }
}
.handshake_bg {
  animation: handshake_bg 2s ease-in-out 1;
  animation-delay: 6s;
}
/*=============== SPONSOR ===============*/
.sponsor__img {
  width: 90px;
}

.sponsor__container {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  row-gap: 5rem;
  justify-items: center;
  align-items: center;
}

/*=============== SPECS ===============*/
.specs__container {
  position: relative;
  text-shadow:  0 0 10px var(--body-color);
}

.specs__content {
  row-gap: 1.5rem;
}

.specs__data{
  display: grid;
  row-gap: .25rem;
}

.specs__data_right {
  display: grid;
  row-gap: .25rem;
  text-align: right;
}

.specs__icon {
  font-size: 1.2rem;
  color: var(--white-color);
}

.specs__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
}

.specs__subtitle {
  font-size: var(--smaller-font-size);
}

.specs__data:nth-child(1), .specs__data:nth-child(4) {
  margin-left: 1.5rem;
}

.specs__data_right:nth-child(1), .specs__data_right:nth-child(4) {
  margin-right: 1.5rem;
}

.specs__img {
  width: 250px;
  position: absolute;
  top: 2rem;
  right: -6rem;
  z-index:-2;
}

.specs__img_left{
  width: 250px;
  position: absolute;
  top: 2rem;
  left: -8rem;
  z-index:-2;
}
/*=============== CASE ===============*/
.case__container {
  position: relative;
  grid-template-columns: repeat(2, 1fr);

}

.case__data {
  padding: 0 0 3rem;
}

.case__img {
  width: 280px;
  position: absolute;
  left: -9rem;
}

.case__description {
  margin-bottom: var(--mb-1-5);
  line-height: var(--text-line-height);
  max-width:300px;
}

/*========= CASE2 ==========*/
.image-container {
  position:absolute;
  right:-9rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  width: 240px;
  height: 240px;
}

.image {
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 1);
}

.center-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
  z-index: 2;
  shadow: 20px 20px black;
}

/*=============== contact ===============*/
.contact__container {
  position: relative;
  background-color: var(--container-color);
  padding: 2rem 1.5rem;
  border-radius: .75rem;
}

.contact__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-0-75);
}

.contact__description {
  margin-bottom: var(--mb-1);
}

.contact__img {
  width: 200px;
  position: absolute;
  top: 3rem;
  right: -2rem;
}

/*=============== FOOTER ===============*/
.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  row-gap: 2rem;
}

.footer__logo {
  width: 6rem;
}

.footer__title {
  font-size: var(--h3-font-size);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1);
}

.footer__links {
  display: flex;
  flex-direction: column;
  row-gap: .5rem;
}

.footer__link {
  color: var(--text-color);
}

.footer__link:hover {
  color: var(--white-color);
}


.footer__social {
  display: flex;
  column-gap: 1.25rem;
}

.footer__social-link {
  display: inline-flex;
  color: var(--white-color);
  background-color: var(--container-color);
  padding: .5rem;
  border-radius: .25rem;
  font-size: 1rem;
}

.footer__social-link:hover {
  background-color: var(--black-color);
}

.footer__copy {
  margin-top: 5rem;
  text-align: center;
}

.footer__copy-link {
  font-size: var(--smaller-font-size);
  color: var(--text-color-light);
}

/*=============== SCROLL UP ===============*/
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  display: flex;
  background-color: var(--container-color);
  border-radius: .25rem;
  padding: .45rem;
  opacity: 9;
  z-index: var(--z-tooltip);
  transition: .4s;
}

.scrollup:hover {
  background-color: var(--black-color);
  opacity: 1;
}

.scrollup__icon {
  color: var(--white-color);
  font-size: 1.35rem;
}

/* Show Scroll Up*/
.show-scroll {
  bottom: 5rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: .60rem;
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
  border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--scroll-thumb-color-alt);
}

/*=============== MEDIA QUERIES ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }
  .section__title {
    font-size: var(--big-font-size);
  }
  .home__title {
    top: -4rem;
    font-size: var(--bigger-font-size);
  }
  .home__description {
    font-size: var(--small-font-size);
  }
  .specs__img{
    width: 180px;
  }
  .specs__img_left{
    width: 180px;
    left: -6rem
  }
  .case__container {
    grid-template-columns: .6fr 1fr;
  }
  .case__img {
    width: 220px;
    left: -9rem;
  }
  .case__data {
    padding: 0;
  }
  .case__description{
    line-height: var(--small-text-line-height);
  }
  .contact__img {
    top:7rem;
    width: 140px;
  }
 
}

/* For medium devices */
@media screen and (min-width: 576px) {
  .home__container{
    grid-template-columns: .8fr 1fr;
  }
  .home__data {
    padding-top: 2rem;
  }
  .home__gradient{
    background-image: linear-gradient(to right, rgba(16,15,15,0), rgba(16,15,15,1) 900px);
    height:200%;
    top:-4rem;
  }
  .parallax__container {
    width:180%;
    top: -4rem; 
  }
  .specs__img{
    position: initial;
  }
  .specs__img_left {
    position: initial;
  }
  .specs__container {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
  }
  .case__img {
    position: initial;
  }
  .case__data {
    padding: 0;
  }
  .case__container {
    grid-template-columns: max-content 240px;
    justify-content: center;
    align-items: center;
    column-gap: 2rem;
  }
  .image-container {
    right: 0;
  }
  .contact__img {
    top:-5rem;
    right:2rem;
    width:260px;
  }
  .contact__container {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
  }

}

@media screen and (min-width: 767px) {
  body {
    margin: 0;
  }
  .section {
    padding: 6rem 0 2rem;
  }
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }
  .nav__logo {
    width: 10rem;
  }
  .nav__list {
    flex-direction: row;
    column-gap: 3.5rem;
  }
  .nav__link {
    font-size: var(--normal-font-size);
    text-transform: initial;
  }
  .nav__toggle, .nav__close {
    display: none;
  }
  .home__container {
    position: relative;
    grid-template-columns: repeat(2, 1fr);
  }
  .home__data {
    padding-top: 8rem;
  }
  .parallax__container {
    width:160%;
    top: -4rem; 
  }
  .specs__img, .specs__img_left {
    width: 300px;
  }
  .case__container {
    grid-gap:3rem;
    grid-template-columns: max-content 300px;
  }
  .case__img {
    width: 400px;
  }
  .case__description {
    padding-top: 2rem;
    margin-bottom: var(--mb-2);
    width: 100%;
  }
  .image-container {
    margin-right: auto;
    width: 280px;
    height: 280px; 
  }
  .image {
    width: 140px;
    height: 140px; 
  }
  .contact__container {
    grid-template-columns: 280px max-content;
    justify-content: space-around;
    column-gap: 5rem;
    padding: 2rem 0;
  }
  .contact__title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-1);
  }
  .contact__description {
    margin-bottom: var(--mb-2);
  }
  .contact__img {
    right:6rem;
  }
  
  .footer__container {
    grid-template-columns: .4fr .7fr .7fr 1fr;
  }
}

/* For large devices */
@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }
  .home__title {
    top: -5rem;
    left: 3.5rem;
  }
  .home__description {
    padding-right: 5rem;
  }
  .home__gradient{
    background-image: linear-gradient(to right, rgba(16,15,15,0),rgba(16,15,15,0.2), rgba(16,15,15,1) 700px);
    }
  .sponsor__img {
    width: 100px;
  }
  .case__container {
    grid-gap: 5rem;
    grid-template-columns: max-content 400px;
  }
  .case__description {
    padding-top: 0;
  }

  .contact__img {
    width: 300px;
  }
  .footer__container {
    padding-top: 3rem;
  }
  .footer__copy {
    margin-top: 9rem;
  }
}
