body {
    font-family: 'Satoshi', sans-serif;
    font-weight: 300; /* Light */
    opacity: 0;
    background-color: #000;
    transition: background-color 4s ease, color 4s ease, opacity 4s ease;
}

body.loaded {
    opacity: 1;
}

.nav-link {
    color: rgba(255, 255, 255, 0.6);
}

.bg-dark{
    background-color: black !important;
}

.footer_text {
    font-size: 7px;
}

.navbar-nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.font-color {
    color: rgba(255, 255, 255, 0.55);
}

.white-card {
    color: rgba(0, 0, 0, 0.55);
}

.anton_font {
    font-family: Anton;
}

.italic_font {
  font-family: 'Gambetta', serif;
  font-style: italic;
}

.satoshi_font {
    style="font-family: 'Satoshi', sans-serif";
    font-weight: 500; /* Medium */
}

.underline-animate {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.underline-animate::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 88%;
    height: 1.5px;
    background-color: currentColor;
    transition: transform 0.3s ease-in-out;
}

.underline-animate:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.contribution_header{
    font-size: 3vh;
}

.our_contribution{
    font-size: 12.5vw;
    opacity: 0.15;
}

.nav_text {
    font-size: 12px;
}

.nav_icon {
    width: 1.2vw;
    height: 1.2vw;
    opacity: 0.6;
    transition: opacity 1s ease;
}

.footer_icon {
    width: 23px;
    height: 23px;
}

#map {
    height: 400px;
    width: 100%;
}

.index_creative_header {
    text-align: left;
    font-size: 60px;
    line-height: 1;
}

.index_creative_text {
    font-size: 16px;
}

.all_projects_text {
    font-size: 18px !important;
}

.lumiere_footer{
    font-size: 20vw;
    opacity: 0.07;
    line-height: 0.8;
}

.footer_link {
    opacity: 0.8;
    display: inline-block;
}

.footer_link:hover{
    color: black;
}

.services_div {
    font-size: 20px;
}

.services_header {
    font-size: 50px;
    opacity: 0.30;
}

.modal-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    background-color: black;
}

.poster-wrapper {
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}

.poster_image {
    transition: transform 0.8s ease;
    width: 100%;
    height: auto;
}

.poster-wrapper:hover .poster_image {
    cursor: pointer;
    transform: scale(1.05);
}

.lang_nav::before {
    content: "( ";
}

.lang_nav::after {
    content: " )";
}

.nav_icon:hover {
    opacity: 1;
}

.video-button {
    position: absolute;
    bottom: 20px;
    margin-right: -4px;
    background: rgba(0, 0, 0, 0); /* jesli chcesz dodac ciemniejsze tlo, zamien czwarte zero na np 0.5 */
    border: none;
    color: white;
    font-size: 24px;
    padding: 12px;
    border-radius: 25%;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#muteButton {
    right: 70px;
  }

#fullscreenButton {
    right: 20px;
}

.video-container:fullscreen {
    width: 100vw;
    height: 100vh;
}

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

.video-container {
    position: relative;
    width: 100%;
}

.full-btn {
    width: 35px;
    height: 35px;
    transition: width 0.3s ease, height 0.3s ease;
}

.full-btn:hover {
    width: 50px;
    height: 50px;
}

#watch {
    position: absolute;
    top: 86%;
    left: 12.5%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.8) !important;
}

#watch:hover {
    cursor: pointer;
    color: white !important;
}

.opacity-smooth {
  text-shadow: 0 0 0 transparent !important;
  color: rgba(255, 255, 255, 0.6) !important;
  transition: text-shadow 1s ease, color 1s ease;
}

.opacity-smooth:hover {
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.8) !important;
  color: white !important;
}

.active {
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.8) !important;
  color: white !important;
}

.opacity-smooth-black {
  text-shadow: 0 0 0 transparent !important;
  color: rgba(0, 0, 0, 0.9) !important;
  transition: text-shadow 1s ease, color 1s ease;
}

.opacity-smooth-black:hover {
  text-shadow: 0 0 0.5px rgba(0, 0, 0, 1) !important;
  color: black !important;
}

#hamburger {
  outline: none;
  box-shadow: none;
  background-color: transparent;
  border-color: black !important;
}

#hamburger:focus, #hamburger:active {
  outline: none !important;
  box-shadow: none !important;
  background-color: transparent !important;
}

.carousel-item {
  background-color: black !important;
}

.modal-content {
  background-color: rgba(0, 0, 0, 0) !important;
}

.modal-backdrop.show {
  background-color: transparent !important;
}

.ios-fullscreen {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  background-color: black;
  z-index: 9999;
}

.reel_text {
  margin-top: -20vh;
  opacity: 0.5;
}

.toggle-border {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
}

.toggle-wrapper {
  position: relative;
  display: flex;
  width: fit-content;
  overflow: hidden;
}

.fix_color {
  color: rgba(255, 255, 255, 0.6);
}

.toggle-wrapper .nav-link {
  position: relative;
  z-index: 2;
  padding: 5px 0.4vw;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  background-color: transparent;
  transition: color 0.3s ease;
  white-space: nowrap;
  height: 100%;
}

.toggle-wrapper .nav-link:hover {
  color: white;
}

.toggle-wrapper .nav-link.active-toggle {
  color: black;
}

.toggle-wrapper .toggle-bg {
  position: absolute;
  top: 50%;
  left: 0; /* dynamicznie nadpisywane w JS */
  transform: translateY(-50%);
  height: 80%;
  border-radius: 5px;
  background-color: white;
  z-index: 1;
  transition: left 0.4s ease, width 0.4s ease;
}

#reel {
  width: 100%;
  height: 94vh;
  object-fit: cover;
}

.progress-bar-indicator {
  height: 3px;
  background-color: rgba(255, 255, 255, 0.1);
  width: 5vw;
  border-radius: 2px;
  transition: background-color 0.4s ease;
}

.progress-bar-indicator.active {
  background-color: rgba(255, 255, 255, 0.3);
}

.change-page-container {
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    background:black;
    z-index:999999;
}

.video-change {
    width: 50%;
    height: 100%;
    position: absolute;
    left: 25%;
}

.card_button {
    color: white;
    opacity: 0.8;
    text-decoration: none;
    border-radius: 5px;
}

.card_header {
    font-size: 24px;
}

.card_button_link {
    font-size: 16px;
}

.card_button_link:hover {
    color: white;
    cursor: pointer;
}

.custom-input {
  background-color: black;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.3s ease;
}

.custom-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.custom-input:focus {
  color: white;
  background-color: black;
  border-color: rgba(255, 255, 255, 0.6);
  outline: none;
  box-shadow: none;
}

.custom_underline {
  border-bottom: 1px solid;
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

.modal-overlay.active {
  display: block;
}

#overlay-container {
  width: 50%; /* Start at 50% */
  transition: width 0.1s ease;
}

#overlay-container img {
  object-fit: cover;
}

.custom-slider-wrapper {
  position: relative;
  width: 100%;
  height: 60px;
  touch-action: none;
  user-select: none;
}

.custom-slider-handle {
  position: absolute;
  top: 0;
  left: 50%; /* start center */
  transform: translateX(-50%);
  cursor: grab;
  transition: left 0.1s ease;
}

.custom-slider-handle:active {
  cursor: grabbing;
}

.custom-slider-line {
  height: 40px;
  width: 8px;
  border-left: 1px solid white;
  opacity: 0.3;
  position: absolute;
  top: 57px;
}

.slider_arrow {
    position: absolute;
    top: 57px;
    width: 8px;
}

.contact_text_color {
    color: white;
    opacity: 0.9;
}

@media (max-width: 991px) {
    .toggle-wrapper .nav-link {
      padding: 5px 2.4vw;
    }

    #reel {
        height: 80vh;
    }

    .fullscreen-menu,
    .fullscreen-menu-ready {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh !important;
      min-height: 100vh;
      max-height: 100vh;
      background-color: black;
      z-index: 9999;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      transform: translateY(-10px);
      overflow: hidden;
    }

    .fullscreen-menu.show {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      transform: translateY(0);
      transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .navbar-nav-center {
        position: static;
        transform: none;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .fullscreen-menu.animating-out {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
    }

    .fullscreen-menu .navbar-nav {
        flex-direction: column;
        gap: 2rem;
        font-size: 1.5rem;
        text-align: center;
    }

    .menu-close {
        position: absolute;
        width: 0px;
        height: 0px;
        top: 19px;
        right: 12px;
        font-size: 2.5rem;
        color: white;
        background: none;
        cursor: pointer;
        z-index: 10000;
        border: none;
    }

    .close-img {
        width: 33px;
        height: 33px;
        position: absolute;
        top: -10px;
        right: 1px;
    }

    body.menu-open {
        overflow: hidden;
    }

    .nav-link.lumiere {
        font-size: 4rem;
    }

    .nav_icon {
        width: 35px;
        height: 35px;
    }

    nav {
        background-color: black;
    }

    #poster-carousel {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;     /* Firefox */
    }

    #poster-carousel::-webkit-scrollbar {
      display: none;             /* Chrome, Safari, Opera */
    }

    .poster-slide {
        scroll-snap-align: start;
        scroll-snap-stop: always;
        min-height: 60vh;
        padding: 1rem;
    }

    .poster-carousel-wrapper {
        overflow: hidden;
    }

    .poster_image {
        max-height: 80vh;
        width: auto;
        height: auto;
        max-width: 100%;
    }

    .dots-indicator--white {
        background-color: white;
        padding: 0.5rem 1rem;
        border-radius: 10px;
    }

    .dots-indicator--black {
        background-color: black;
        padding: 0.5rem 1rem;
        border-radius: 10px;
    }

    .dot {
        border-radius: 1px;
        opacity: 0.3;
        transition: opacity 0.3s ease;
        margin: 0 5px;
    }

    .dot.active {
        opacity: 1;
    }

    .dot--black {
        background-color: black;
        width: 20px;
        height: 3px;
    }

    .dot--white {
        background-color: white;
        width: 20px;
        height: 3px;
    }
}

@media (min-width: 991px){
    .video-change {
        width: 30%;
        left: 35%;
    }

    .card_header{
        font-size: 1.7vw;
    }

    .nav_text {
        font-size: 0.7vw;
    }

    .navbar-nav-center {
        margin-left: 0.3vw;
    }

    .video-button {
        font-size: 35px;
        width: 60px;
        height: 60px;
    }

    .nav_icon {
        margin-top: -5px;
    }

    .padding_main, .padding_nav {
        padding-left: 7vw;
        padding-right: 7vw;
    }

    #map{
        height: 100%;
    }

    .index_creative_header {
        font-size: 6vw;
    }

    .visual {
        font-size: 4vw;
    }

    .index_creative_text {
        font-size: 1.2vw;
    }

    .all_projects_text {
        font-size: 1.4vw !important;
    }

    .card_button_link {
        font-size: 0.9vw !important;
    }

    .services_div {
        font-size: 1.2vw;
    }

    .services_header {
        font-size: 5vw;
    }

    .footer_text {
        font-size: 0.6vw;
    }

    .footer_icon {
        width: 1.5vw;
        height: 1.5vw;
    }

    .padding_footer {
        padding-right: 5vw;
    }

    .lumiere_footer{
        overflow: hidden;
        font-size: 7vw;
    }

    .our_contribution{
        margin-top: -50px;
    }

    .nav-link.lumiere {
        font-size: 1.8vw;
    }

    nav {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        background-color: rgba(0, 0, 0, 0.7);
    }

   .navbar-nav-center .nav-link {
      display: flex;
      align-items: center;
      height: 100%;
   }
}


@media (min-width: 1600px) {
   .card_header {
    font-size: 1.5vw;
  }

  .index_creative_text {
    font-size: 1vw;
  }

  .all_projects_text {
    font-size: 1.2vw !important;
  }

  .card_button_link {
    font-size: 1vw;
  }

  .services_header {
    font-size: 4vw;
  }
}


@media (max-width: 374px) {
  #menu-logo {
    display: none !important;
  }
}
