@tailwind base;
@tailwind components;
@tailwind utilities;

/* See https://tailwindcss.com/docs/adding-custom-styles#using-css-and-layer */

@layer base {
  /* The base layer is for things like reset rules or default styles applied to plain HTML elements.*/

}

@layer components {
  /*The components layer is for class-based styles that you want to be able to override with utilities. */

}

@layer utilities {
  /* The utilities layer is for small, single-purpose classes that should always take precedence over any other styles. */
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.\!container {
  width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media (min-width: 1536px) {
  .container {
    max-width: 1752px !important;
  }

  .\!container {
    max-width: 1360px !important;
  }
}

.vid-container {
  z-index: 1;
}
.vid-container::after {
  content: url('https://uploads.prod01.london.platform-os.com/instances/946/assets/images/build/streamers.webp?updated=1727355836929');
  position: absolute;
  top: -210px;
  right: -230px;
  z-index: -1;
}

.vid-container::before {
  content: url('https://https://uploads.prod01.london.platform-os.com/instances/946/assets/images/build/step-into.webp?updated=1727355836941');
  position: absolute;
  top: 30px;
  left: -270px;
  z-index: -1;
}
@media (max-width: 1280px) {
  .vid-container::before {
    display: none;
  }
}



@media (max-width: 1024px) {
  .hero {
    background-position-x: 75%;
  }
}



.swiper.experience .swiper-button-prev,
.swiper.experience .swiper-button-next {
  top: 30px !important;
  color: #333 !important;
  
}

.swiper.experience .swiper-button-prev::after,
.swiper.experience .swiper-button-next::after {
  font-size: 32px !important;
}


@media (min-width: 1024px) {
    .swiper.experience .swiper-button-prev,
    .swiper.experience .swiper-button-next {
    display: none;
  }
}


.masonry {
  column-count: 3; /* Number of columns */
  column-gap: 10px; /* Gap between columns */
}

.masonry-item {
  break-inside: avoid; /* Prevent images from breaking inside columns */
  margin-bottom: 10px; /* Space between images */
}

/* Optional for smoother loading */
.masonry-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all;
  transition: all 0.1s ease-in-out;
}
.masonry-item img:hover {
  transform: scale(1.01);
}

/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* Black background with opacity */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal img {
  max-width: 90%;
  max-height: 80%;
}

.modal.active {
  display: flex; /* Show modal */
}

/* Next/Prev button styles */
.modal .nav-btn {
  position: absolute;
  top: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
  transform: translateY(-50%);
  
}

.modal .prev-btn {
  left: 10px;
}

.modal .next-btn {
  right: 10px;
}

.search-overlay {
  background: rgba(0, 0, 0, 0.85);
  z-index: 99999;
}


.blog h2 {
  font-weight: bold;
  font-size: 32px;
}

.blog-tags {
  font-size: 16px;
  margin-bottom: 24px;
}

.blog p {
  font-size: 20px;
  margin-bottom: 20px;
}

.blog a {
  color: #c28eaa;
  text-decoration: underline;
}


@media (max-width: 1024px) {
  .gslide-nav {
    display: block !important;
  }

  .gnext, .gprev {
    display: block !important;
    opacity: 1 !important;
  }
}


.glightbox-clean .gprev,.glightbox-clean .gnext {
  top: 45% !important;
}

#instagram-feed {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}