/*
Theme Name: Illuminize Custom Theme
Author: Milena Petkanova <milena@gargamena.com>
Version: 1.0.0
*/

:root {
  --white-color: #FFFFFF;
  --black-color: #000000;
  --dark-color: #0A0D0A;
  --grey-color: #F0F0F0;
  --container-padding: 15px;
}

::selection {
  background-color: var(--dark-color);
  color: var(--white-color);
}
::-moz-selection {
  background-color: var(--dark-color);
  color: var(--white-color);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--white-color);
}
::-webkit-scrollbar-thumb {
  background: var(--dark-color);
}
/* Firefox */
* {
  /* scrollbar-width: thin; */
  scrollbar-color: var(--dark-color) var(--white-color);
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background: var(--white-color);
  color: var(--dark-color);
  font-family: 'Titillium Web', Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 160%;
  letter-spacing: 0px;
}

@media (max-width: 1025px) {
  body {
    font-size: 16px;
  }
}

main {
  min-height: 100vh;
}

section {
  position: relative;
}

b,
strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

a,
button {
  cursor: pointer;
  transition: color 0.3s ease-in-out;
}

input,
textarea {
  width: 100%;
  background: transparent;
  border-bottom: 1px solid var(--dark-color);
  padding: 8px 18px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(0, 0, 0, 0.5);
  font-size: 16px;
  text-transform: capitalize;
}

figcaption {
  font-size: 16px;
  text-align: right;
}

iframe {
  min-width: 100vw;
  min-height: 100vh;
  width: 100%;
  height: 100%;
  position: absolute;
}

.mejs-controls {
  display: none !important;
  visibility: hidden !important;
}


/* footer */

.footer {
  opacity: 0;
  width: 100%;
  height: auto;
  overflow: hidden;
  padding: 70px 0;
}

.footer__bgr-img {
  opacity: 0.8;
  transform: rotate(180deg);
  object-fit: cover;
  object-position: bottom;
  position: absolute;
  bottom: 0;
  top: 0;
}

.footer__column {
  position: relative;
  max-width: 220px;
}

.footer__copyright {
  position: absolute;
  bottom: -80px;
  right: 0;
  font-size: 60%;
}

.footer__contact-text {
  max-width: 75%;
  font-size: 16px;
}

.footer .u-btn.is-minimal:not(.footer__logo) {
  padding: 10px 0;
}

@media (max-width: 1025px) {
  .footer {
    height: 100vh;
    padding: 40px 0;
  }

  .footer__container {
    gap: 60px;
    justify-content: center;
    align-content: center;
  }

  .footer__column {
    max-width: 100%;
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .footer__column:nth-child(1) {
    gap: 30px;
  }

  .footer__column:nth-child(2), 
  .footer__column:nth-child(3) {
    width: 40%;
  }

  .footer__contact-text {
    width: 50%;
  }

  .footer__bgr-img {
    height: 100%;
    object-position: 48%;
  }

  .footer .u-mb-10 {
    margin-bottom: 0;
  }

  .footer__copyright {
    bottom: -40px;
  }
}

/* logo */

.logo__img {
  width: auto;
  height: 20px;
}

/* header */

.header {
  z-index: 1;
  position: fixed;
  top: 0;
  width: 100%;
  border: none;
  background: transparent;
  transition: transform 0.2s ease-in-out;
  padding: 12px 0;
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header.is-primary {
  background: var(--white-color);
  border-bottom: 1px solid var(--grey-color);
}

.header.is-primary .nav__btn.u-btn {
  color: var(--dark-color);
} 

.header.is-primary .logo__img path {
  fill: var(--dark-color);
}

@media (max-width: 1025px) {
  .header {
    z-index: 9;
    padding: 8px 0;
  }

  .header__logo, 
  .header__burger-btn {
    z-index: 10;
  }

  .header .u-burger__line {
    background-color: var(--white-color);
  }

  .header.is-primary .u-burger__line {
    background-color: var(--dark-color);
  }
}

/* nav */

.nav__btn.u-btn {
  padding: 4px 0;
  color: var(--white-color);
}

@media(max-width: 1025px) {
  .nav {
    display: none;
    z-index: 8;
    width: 100%;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    transition: top 0.4s ease-in-out;
    background: var(--white-color);
    box-shadow: 0px 5px 10px rgba(117, 0, 36, 0.05);
    padding: 60px 24px 60px 24px;
  }
  
  .nav__container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
  }

  .nav * {
    color: var(--dark-color);
  }

  .nav__btn.u-btn.is-minimal {
    display: block;
    width: 100%;
    font-size: 20px;
    text-align: left;
    color: var(--dark-color);
    padding: 30px;
  }
}

/* nav__submenu */

.nav__submenu {
  display: none;
  width: fit-content;
  position: absolute;
  right: 0;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white-color);
  border-bottom: 1px solid var(--grey-color);
  border-radius: 4px;
  padding: 6px 0;
}

.nav__submenu-wrapper {
  position: relative;
}

.nav__submenu * {
  color: var(--black-color);
}

.nav__submenu .nav__submenu-btn.u-btn {
  display: block;
  width: 100%;
  min-width: 180px;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--grey-color);
  gap: 12px;
}

.nav__submenu li:last-of-type .nav__submenu-btn.u-btn {
  border-bottom: none;
}

@media (max-width: 1025px) {
  .nav__submenu {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
  }
  
  .nav__submenu-wrapper {
    width: 100%;
  }

  .nav__submenu-btn.u-btn {
    font-size: 14px;
    text-transform: uppercase;
    text-align: left;
    padding: 20px;
    padding-left: 50px;
  }
}

/* intro-section */

.intro-section {
  height: 200vh;
}

.intro-section__content {
  z-index: 3;
  height: 100vh;
  width: 100%;
  position: absolute;
  top: 0;
}

.intro-section__content-heading {
  color: var(--white-color);
  max-width: 1000px;
  font-size: 90px;
}

.intro-section__overlay {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  height: 200vh;
  width: 100%;
  background: var(--black-color);
  pointer-events: none;
}

@media (max-width: 1025px) {
  .intro-section__content-heading {
    font-size: 56px;
  }
}

/* partners section */

.partners-section {
  position: relative;
}

.partners-section__content.u-marquee {
  position: absolute;
  right: 0;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 80%;
}

.partners-section__img {
  filter: grayscale(100%) contrast(200%);
}

/* project-preview */

.project-preview {
  width: 100%;
  overflow: hidden;
  margin-bottom: 120px;
}

.project-preview.is-half {
  width: 48%;
}

.project-preview:not(.is-full):not(.is-half):nth-child(3n+1),
.project-preview:not(.is-full):not(.is-half):nth-child(3n+2) {
  width: 48%;
}

.project-preview:not(.is-full):not(.is-half):nth-child(3n) {
  width: 100%;
}

.project-preview__img-wrapper {
  max-height: 85vh;
  overflow: hidden;
}

.project-preview__img {
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16/9;
  transition: all .3s ease;
}

.project-preview__video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.project-preview__video {
  width: 100%;
  height: auto;
  display: block;
  transition: all .3s ease;
}

.project-preview:hover .project-preview__img,
.project-preview:hover .project-preview__video {
  transform: scale(1.1);
}

@media (max-width: 1025px) {
  .project-preview {
    margin-bottom: 80px;
  }

  .project-preview.is-half {
    width: 100%;
  }

  .project-preview .u-heading-2 {
    font-size: 22px;
  }
}

/* project-single */

.project-single__body {
  margin-top: calc(100vh - 50px);
}

.project-single__content {
  padding-top: 60px;
}

.project-single__content-item {
  width: 70%;
  margin: 0 auto;
  margin-bottom: 180px;
}

.project-single__content-item.is-left  {
  margin-left: 0;
}

.project-single__content-item.is-right {
  margin-left: auto;
  margin-right: 0;
}

.project-single__content-item.is-full {
  width: 100%;
}

.project-single__nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 0 120px;
}

.project-single__nav a:hover * {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.eltdf-prev-icon,
.eltdf-next-icon {
  display: inline-block;
  width: 42px;
  height: 42px;
  position: relative;
}

.eltdf-top-part,
.eltdf-bottom-part {
  display: block;
  width: 2px;              
  height: 25px;            
  background-color: var(--dark-color);  
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Next (→) */
.eltdf-prev-icon .eltdf-top-part {
  top: 0;
  transform: translateX(-50%) rotate(45deg);
}
.eltdf-prev-icon .eltdf-bottom-part {
  bottom: 0;
  transform: translateX(-50%) rotate(-45deg);
}

/* Prev (←) */
.eltdf-next-icon .eltdf-top-part {
  top: 0;
  transform: translateX(-50%) rotate(-45deg);
}
.eltdf-next-icon .eltdf-bottom-part {
  bottom: 0;
  transform: translateX(-50%) rotate(45deg);
}

/* center dots: 2x2 */
.project-single__nav-center {
  margin-bottom: 24px;
}

/* small 2x2 grid of dots */
.project-single__nav-dots {
  display: inline-grid;
  grid-template-columns: repeat(2, 6px);
  grid-template-rows: repeat(2, 6px);
  gap: 8px;
  align-items: center;
  justify-items: center;
}

.project-single__nav-dots span {
  display: block;
  width: 8px;
  height: 8px;
  background: #222;
  border-radius: 50%;
}

@media (max-width: 1025px) {
  .project-single__content-item {
    width: 100%;
    margin-bottom: 120px;
  }
}

/* cookies library glowCookies */

.glowCookies__banner.glowCookies__banner__2 .btn__section button {
  text-align: center;
  font-weight: 500;
  border-radius: 30px;
}

.glowCookies__banner.glowCookies__banner__2>h3 {
  margin-bottom: 8px;
}

/* presentation page */

body.single-presentations {
  overflow: hidden;
}

body.single-presentations .header,
body.single-presentations .footer{
  display: none;
}

body.is-mobile-menu-open {
  overflow: hidden;
  height: 100vh; /* prevents some iOS edge cases */
}

/* contacts form plugin */

.wpcf7 .wpcf7-form .wpcf7-form-control {
  margin-bottom: 16px;
}

.wpcf7 .wpcf7-not-valid-tip {
  font-size: 12px;
  margin-top: -18px;
}

.wpcf7 form .wpcf7-response-output {
  margin: 0;
  margin-top: -24px;
  max-width: 420px;
}

.wpcf7 input[type="checkbox"] {
  -webkit-appearance: checkbox !important;
  -moz-appearance: checkbox !important;
  -o-appearance: checkbox !important;
  width: auto;
  transform: scale(1.5);
}

.wpcf7 input[type="checkbox"] {
  accent-color: var(--white-color) !important;
}

.wpcf7 .wpcf7-list-item > label {
  display: flex;
  gap: 10px;
  margin: 0px 0 0px;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item-label {
  cursor: pointer;
  font-size: 16px;
}

.wpcf7 .wpcf7-acceptance .wpcf7-list-item-label a {
  text-decoration: underline;
}

/* custom cursor on project-preview */

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: black;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease, opacity 0.2s ease;
  z-index: 9999;
  opacity: 0;
}

.custom-cursor .u-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 9px;
  opacity: 0;
  transition: opacity 0.25s ease;
  white-space: nowrap;
  pointer-events: none;
}

.custom-cursor.active {
  width: 80px;
  height: 80px;
  opacity: 1;
}

.custom-cursor.active span {
  opacity: 1;
}

/* accordion */

.accordion-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  padding: 12px 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.accordion-header:hover {
  opacity: 0.8;
}

.accordion-content {
  display: none;
  padding: 0 12px;
  padding-bottom: 12px;
}

.accordion-content p {
  font-size: 16px;
  margin-bottom: 12px;
}

.accordion-header::after {
  content: "→";
  /* content: url('./assets/images/icon-arrow-long-right.svg'); */
  transition: transform 0.3s;
}

.accordion-header.active::after {
  transform: rotate(90deg);
}

