/* Theme Name: forged-wheels
Author: Ziggy
Author URI: https://www.weareknights.be/
Description: Description
Version: 1.0.0
*/

.site-main {
  background: var(--bs-dark);
  color: var(--bs-light);
}

/* header */

.logo a {
  background-image: url(img/logo.svg);
  background-repeat: no-repeat;
  display: block;
  text-indent: -9999px;
  overflow: hidden;
  width: 112px;
  height: 35px;
}

.site-branding {
  padding-left: 20px;
}

.main-navigation {
  padding-right: 20px;
}

.site-branding,
.menu-toggle {
  position: relative;
  top: 35px;
  transition: 0.3s ease;
}

.background .site-branding,
.background .menu-toggle {
  top: -100px;
}

.home-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.background {
  background-image: url(img/pd-banner.webp);
  background-size: cover;
  background-repeat: no-repeat;
  height: 300px;
}

.background::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: #fff;
  clip-path: polygon(0 30%, 100% 100%, 0 100%);
  z-index: 2;
}

li {
  list-style-type: none;
}

/* MENU BUTTON */

.menu-toggle {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  padding-right: 45px;
  cursor: pointer;
  display: block;
  height: 30px;
}

/* 3 lijnen */

.menu-toggle::before,
.menu-toggle::after,
.menu-toggle span {
  content: "";
  position: absolute;
  right: 0;
  width: 40px;
  height: 2px;
  background: #fff;
  transition: 0.3s ease;
}

.menu-toggle::before {
  top: 7px;
}

.menu-toggle span {
  top: 14px;
  right: 10px;
}

.menu-toggle::after {
  top: 21px;
}

/* MENU */

#primary-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 350px;
  height: 100vh;
  background: #000;
  z-index: 999;
  transition: 0.4s ease;
  padding: 80px 60px;
}

/* open state */

#primary-menu.active {
  right: 0;
}

/* links */

#primary-menu li {
  margin-bottom: 25px;
}

#primary-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
}

/* CLOSE BUTTON */

.menu-close {
  position: fixed;
  top: 50px;
  right: 15px;
  z-index: 1001;
  background: transparent;
  border: 0;
  color: var(--bs-danger);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
}

/* toon X wanneer menu open is */

.menu-close.active {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.4s;
}

/* Hero block */

.hero {
  position: relative;
}

#heroSlider,
.hero-carousel,
.hero-item,
.hero-slide {
  min-height: 100vh;
}

.hero-slide {
  position: relative;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-inner {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: center;

  min-height: 100vh;

  gap: 30px;
  color: white;
}

.hero-logo {
  width: 100%;
  max-width: 420px;
}

.hero-content {
  max-width: 650px;
}

.hero-content h1 {
  font-size: 72px;
  font-weight: 700;
  line-height: 0.95;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 0;
}

/* FOOTER */

.site-footer {
  background: linear-gradient(90deg, #df081e 0%, #220000 45%, #000000 100%);
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.site-info {
  padding-left: 20px;
}

.footer-menu {
  margin-right: 20px;
}

.footer-menu ul {
  display: flex;
  gap: 20px;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
}

.site-info p,
.footer-menu p,
.footer-menu ul {
  margin: 0;
}

.product-page {
  min-height: 100vh;
  padding: 80px 0;
}

/* TITLES */

.product-title span {
  font-size: 45px;
}

.product-title p {
  font-size: 65px;
  font-weight: 900;
}

.product-title h1 {
  font-size: 50px;
  font-weight: 900;
}

/* ARROWS */

.custom-arrow {
  font-size: 90px;
  color: black;
  opacity: 0.5;
  cursor: pointer;
}

/* THUMBNAILS */

.custom-thumbs {
  position: relative;
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.custom-thumbs button {
  width: 120px;
  height: auto;
  border: 0;
  background: transparent;
  opacity: 0.5;
}

.custom-thumbs img {
  width: 120px;
  height: 120px;
}

.imageContent {
  margin: 150px 0;
}

.wp-block-image {
  margin-bottom: 50px;
}

.wp-block-image img {
  width: 100%;
  max-width: 1120px;
  height: auto;
  display: block;
  margin: auto;
}

.sizeContainer {
  width: 100%;
  max-width: 1120px;
  background-color: #111;
  margin: auto;
  position: relative;
  padding-top: 80px;
  padding-left: 70px;
  padding-right: 70px;
  padding-bottom: 70px;
  color: white;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
  margin-top: 100px;
  margin-bottom: 100px;
}

/* rode hoek image */
.sizeHead {
  background-image: url(img/sizeHead.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 70px;
  position: absolute;
  top: -70px;
  left: 0;
}

/* titel */
.sizeContent h2 {
  color: #c9a56a;
  font-size: 28px;
  margin-bottom: 30px;
  letter-spacing: 2px;
}

/* elke rij */
.sizeRow {
  display: flex;
  align-items: center;
  border-top: 1px solid #444;
  padding-top: 18px;
  padding-bottom: 18px;
}

/* laatste lijn */
.sizeRow:last-child {
  border-bottom: 1px solid #444;
}

/* inch links */
.inch {
  width: 80px;
  color: #c9a56a;
  font-weight: bold;
  font-size: 22px;
}

/* maten rechts */
.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* nummers */
.sizes span {
  color: #ddd;
  font-size: 20px;
}

.sizes span::after {
  content: "|";
  margin-left: 14px;
  margin-right: 5px;
}

.sizes span:last-child::after {
  content: "";
}

.remarkSection {
  margin-top: 50px;
  color: #f1f1f1;
  font-size: 16px;
  line-height: 1.8;
}

.gold {
  color: #c8a56a;
  font-weight: bold;
}

.warning {
  color: red;
}

.sizeBottom {
  background-image: url(img/sizeBottom.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 70px;
  position: absolute;
  bottom: -70px;
  left: 0;
}

/* Info block homepage */

.infoBlock {
  padding: 120px 0;
  margin: 200px 0;
  overflow: hidden;
}

.infoBlockText p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 0;
}

.infoBlockImage img {
  width: 100%;
  max-width: 500px;
}

/* wheel split homepage */

.wheelSplitSectie {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* layers */

.splitLayer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* LEFT */

.leftLayer {
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  z-index: 2;
}

/* RIGHT */

.rightLayer {
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
  z-index: 1;
}

/* backgrounds */

.splitBg {
  position: absolute;
  inset: 0;
}

.leftBg {
  background: linear-gradient(to right, #3d3d3d, #111);
}

.rightBg {
  background-image: url(img/two-bg.png);
  background-size: cover;
  background-position: center;
}

/* WHEELS */

.wheelImage {
  position: absolute;
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  z-index: 5;
}

.wheelImage img {
  width: 650px;
  max-width: unset;
}

/* TEXT */

.wheelText {
  position: absolute;
  top: 50%;
  color: var(--white);
  transform: translateY(-50%);

  display: flex;
  align-items: center;

  z-index: 10;
}

.leftText {
  left: 180px;
}

.rightText {
  right: 180px;
}

/* NUMBER */

.leftText .number {
  margin-right: -10px;
}

.number {
  font-size: 110px;
  font-weight: 700;
  line-height: 1;
}

/* VERTICAL */

.verticalText {
  writing-mode: vertical-rl;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* TITLE */

.title {
  font-size: 50px;
  font-weight: 700;
  line-height: 0.9;
  max-width: 200px;
  color: white;
}

/* PRODUCTION SECTION */

.productionSection {
  position: relative;
  overflow: hidden;
  background: #000;
  min-height: 2400px;
  padding: 250px 0 220px;
}

.carBlueprint {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/car.png");
  background-repeat: no-repeat;
  z-index: 1;
}

.productionSection::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    rgba(0, 0, 0, 0.9) 100%
  );

  z-index: 2;
}

.container {
  position: relative;
  z-index: 10;
}

.productionCard {
  position: relative;
  padding: 50px;
  background: linear-gradient(
    90deg,
    rgba(30, 30, 30, 0.9) 0%,
    rgba(10, 10, 10, 0.9) 100%
  );
  backdrop-filter: blur(6px);
  border-radius: 10px;
  clip-path: polygon(100% 0%, 100% 90%, 70% 90%, 55% 100%, 0% 100%, 0% 0%);
  margin-left: -150px;
  margin-right: 150px;
}

.productionHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 25px;
}

.productionHeader h2 {
  font-size: 35px;
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
}

.productionLine {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  margin-bottom: 30px;
}

.productionText p {
  font-size: 18px;
  line-height: 1;
  margin-bottom: 25px;
  max-width: 500px;
}

.wheelArea {
  position: absolute;
  left: 40.25%;
  width: 390px;
  height: 390px;
  z-index: 5;
  margin-top: 40px;
}

.wheel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 405px;
  object-fit: contain;
}

.wheel1 {
  opacity: 1;
}

.wheel2,
.wheel3 {
  opacity: 0;
}

.productionWatermark {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: 1400px;
  height: 260px;
  background-image: url("img/design-logo.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: 1;
  pointer-events: none;
}

.productionWatermark img {
  width: 100%;
}

.qualityCard {
  position: absolute;
  right: 150px;
  bottom: 25%;
  width: 100%;
  max-width: 550px;
  padding: 50px;
  background: linear-gradient(
    90deg,
    rgba(30, 30, 30, 0.9) 0%,
    rgba(10, 10, 10, 0.9) 100%
  );
  backdrop-filter: blur(6px);
  border-radius: 10px;
  clip-path: polygon(100% 0%, 100% 100%, 45% 100%, 30% 90%, 0% 90%, 0% 0%);
  z-index: 10;
}

.qualityHeader h2 {
  font-size: 35px;
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;

  margin-bottom: 25px;
}

@media screen and (max-width: 768px) {
  /* GLOBAL */

  body {
    overflow-x: hidden;
  }

  section {
    overflow: hidden;
  }

  /* HEADER */

  .background {
    height: 150px;
  }

  .background::after {
    clip-path: polygon(0 80%, 100% 100%, 0 100%);
  }

  .logo a,
  nav {
    margin-top: 10px;
  }

  .background .site-branding,
  .background .menu-toggle {
    top: -40px;
  }

  /* HERO */

  #heroSlider,
  .hero-carousel,
  .hero-item,
  .hero-slide,
  .hero-inner {
    min-height: 40vh;
  }

  .hero-slide {
    background-position: center center;
    padding: 120px 20px 80px;
  }

  .hero-inner {
    justify-content: center;
    gap: 20px;
  }

  .hero-logo {
    max-width: 180px;
    margin: 0 auto;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 38px;
    line-height: 1;
  }

  .hero-content p {
    font-size: 14px;
    line-height: 1.8;
  }

  /* PRODUCT PAGE */

  .product-page {
    padding-top: 30px;
  }

  .product-title {
    margin-bottom: 40px;
  }

  .product-title p {
    font-size: 42px;
    line-height: 1;
  }

  .product-title span {
    font-size: 24px;
  }

  .product-title h1 {
    font-size: 24px;
  }

  .rim {
    width: 150px;
    height: 150px;
  }

  /* CONTENT */

  .imageContent {
    margin: 40px 0;
  }

  .wp-block-image {
    margin-bottom: 25px;
  }

  .custom-thumbs {
    gap: 10px;
    flex-wrap: wrap;
  }

  .custom-thumbs img {
    width: 70px;
    height: 70px;
  }

  /* SIZE TABLE */

  .sizeContainer {
    padding: 35px 18px 40px;
    margin: 50px 0;
  }

  .sizeHead {
    height: 25px;
    top: -25px;
    background-size: cover;
  }

  .sizeBottom {
    height: 25px;
    bottom: -25px;
    background-size: cover;
  }

  .sizeContent h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .sizeRow {
    align-items: flex-start;
    gap: 10px;
    padding: 14px 0;
  }

  .inch {
    width: 45px;
    font-size: 15px;
    flex-shrink: 0;
  }

  .sizes {
    flex-wrap: wrap;
    gap: 0;
    line-height: 1.8;
  }

  .sizes span {
    font-size: 12px;
  }

  .sizes span::after {
    margin-inline: 4px;
  }

  .remarkSection {
    margin-top: 30px;
    font-size: 12px;
    line-height: 1.9;
  }

  .gold {
    font-size: 13px;
  }

  /* INFO BLOCK */

  .infoBlock {
    padding: 70px 0;
    margin: 50px 0;
  }

  .infoBlockText {
    text-align: center;
  }

  .infoBlockText p {
    font-size: 14px;
    line-height: 1.8;
  }

  .infoBlockImage {
    text-align: center;
  }

  .infoBlockImage img {
    max-width: 260px;
  }

  /* WHEEL SPLIT  */

  .wheelSplitSectie {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  /* beide vlakken */

  .leftSide,
  .rightSide {
    width: 100%;
    height: 50vh;
    min-height: 420px;

    position: relative;
    overflow: visible;

    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* tekst */

  .leftText,
  .rightText {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    margin: 0;
    z-index: 30;

    display: flex;
    align-items: center;
    justify-content: center;
  }

  .wheelText {
    width: 100%;
  }

  .rightText .number {
    margin-right: -5px;
  }

  .number {
    font-size: 60px;
    margin: 0;
    margin-bottom: 15px;
  }

  .verticalText {
    font-size: 14px;
    letter-spacing: 1px;
    margin: 0 5px;
    margin-top: -10px;
  }

  .title {
    font-size: 28px;
    line-height: 1;
    max-width: 120px;
  }

  /* afbeeldingen */

  .rightImage {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
  }

  .leftImage {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
  }

  /* bovenste velg */

  .rightImage {
    bottom: -140px;
    top: auto;
  }

  /* onderste velg */

  .leftImage {
    top: -140px;
    bottom: auto;
  }

  .rightImage img,
  .leftImage img {
    width: 280px;
    max-width: unset;
  }

  .leftSide,
  .rightSide {
    overflow: hidden;
  }

  .productionSection {
    min-height: auto;
    padding: 80px 0;
    overflow: hidden;
  }

  .carBlueprint {
    background-size: contain;
    background-position: center top;
  }

  .productionCard{
    margin: 0 15px;
    padding: 30px;
    max-width: none;
  }

  .productionCard {
    margin-bottom: 60px;
  }

  .qualityCard {
    position: relative;
    right: auto;
    left: auto;
    margin: 100px auto 0;
    max-width: 90%;
  }

  .wheelArea {
    position: relative;
    left: auto;
    top: auto;
    margin: 40px auto;
    width: 260px;
    height: 260px;
    transform: none !important;
  }

  .wheel {
    max-width: 100%;
  }

  .productionHeader h2 {
    font-size: 26px;
  }

  .productionText p,
  .qualityCard p {
    font-size: 14px;
    line-height: 1.8;
  }

  .productionWatermark {
    width: 90%;
    height: 80px;
    bottom: 0;
  }

  /* FOOTER */

  .site-footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    text-align: center;
  }

  .site-info {
    padding-left: 0;
  }

  .footer-menu {
    margin-right: 0;
  }

  .footer-menu ul {
    flex-direction: column;
    gap: 10px;
    padding-left: 0;
  }
}

@keyframes spinWheel {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.rightImage img,
.leftImage img {
  animation: spinWheel 200s linear infinite;
}
