*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  font-size: 62.5%;
}

body {
  background-color: #000000;
  box-sizing: border-box;
}

main {
  margin: auto;
}

a,
a:active,
a:hover {
  text-decoration: none;
}

.heading-1 {
  font: 600 96px / normal "sf-pro-display-regular", sans-serif, open-sans;
  text-transform: none;
  color: #ffffff;
}

.heading-2 {
  font: 600 64px / normal "sf-pro-display-regular", sans-serif, open-sans;
  text-transform: none;
  color: #ffffff;
}
@media (max-width: 56.25em) {
  .heading-2 {
    font-size: 32px;
  }
}

.heading-3 {
  font: 400 24px / normal "sf-pro-display-regular", sans-serif, open-sans;
  text-transform: none;
  color: #ffffff;
}

.heading-3-sbold {
  font: 600 24px / normal "sf-pro-display-regular", sans-serif, open-sans;
  text-transform: none;
  color: #ffffff;
}

.paragraph {
  font: 500 16px/10px "sf-pro-display-regular", sans-serif, open-sans;
  text-transform: none;
  color: #ffffff;
}

.nav-font {
  font: 600 18px/10px "sf-pro-display-regular", sans-serif, open-sans;
  text-transform: none;
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  padding-bottom: 1px;
}
.nav-font:hover {
  border-bottom: 1px solid;
}

.btn-txt {
  font: 600 12px/100% "sf-pro-display-regular", sans-serif, open-sans;
  text-transform: none;
  color: #ffffff;
}

.close-icon {
  background-image: url("/src/img/icons/close-icon.png");
  background-repeat: no-repeat;
  background-size: cover;
  height: 30px;
  width: 30px;
}

@font-face {
  font-family: "sf-pro-display-regular";
  src: url("/src/fonts/sf_pro_display/SF-Pro-Display-Regular.woff")
    format("woff");
}

.btn-num {
  display: block;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.btn-num:focus {
  outline: none;
}

.btn {
  display: block;
  padding: 15px;
  width: 168px;
  border: 1px solid #ffffff;
  background: none;
  cursor: pointer;
  text-align: center;
}
.btn:focus {
  outline: none;
}

.visible {
  visibility: visible;
}

.close-button {
  background-image: url("/src/img/icons/close-icon.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 40px 30px;
  position: absolute;
  top: 10px;
  right: 50px;
  width: 50px;
  height: 50px;
  background-color: black;
  opacity: 0.8;
  border-radius: 5px;
  cursor: pointer;
}
@media (max-width: 56.25em) {
  .close-button {
    right: 10px;
    opacity: 1;
  }
}

.modal {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal iframe {
  width: 100%;
  height: 100%;
}

.header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 0;
  z-index: 10;
  align-items: center;
  height: 7vh;
  background-color: #000000;
}
.header__nav {
  position: relative;
}
.header__nav .burger {
  display: none;
}
@media (max-width: 56.25em) {
  .header__nav .burger {
    display: block;
    background-image: url("/src/img/icons/burger-white.png");
    background-position: right top;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
  }
}
.header__nav .close-icon {
  display: none;
}
@media (max-width: 56.25em) {
  .header__nav .close-icon {
    background-position: right top;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 101;
  }
}
.header__nav ul {
  float: right;
  display: flex;
  list-style: none;
}
@media (max-width: 56.25em) {
  .header__nav ul {
    display: none;
    flex-direction: column;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: black;
    justify-content: center;
  }
}
.header__nav ul li {
  margin-left: 20px;
}
@media (max-width: 56.25em) {
  .header__nav ul li {
    margin-bottom: 50px;
    text-align: center;
  }
}
.header__nav ul li > a {
  font-size: 24px;
}

.logo-box {
  margin-top: 7px;
  z-index: 200;
}
.logo-box img {
  height: 30px;
}

.index {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.index .swiper-container {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.index__carousel-track {
  width: 100%;
  height: 100%;
}

.index__carousel-track__slide {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.index__carousel-track__slide .heading-2 {
  font-size: 24px;
}
.index__carousel-track__slide .video-title {
  text-align: left;
  position: absolute;
  left: 0;
  padding: 20px;
  z-index: 2;
}
.index__carousel-track__slide .project-subtitle {
  font-size: 18px;
  margin-top: 8px;
  opacity: 0.8;
}
.index__carousel-track__slide--video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 56.25em) {
  .index__carousel-track {
    height: 100% !important;
  }

  .index__carousel-track__slide--video {
    height: 100%;
    width: 100%;
  }

  .index__carousel-track__slide .video-title {
    padding: 15px;
  }

  .index__carousel-track__slide .project-subtitle {
    font-size: 16px;
    margin-top: 5px;
  }
}

.index__video-nav {
  position: fixed;
  z-index: 10;
  bottom: 0;
  width: 100%;
  display: flex;
  height: 7vh;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.wrapper-main {
  padding: 0 3%;
}
@media (max-width: 56.25em) {
  .wrapper-main {
    padding: 0 10px;
  }
}

.swiper-container {
  height: 100vh;
}

.swiper-slide {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

img.swiper-pagination-bullet {
  width: 32px;
  height: 32px;
  align-self: center;
  margin-right: 40px;
  /* margin-top: 30px; */
  cursor: pointer;
  border-radius: 0;
  background-color: transparent;
}

img.swiper-pagination-bullet-active {
  border-radius: 0;
  color: #fff;
  background: transparent;
}
img.swiper-pagination-bullet-active:active,
img.swiper-pagination-bullet-active:hover,
img.swiper-pagination-bullet-active:focus {
  border: none;
  outline: none;
}

.visible-flex {
  display: flex !important;
}

.gallery {
  display: grid;
  width: 100%;
  margin: auto;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 0;
  margin-top: 10vh;
}
@media (max-width: 56.25em) {
  .gallery {
    grid-template-columns: 1fr;
  }
}
.gallery__card {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.gallery__card .animated {
  background-repeat: no-repeat;
  background-size: cover;
}
.gallery__card .static {
  width: 100%;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery__card .static:hover {
  opacity: 0;
}
.gallery__card .static h2 {
  position: absolute;
  color: #ffffff;
  font-size: 6rem;
  line-height: 1;
  font-weight: normal;
  letter-spacing: 0.1rem;
  padding: 20px;
  text-align: center;
}
@media (max-width: 56.25em) {
  .gallery__card .static h2 {
    font-size: 3rem;
    font-weight: 100;
  }
}
.gallery__card img {
  width: 100%;
  height: auto;
  background-repeat: no-repeat;
  background-size: cover;
}

.contacts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100vw;
  height: 100vh;
}
@media (max-width: 56.25em) {
  .contacts {
    height: auto;
  }
}
.contacts h1 {
  color: #bdbdbd;
  letter-spacing: 10px;
  margin-bottom: 120px;
}
@media (max-width: 56.25em) {
  .contacts h1 {
    margin: 110px 0 50px 0;
  }
}
.contacts div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 56.25em) {
  .contacts div {
    display: flex;
    flex-direction: column;
  }
}
.contacts div > div {
  margin-bottom: 40px;
}
@media (max-width: 56.25em) {
  .contacts div > div p,
  .contacts div > div a {
    line-height: 100%;
  }
}
.contacts div .left-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.contacts div .left-container > * {
  margin-top: 30px;
}
.contacts div .left-container > *:first-child {
  margin-top: 0;
}
.contacts div .left-container h3 {
  color: #ffffff;
}
.contacts div .center-container {
  display: flex;
  flex-direction: column;
}
.contacts div .center-container > * {
  margin-top: 30px;
}
.contacts div .center-container > *:first-child {
  margin-top: 0;
}
.contacts div .center-container a:hover {
  border-bottom: 1px solid #ffffff;
}
.contacts div .right-container {
  display: flex;
  flex-direction: column;
}
.contacts div .right-container > * {
  margin-top: 10px;
}
.contacts div .right-container a {
  color: #bdbdbd;
  line-height: 50%;
}
.contacts div .right-container a:hover {
  color: #ffffff;
}

.under-construction {
  width: 100vw;
  height: 100vh;
  background-image: url("/src/img/temp/under-const-bg.jpg");
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
.under-construction img {
  width: 300px;
  height: auto;
}
.under-construction div {
  padding: 50px 80px;
  background-color: black;
  opacity: 0.6;
  text-align: center;
}
.under-construction div h1 {
  color: white;
  margin-bottom: 20px;
}
.under-construction div a {
  font-size: 48px;
  color: white;
  text-decoration: underline;
}

/* Project Page Styles */
.project-page {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background-color: #000000;
  color: #ffffff;
}

.project-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    transparent 100%
  );
}

.hamburger-menu {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger-menu span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

.hamburger-menu:hover span {
  transform: scaleX(1.1);
}

.project-header .logo img {
  height: 32px;
  width: auto;
}

.world-button {
  font: 600 14px / normal "sf-pro-display-regular", sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-player video,
.video-player iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 20;
}

.nav-arrow {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, opacity 0.3s ease;
}

.nav-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  z-index: 30;
}

.project-title h1 {
  font: 600 36px / normal "sf-pro-display-regular", sans-serif;
  margin-bottom: 8px;
}

.project-title .brand {
  font: 400 14px / normal "sf-pro-display-regular", sans-serif;
  opacity: 0.8;
  margin-bottom: 4px;
}

.project-title .subtitle {
  font: 500 18px / normal "sf-pro-display-regular", sans-serif;
}

.video-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-controls.visible {
  opacity: 1;
}

.video-controls button {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  transition: opacity 0.3s ease;
}

.video-controls button:hover {
  opacity: 0.8;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
}

.progress-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: #ffffff;
  transition: width 0.1s linear;
}

.time-display {
  font: 400 12px / normal "sf-pro-display-regular", sans-serif;
  opacity: 0.8;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  padding: 20px;
  font: 400 14px/1.5 "sf-pro-display-regular", sans-serif;
  z-index: 50;
}

.cookie-banner a {
  color: #ffffff;
  text-decoration: underline;
}

.cookie-banner button {
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 8px 16px;
  font: 500 12px / normal "sf-pro-display-regular", sans-serif;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookie-banner button:hover {
  background: #e0e0e0;
}

.cookie-banner .copyright {
  font: 400 12px / normal "sf-pro-display-regular", sans-serif;
  opacity: 0.7;
}

@media (max-width: 56.25em) {
  .project-page {
    height: 100dvh;
  }

  .project-header {
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.8);
  }

  .hamburger-menu {
    display: none;
  }

  .project-header .logo img {
    height: 24px;
  }

  .world-button {
    font-size: 12px;
  }

  .video-container {
    height: 100%;
  }

  .nav-arrows {
    top: 50%;
    transform: translateY(-50%);
    padding: 0;
  }

  .nav-arrow {
    position: absolute;
    width: 32px;
    height: 32px;
    background: none;
  }

  .nav-arrow.prev {
    left: 16px;
  }

  .nav-arrow.next {
    right: 16px;
  }

  .video-player {
    background: #000;
  }

  .video-player video {
    object-fit: contain;
  }

  .project-info {
    padding: 16px;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 1) 0%,
      rgba(0, 0, 0, 0.8) 50%,
      transparent 100%
    );
  }

  .project-title h1 {
    font-size: 20px;
    margin-bottom: 4px;
  }

  .project-title .brand {
    font-size: 12px;
    margin-bottom: 2px;
  }

  .project-title .subtitle {
    font-size: 14px;
  }

  .video-controls {
    margin-top: 12px;
    padding: 8px 0;
    gap: 12px;
  }

  .video-controls button {
    padding: 4px;
  }

  .progress-bar {
    height: 3px;
  }

  .time-display {
    font-size: 10px;
  }

  .cookie-banner {
    display: none;
  }
}

/* Header styles */
.header {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.7) 0%,
    transparent 100%
  );
  position: fixed;
  padding: 20px 40px;
}

.header__nav {
  z-index: 100;
}

.header__nav__list {
  background-color: rgba(0, 0, 0, 0.9);
}

@media (max-width: 56.25em) {
  .header {
    padding: 16px 20px;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.7) 0%,
      transparent 100%
    );
  }

  .header__nav__list {
    background-color: #000000;
  }

  .header__nav .burger {
    display: block;
  }

  .header__nav ul {
    display: none;
  }

  .header__nav ul.visible-flex {
    display: flex;
  }
}

/* Projects Page Styles */
.projects {
  width: 100%;
  min-height: 100vh;
  padding-top: 10vh;
  background-color: #000000;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 100%;
}

.projects__item {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  cursor: pointer;
  background-color: #000000;
}

.projects__item-media {
  position: relative;
  width: 100%;
  height: 100%;
}

.preview-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.projects__item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  z-index: 2;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.projects__item-info h2 {
  margin-bottom: 4px;
  color: #ffffff;
}

.projects__item-info .paragraph {
  opacity: 0.8;
  line-height: 1.4;
  color: #ffffff;
}

@media (max-width: 56.25em) {
  .projects__grid {
    grid-template-columns: 1fr;
  }

  .projects__item {
    aspect-ratio: 16/9;
  }

  .projects__item-info {
    padding: 16px;
    transform: none;
  }

  .projects__item:hover .projects__item-info {
    transform: none;
  }

  .projects__item-info h2 {
    font-size: 20px;
  }

  .projects__item-info .paragraph {
    font-size: 14px;
  }

  .preview-video {
    opacity: 1;
  }
}

/* About Page Styles */
.about {
  width: 100%;
  min-height: 100vh;
  padding-top: 15vh;
  background-color: #000000;
  color: #ffffff;
}

.about__section {
  max-width: 800px;
  margin: 0 auto 80px;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.about__section:last-child {
  margin-bottom: 120px;
}

.about__section .heading-3 {
  font-size: 24px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 56.25em) {
  .about {
    padding-top: 12vh;
  }

  .about__section {
    margin: 0 auto 60px;
    padding: 0 20px;
  }

  .about__section:last-child {
    margin-bottom: 80px;
  }

  .about__section .heading-3 {
    font-size: 18px;
    line-height: 1.5;
  }
}

/* About Page Styles */
.about {
  width: 100%;
  min-height: 100vh;
  padding-top: 15vh;
  background-color: #000000;
  color: #ffffff;
  position: relative;
}

.about__background-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  max-width: 600px;
  opacity: 0.2;
}

.about__background-logo img {
  width: 100%;
  height: auto;
}

.about__section {
  max-width: 800px;
  margin: 0 auto 80px;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
}

.about__section:last-child {
  margin-bottom: 120px;
}

.about__section .heading-3 {
  font-size: 24px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 56.25em) {
  .about {
    padding-top: 12vh;
  }

  .about__section {
    margin: 0 auto 60px;
    padding: 0 20px;
  }

  .about__section:last-child {
    margin-bottom: 80px;
  }

  .about__section .heading-3 {
    font-size: 18px;
    line-height: 1.5;
  }
}
