/* ===== Carousel ===== */
.carousel-wrapper {
  width: 100%;
  height: clamp(500px, 70vh, 1000px);
  margin-bottom: 0;
  background: #000;
  overflow: hidden;
}

.carousel {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-bg-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.carousel-content {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.carousel-content img,
.carousel-content video {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
  border-radius: 8px;
}

.carousel-bg-blur img,
.carousel-bg-blur video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(50px) brightness(0.5) saturate(1.2);
  transform: scale(1.1);
}

/* ===== Join Banner ===== */
.join-banner {
  margin-top: 0;
  margin-bottom: 20px;
  border-radius: 12px;
  padding: 8px 20px;
}

.join-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.join-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.5px;
  text-transform: capitalize;
}

.join-link {
  color: #00aaff;
  text-decoration: underline;
  margin-left: 5px;
  transition:
    color 0.2s ease,
    text-shadow 0.2s ease;
  font-weight: 900;
  text-transform: capitalize;
}

.join-link:hover {
  color: #33bbff;
  text-shadow: 0 0 8px rgba(0, 170, 255, 0.4);
}

@media (max-width: 600px) {
  .join-banner {
    padding: 10px 15px;
  }

  .join-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ===== Grid & Cards ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: #1a1a1a;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
}

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #ffbf00;
}

.card-text {
  color: #ccc;
  margin-bottom: 20px;
}

.card-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 8px 20px;
  background: #4f5d6a;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}

.card-btn:hover {
  background: #657686;
}

/* ===== New About Us Section ===== */
.about {
  --_stat-translate-y: 80px;
  padding-top: 0px;
  padding-bottom: calc(var(--section-padding-y) / 4);
  background-color: transparent;
  max-width: var(--content-max-width, 1200px);
  margin: 0 auto;
  translate: var(--_stat-translate-y) 0;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 280px;
  grid-template-rows: auto auto;
  gap: 25px 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.about-main-card {
  grid-column: 1;
  grid-row: 1 / 2;
  background: #1a1a1a;
  color: #fff;
  padding: clamp(25px, 4vw, 45px);
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.about-description {
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  line-height: 1.7;
  color: #bbb;
  font-family: "Open Sans", sans-serif;
  margin: 0;
  max-width: 600px;
}

/* Right Side Stats Column */
.stats-right {
  grid-column: 2;
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: calc(-1 * var(--_stat-translate-y));
  padding-top: 20px;
  z-index: 2;
}

/* Bottom Stats Row */
.stats-bottom {
  grid-column: 1 / 3;
  grid-row: 2;
  display: flex;
  gap: 20px;
  margin-top: -45px;
  padding-left: clamp(50px, 4vw, 100px);
  z-index: 2;
  max-width: 600px;
}

.stat-card {
  background: #222;
  padding: clamp(28px, 3vw, 38px) clamp(15px, 2vw, 22px);
  border-radius: 22px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  flex: 1;
}

.stats-right .stat-card {
  max-width: 200px;
}

.stats-bottom .stat-card {
  max-width: 200px;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(255, 191, 0, 0.1);
}

.stat-icon {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  width: clamp(45px, 3.5vw, 55px);
  height: clamp(45px, 3.5vw, 55px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  color: #ffbf00;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  border: 1px solid #444;
}

.stat-number {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  margin: 12px 0 5px;
  color: #fff;
}

.stat-label {
  font-size: clamp(0.75rem, 0.9vw, 0.9rem);
  color: #999;
  line-height: 1.35;
  margin: 0;
}

/* ===== Gallery Section ===== */
.gallery-section {
  padding-top: calc(var(--section-padding-y) / 2);
}

.gallery-grid {
  display: grid;
  /* 3 main columns, but we use a 12-row grid for precise staggering */
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(12, 70px);
  gap: 15px;
  max-width: 1000px;
  margin: 0 auto;
}

.gallery-item {
  overflow: hidden;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Precise Hardcoded Spans for Staggered Effect */

/* Left Column */
.item-l1 {
  grid-column: 1;
  grid-row: 1 / 4;
}

.item-l2 {
  grid-column: 1;
  grid-row: 4 / 7;
}

.item-l3 {
  grid-column: 1;
  grid-row: 7 / 10;

  img {
    object-position: 0px -40px;
  }
}

.item-l4 {
  grid-column: 1;
  grid-row: 10 / 13;
}

/* Middle Column */
.gallery-logo {
  grid-column: 2;
  grid-row: 1 / 3;
}

.item-m1 {
  grid-column: 2;
  grid-row: 3 / 6;
}

.item-tall {
  grid-column: 2;
  grid-row: 6 / 13;
}

/* Right Column */
.item-r1 {
  grid-column: 3;
  grid-row: 1 / 4;
}

.item-r2 {
  grid-column: 3;
  grid-row: 4 / 7;
}

.item-r3 {
  grid-column: 3;
  grid-row: 7 / 10;

  img {
    object-position: 0px 0px;
  }
}

.item-r4 {
  grid-column: 3;
  grid-row: 10 / 13;
}

/* Responsive Gallery */
@media (max-width: 768px) {
  .about {
    translate: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    display: flex;
    flex-direction: column;
    padding-inline: 20px;
  }

  .gallery-item {
    height: 250px;
  }

  .gallery-logo {
    display: none;
  }

  .item-tall {
    height: 400px;
  }
}

/* ===== Testimonials ===== */
.testimonials {
  background: #0d0d0d;
  position: relative;
  z-index: 1;
}

.review-slider-wrapper {
  position: relative;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  max-width: 1000px;
  margin: 0 auto;
  display: block;
}

.review-slider-wrapper::-webkit-scrollbar {
  display: none;
}

.review-slides {
  display: flex;
  align-items: stretch;
}

.review-item {
  flex: 0 0 50%;
  padding: 0 15px;
  box-sizing: border-box;
  scroll-snap-align: start;
  display: flex;
}

.review-box {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  width: 100%;
}

.reviewer-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid #ffbf00;
}

.review-text {
  font-style: italic;
  font-size: 1.125rem;
  color: #ddd;
  margin-bottom: 20px;
}

.reviewer-name {
  color: #ffbf00;
  margin: 0;
  font-weight: 600;
}

.reviewer-role {
  font-size: 0.85rem;
  color: #888;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #555;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #ffbf00;
  width: 30px;
  border-radius: 6px;
}

/* ===== Email Section ===== */
.email-section {
  background: #1a1a1a;
  text-align: center;
  padding-block: 20px 30px;

  h2 {
    margin-top: 0;
  }
}

.email-container {
  max-width: 800px;
  margin: 0 auto;
}

.email-description {
  color: #919191;
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 1rem;
}

.email-form {
  display: grid;
  grid-template-columns: 1fr auto;
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.email-display {
  padding: 16px 20px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  word-break: break-all;
}

.email-btn {
  padding: 16px 32px;
  background: #4f5d6a;
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  background: hsl(45, 100%, 50%);
  color: #000;
  font-weight: bold;
}

.email-btn:hover {
  background: hsl(45, 100%, 45%);
  scale: 0.98;
}

@media (max-width: 600px) {
  .email-form {
    box-sizing: border-box;
    padding-inline: 2rem;
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  .email-display {
    justify-content: center;
    text-align: center;
    padding: 18px 15px;
  }

  .email-btn {
    padding: 18px 15px;
    white-space: normal;
  }
}

/* ===== Team Section ===== */
.team-section {
  text-align: center;
  background: #0d0d0d;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .team-section .artist-card img {
    height: 200px;
  }
}

/* ===== Mobile Responsive - Index Page ===== */
@media (max-width: 768px) {
  section {
    padding-block: var(--section-padding-y-mobile);
  }

  .about {
    padding-top: 0px;
    padding-bottom: calc(var(--section-padding-y-mobile) / 4);
    padding-inline: 8px;
  }

  .gallery-section {
    padding-top: calc(var(--section-padding-y-mobile) / 2);
    padding-bottom: var(--section-padding-y-mobile);
  }

  .testimonials,
  .team-section {
    /* Inherits from section baseline */
  }

  .about-container {
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    gap: 36px 16px;
  }

  .about-main-card {
    grid-column: 1 / -1;
    text-align: center;
    border-radius: 25px;
  }

  .about-description {
    max-width: 100%;
  }

  .about-heading {
    text-align: center;
  }

  /* Make stat containers transparent to grid */
  .stats-right,
  .stats-bottom {
    display: contents;
  }

  .stat-card {
    max-width: none;
    width: 100%;
    border-radius: 20px;
    padding: 40px 20px;
  }

  .stat-number {
    font-size: 2.8rem;
  }

  .stat-label {
    font-size: 1.1rem;
  }

  .carousel-wrapper {
    height: 60vh;
    min-height: 400px;
  }

  .carousel {
    height: 100%;
  }

  .review-item {
    flex: 0 0 100%;
  }
}

/* ===== Collaboration Section ===== */
.collaboration-section {
  background: #111;
  padding-block: var(--section-padding-y);
  overflow: hidden;
}

.marquee {
  display: flex;
  user-select: none;
  gap: 80px;
  padding-block: 20px;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 20%,
    black 80%,
    transparent
  );
}

.marquee-content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  gap: 80px;
  min-width: 100%;
  animation: scroll 30s linear infinite;
}

.collaboration-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 25px 35px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  min-width: 220px;
  transition: all 0.3s ease;
}

.collaboration-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 191, 0, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.collab-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
}

.collab-name {
  font-size: 0.9rem;
  color: #888;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.collaboration-item:hover .collab-name {
  color: #ffbf00;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - 80px));
  }
}

@media (max-width: 768px) {
  .collaboration-item {
    padding: 15px 20px;
    min-width: 160px;
    gap: 10px;
  }

  .collab-logo {
    height: 60px;
  }

  .collab-name {
    font-size: 0.7rem;
  }

  .marquee,
  .marquee-content {
    gap: 50px;
  }

  @keyframes scroll {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(calc(-100% - 50px));
    }
  }
}

/* GSAP Initial States to prevent FOUC */
.navbar .logo,
.nav-center ul li,
.call-btn,
.carousel-wrapper,
.section-title,
.about-main-card,
.stat-card,
.review-slider-wrapper,
.gallery-grid,
.artists-grid,
.team-grid,
.marquee,
.email-container > * {
  opacity: 0;
  visibility: hidden;
}

/* Bookings Page Initial States */
.bookings-hero,
.offer-ticker,
.events-section__title,
.event-card {
  opacity: 0;
  visibility: hidden;
}
