* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
}

html {
  scroll-behavior: smooth;
}

:root {
  --dark: #1e1e1e;
  --darker: #2e2e2e;
  --accent: #ffbe16;
  --light: #ffffff;

  --bg-subtle-1: #232323;
  --bg-subtle-2: #282828;
  --bg-subtle-3: #2a2a2a;
  --bg-subtle-light: rgba(255, 255, 255, 0.02);

  --accent-subtle-1: rgba(255, 190, 22, 0.05);
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--light);
  color: var(--darker);
  line-height: 1.6;
}

::selection {
  background-color: #1e1e1e;
  color: #fff;
}

h2::selection {
  color: var(--accent);
}

a {
  text-decoration: none;
  color: #2e2e2e;
}

.center {
  width: 95%;
  margin: 0 auto;
}

@media screen and (min-width: 1020px) {
  .center {
    width: 950px;
  }
}

@media screen and (min-width: 1140px) {
  .center {
    width: 1100px;
  }
}

/* scroll */

#oferta,
#faq,
#kontakt {
  scroll-margin-top: 100px;
}

/* HEADER */

.main-nav {
  display: none;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 50px;
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(10px);
  padding: 50px 20px 50px 20px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  align-items: center;
  font-size: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  display: flex;
}

.hamburger-toggle {
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.opened-menu-icon {
  color: #2e2e2e;
}

.scrolled .hamburger-toggle {
  color: #2e2e2e;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
}

.site-header.mobile-menu-open {
  background: rgba(255, 255, 255, 1);
  /* background: rgba(255, 255, 255, 0.1); */
  backdrop-filter: blur(10px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-contact {
  color: #dcdcdc;
}

.logo {
  height: 70px;
  width: 70px;
  margin: 10px 0;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 5px;
  align-items: center;
  z-index: 9999;
}

.nav-link {
  text-decoration: none;
  color: #dcdcdc;
  font-weight: 600;
  transition: color 0.3s;
  position: relative;

  padding: 9px 17px;
  border-radius: 37px;
  transition: all 0.5s ease-in;
}

.fa-phone {
  margin-right: 10px;
}

.scrolled {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* border-radius: 10px; */
  border: 1 px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0.3);
}

.scrolled-link {
  color: var(--darker);
}

.scrolled-mobile-menu {
  color: #2e2e2e;
}

/* HERO SECTION */
.hero {
  text-align: center;
  color: #fff;
  height: calc(100vh - 100px);
  display: flex;
  align-items: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  /* background: rgba(0, 0, 0, 0.5); */
  background: linear-gradient(
    rgba(46, 46, 46, 0.7),
    rgba(30, 30, 30, 0.4),
    rgba(46, 46, 46, 0.7)
  );
  pointer-events: none;
  /* backdrop-filter: blur(3px); */
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  /* font-size: 90px; */
  /* margin-bottom: 1rem; */
  font-weight: 800;
  line-height: 1.1em;
  letter-spacing: -0.05em;
  margin-bottom: 20px;
  /* margin-top: 50px; */
}

.hero-subtitle {
  /* max-width: 720px; */
  /* max-width: 300px; */
  width: 70%;
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: #dcdcdc;
  display: none;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 12px 25px;
  background-color: var(--accent);
  color: var(--dark);
  font-weight: bold;
  border: none;
  border-radius: 37px;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.4s ease 0.2s, background-color 0.1s ease 5s;
  cursor: pointer;
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn i {
  margin-left: 10px;
  transition: transform 0.4s ease, color 0.4s ease 0.2s;
  color: var(--dark);
}

.contact-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 7px 20px;
  color: #dcdcdc;
  background-color: var(--darker);
  font-weight: bold;
  border: none;
  border-radius: 37px;
  text-decoration: none;
  overflow: hidden;
  transition: color 0.4s ease 0.2s;
  cursor: pointer;
}

.contact-btn-text {
  color: #dcdcdc !important;
}

.contact-btn > * {
  position: relative;
  z-index: 1;
}

.contact-btn i {
  margin-left: 10px;
  transition: transform 0.4s ease, color 0.4s ease 0.2s;
  color: #dcdcdc;
}

.fa-arrow-right {
  margin-left: 10px;
}

h2 {
  font-size: 60px;
  font-weight: 800;
}

h1 {
  font-size: 50px;
}
/* -------- */

/* ------------------------------------------------- */
.oferta-section {
  margin: 100px 0;
}

.oferta-h {
  text-align: center;
}

.product-test {
  width: 100%;
  display: flex;
  gap: 20px;
  margin-top: 50px;
  flex-direction: column;
}

.product-right {
  flex-direction: column;
  /* text-align: end; */
}

.product-text-right {
  /* width: 60%; */
  border-radius: 20px;
  background-color: #fafafa;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-direction: column;
  padding: 40px 50px;
  transition: all 0.4s ease-in-out;
  gap: 20px;
  text-align: center;
}

/* .product-p-right {
  text-align: end;
} */

.product-photo-test {
  /* width: 50%; */
  height: 300px;
  border-radius: 20px;
  transition: all 0.4s ease-in-out;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  /* background-size: contain; */
  background-size: 100% auto;
}

.product-photo-1 {
  background-image: url("./images/kregi1.png");
}

.product-photo-2 {
  background-image: url("./images/szambo.png");
}

.product-photo-3 {
  background-image: url("./images/komory.png");
}

.product-photo-4 {
  background-image: url("./images/slupki.png");
}

/* .product-photo-test:hover {
  width: 70%;
  border-radius: 20px;
}

.product-text:hover {
  width: 70%;
}

.product-text-right:hover {
  width: 70%;
} */

.product-text {
  /* width: 60%; */
  border-radius: 20px;
  background-color: #fafafa;
  display: flex;
  justify-content: space-between;
  /* align-items: center; */
  flex-direction: column;
  padding: 40px 50px;
  transition: all 0.4s ease-in-out;
  gap: 20px;
  text-align: center;
}

.product-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-h {
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-p {
  /* width: 400px; */
  padding-top: 40px;
}

/* FOOTER */

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  gap: 20px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-logo-letters {
  color: #fff;
  font-weight: 800;
  font-size: 20px;
}

.site-footer {
  background-color: var(--dark);
  padding: 10px 0;
  text-align: center;
}

.footer-line {
  background-color: #999;
  width: 100%;
  height: 0.5px;
}

.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-direction: column;
}

.footer-link {
  text-decoration: none;
  color: #b0b0b0;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-logo {
  width: 70px;
}

.footer-cp {
  padding-top: 10px;
  color: #b0b0b0;
  font-size: 12px;
}

.fb-icon {
  color: #b0b0b0;
  font-size: 20px;
}

/* ---------- */

.highlight-section {
  padding: 4rem 0;
  background-color: #f9f9f9;
  text-align: center;
}

.features-grid {
  display: flex;
  justify-content: center;
  gap: 100px;
  flex-wrap: wrap;
  margin-top: 60px;
}

.feature-text {
  margin-top: 20px;
}

.feature-box {
  text-align: center;
  max-width: 180px;
}

.feature-box img {
  border-radius: 50%;
}

.image-text-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0;
  flex-direction: column;
}

.image-text-section .image {
  flex: 1;
}

.image-text-section .image img {
  width: 100%;
  border-radius: 8px;
}

.image-text-section .text {
  flex: 1;
}

.contact {
  text-align: center;
}

.contact-section {
  padding: 4rem 0;
  text-align: center;
}

.contact-section ul {
  list-style: none;
  padding: 0;
}

.contact-section li {
  margin: 0.5rem 0;
}

.contact-icon {
  font-size: 30px;
}

.img {
  width: 200px;
  height: 200px;
}

.product-heading {
  text-align: center;
  margin-bottom: 30px;
}

.about-section {
  padding: 100px 0px;
  /* background-color: var(--dark); */
  /* position: relative; */
  /* background: linear-gradient(#fff, #fff, #cccccc, #bebebe);
  backdrop-filter: blur(5px); */
}

.about-container-p {
  margin-bottom: 50px;
  margin-top: 20px;
  color: #4a4a4a;
  text-align: center;
}

.about-headings {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-h {
  font-size: 50px;
  /* font-size: 145px; */
  text-transform: uppercase;
  letter-spacing: 5px;
  text-align: center;
  /* transform: scaleX(1.5) scaleY(1.2);
  transform-origin: left center; */
}

.line {
  width: 100px;
  background-color: #2e2e2e;
  height: 5px;
}

.certificates {
  display: flex;
  gap: 60px;
  justify-content: space-between;
  margin-top: 50px;
  flex-direction: column;
}

.certificate-item {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.certificate-p {
  color: #4a4a4a;

  width: 200px;
  text-align: center;
}

.dostawa {
  padding: 100px 0 150px 0;
}

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

.gradient {
  background: linear-gradient(#fff, #dcdcdc, #dcdcdc, #fff, #fff, #fff, #fff);
  backdrop-filter: blur(5px);
}

.dostawa-p {
  margin-bottom: 20px;
}

/* ---------------------------------------- */

/* ---------- */

.answer {
  display: none;
  user-select: none;
  margin: 10px 0 20px 0;
}

.fa-chevron-down {
  cursor: pointer;
}

.faq {
  margin-bottom: 100px;
}

.faq-h {
  margin-bottom: 25px;
  text-align: center;
}

.faq-item {
  display: flex;
  justify-content: space-between;
}

.question-wrap {
  padding: 10px 0;
}

.question {
  cursor: pointer;
  user-select: none;
}

.toggle-icon {
  padding: 10px 0;
}

.contact {
  margin: 150px 0 50px;
}

.contact-list {
  margin: 50px 0;
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 50px;
}

.contact-list-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map {
  margin-bottom: 100px;
}

/* covering bg after hover */
@keyframes delayed-bg {
  to {
    background-color: var(--dark);
  }
}

@keyframes contact-delayed-bg {
  to {
    background-color: var(--accent);
  }
}

/* -----RWD --------- */

@media screen and (min-width: 500px) {
  .product-photo-test {
    height: 400px;
  }
}

@media screen and (min-width: 760px) {
  h1 {
    font-size: 60px;
  }

  .hero-subtitle {
    max-width: 500px;
    display: block;
  }

  .product-photo-test {
    height: 500px;
  }
}

@media screen and (min-width: 900px) {
  .product-photo-test {
    height: 600px;
  }
}

@media screen and (min-width: 1020px) {
  .mobile-menu {
    display: none;
  }

  .main-nav {
    display: block;
  }

  .nav-link:hover {
    color: var(--darker);
    background-color: var(--accent);
  }

  .hamburger-toggle {
    display: none;
  }

  .contact-btn::before {
    content: "";
    position: absolute;
    left: 0%;
    bottom: 0%;
    width: 280%;
    height: 280%;
    background-color: var(--accent);
    border-radius: 50%;
    transform: translate(-50%, 50%) scale(0);
    transition: transform 0.6s cubic-bezier(0.35, 0, 0, 1);
    z-index: 0;
  }

  .contact-btn:hover::before {
    transform: translate(-50%, 50%) scale(1.1);
  }

  .contact-btn:hover {
    color: var(--dark);
    animation: contact-delayed-bg 0s 0.3s forwards;
  }

  .contact-btn:hover i {
    color: var(--dark);
    transform: translateX(2px);
  }

  .hero-title {
    font-size: 90px;
  }
  .hero-subtitle {
    max-width: 720px;
  }

  .btn::before {
    content: "";
    position: absolute;
    left: 0%;
    bottom: 0%;
    width: 280%;
    height: 280%;
    background-color: var(--dark);
    border-radius: 50%;
    transform: translate(-50%, 50%) scale(0);
    transition: transform 0.6s cubic-bezier(0.35, 0, 0, 1);
    z-index: 0;
  }

  .btn:hover::before {
    transform: translate(-50%, 50%) scale(1);
  }

  .btn:hover {
    color: #fff;
    animation: delayed-bg 0s 0.4s forwards;
  }

  .btn:hover i {
    color: #fff;
    transform: translateX(2px);
  }

  .oferta-h {
    text-align: start;
  }

  .product-p {
    width: 400px;
  }

  .product-test {
    flex-direction: row;
  }

  .product-text {
    width: 55%;
    text-align: start;
  }

  .product-text-right {
    width: 60%;
    text-align: end;
  }

  .product-right {
    flex-direction: row-reverse;
    text-align: end;
  }

  .product-photo-test {
    width: 45%;
    /* width: 50%; */
    height: 500px;
    background-size: cover;
  }

  .product-photo-test:hover {
    width: 70%;
    border-radius: 20px;
  }

  .product-text:hover {
    width: 70%;
  }

  .product-text-right:hover {
    width: 70%;
  }

  .about-h {
    font-size: 150px;
  }

  .about-container-p {
    margin-top: 10px;
    margin-bottom: 100px;
    text-align: start;
  }

  .certificates {
    flex-direction: row;
  }

  .image-text-section {
    flex-direction: row;
  }

  .dostawa-text {
    text-align: start;
  }

  .faq-h {
    text-align: start;
  }

  .contact {
    text-align: start;
  }

  .contact-list {
    flex-direction: row;
    gap: 0;
  }

  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-logo-wrap {
    margin-bottom: 0;
  }

  .footer-nav {
    flex-direction: row;
  }
}
