/* ========== FLAVORS SECTION ========== */
.flavors-row {
  display: flex;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.flavor-card {
  position: relative;
  flex: 1;
  background: rgba(255, 255, 255, 0.98);
  border-right: 1px solid rgba(212, 175, 55, 0.15);
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.flavor-card:last-child {
  border-right: none;
}

.flavor-card:hover {
  background: rgba(255, 255, 255, 1);
}

.flavor-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 200px;
  margin: 0 auto 1.5rem;
  aspect-ratio: 1;
  overflow: hidden;
}

.flavor-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.flavor-btn {
  position: absolute;
  top: 0px;
  right: 1px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(184, 134, 11, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.flavor-btn:hover {
  background: #b8860b;
}

.flavor-card.active .flavor-btn {
  background: rgba(184, 134, 11, 0.9);
}

.flavor-card.active .flavor-btn svg {
  transform: rotate(45deg);
}

.flavor-content {
  text-align: center;
}

.flavor-name {
  font-family: "Fredoka One", cursive;
  font-size: 1rem;
  font-weight: 400;
  color: #1a1816;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.flavor-description {
  font-size: 0.75rem;
  color: #4a4845;
  line-height: 1.5;
}

/* Flavor Modal Popup - Small popup relative to each card */
.flavor-modal-popup {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  background: linear-gradient(135deg, #f0f8ff 0%, #e8f4f8 50%, #e0f0f5 100%);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 10;
  display: none;
  animation: modalFadeIn 0.2s ease-out;
  backdrop-filter: blur(10px);
}

.flavor-modal-popup.active {
  display: block;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.flavor-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1816;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 2;
}

.flavor-modal-close:hover {
  background: rgba(212, 175, 55, 0.25);
  border-color: rgba(212, 175, 55, 0.4);
}

.flavor-modal-body {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.flavor-modal-image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-bottle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.flavor-modal-info {
  flex: 1;
  color: #1a1816;
}

.modal-flavor-name {
  font-family: "Fredoka One", cursive;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1816;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-flavor-description {
  font-size: 0.7rem;
  color: #4a4845;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.modal-price {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.modal-price-label {
  font-size: 0.6rem;
  color: #4a4845;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-price-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1a1816;
}

@media (max-width: 768px) {
  .flavors-row {
    flex-direction: column;
    border-top: none;
    border-bottom: none;
  }

  .flavor-card {
    border-right: none;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: 1.5rem;
  }

  .flavor-card:last-child {
    border-bottom: none;
  }

  .flavor-image-wrapper {
    max-width: 150px;
  }

  .flavor-modal-popup {
    width: 240px;
    padding: 0.75rem;
  }

  .flavor-modal-body {
    flex-direction: column;
    gap: 0.5rem;
  }

  .flavor-modal-image {
    width: 100px;
    height: 90px;
  }

  .modal-flavor-name {
    font-size: 0.75rem;
  }

  .modal-flavor-description {
    font-size: 0.65rem;
  }

  .slider-nav.prev {
display: none;
}
.slider-nav.next {
display: none;
}

/* ========== TASTING ATTRIBUTES ========== */
.tasting-attribute {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.15);
}

.tasting-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  color: #4a4845;
}

.tasting-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4a4845;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.tasting-value {
  font-family: "Fredoka One", cursive;
  font-size: 1.1rem;
  font-weight: 400;
  color: #1a1816;
  background: linear-gradient(135deg, #d4af37, #ff8c00);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #ff8c00);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 1000;
  transition: transform 0.1s ease-out;
}

/* ========== LOADING SHUTTER ANIMATION ========== */
.shutter {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  grid-template-rows: repeat(10, 1fr);
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(
    120% 120% at 50% 20%,
    rgba(212, 175, 55, 0.08),
    transparent 40%
  );
}

.shutter__panel {
  background: linear-gradient(135deg, #141211 0%, #1e1b19 60%, #2a2624 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  transform: translateY(0);
  animation: shutterUp 1.6s cubic-bezier(0.65, 0.02, 0.2, 1) forwards;
}

.shutter__logo {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.shutter__logo-inner {
  padding: 1rem 1.25rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35), 0 0 60px rgba(212, 175, 55, 0.15);
  transform: translateY(10px) scale(0.98);
  opacity: 0;
  animation: logoIntro 3.2s ease-out 0.25s both;
}

.shutter__logo-text {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 900;
  letter-spacing: 0.5px;
  font-size: clamp(24px, 5vw, 44px);
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 4px 24px rgba(212, 175, 55, 0.25);
}

@keyframes logoIntro {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  40% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-6px) scale(0.995);
  }
}

@keyframes shutterUp {
  to {
    transform: translateY(-110%);
  }
}

/* ========== GLASS MORPHISM CARDS ========== */
.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(212, 175, 55, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* ========== STATS COUNTER ========== */
.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== PROCESS TIMELINE - REMOVED ========== */

/* ========== SLIDESHOW ========== */
.slider {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.slide.is-active {
  opacity: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.slider-nav:hover {
  background: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: #d4af37;
}

.slider-nav.prev {
  left: 20px;
}
.slider-nav.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dot.is-active {
  background: white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

/* ========== PARALLAX SECTIONS ========== */
.parallax-section {
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  transform: translateZ(0);
  will-change: transform;
}

/* ========== TESTIMONIAL CARD ========== */
.testimonial-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 248, 231, 0.8) 100%
  );
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 120px;
  font-family: "Fredoka One", cursive;
  color: rgba(212, 175, 55, 0.1);
  line-height: 1;
}

/* ========== PROCESS MODERN TIMELINE ========== */
.process-section {
  position: relative;
}
.process-head {
  text-align: center;
  margin-bottom: 4rem;
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 0;
}

/* Modern vertical line */
.timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    rgba(212, 175, 55, 0.15) 0%,
    rgba(212, 175, 55, 0.4) 25%,
    rgba(255, 140, 0, 0.5) 50%,
    rgba(212, 175, 55, 0.4) 75%,
    rgba(212, 175, 55, 0.15) 100%
  );
  border-radius: 999px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
  position: relative;
}

/* Modern badge design */
.timeline-badge {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  /* background: linear-gradient(135deg, #d4af37, #ff8c00); */
  background-color: white;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35),
    0 0 0 4px rgba(255, 255, 255, 1), 0 0 0 6px rgba(212, 175, 55, 0.1);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  font-family: "Nunito", sans-serif;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-badge {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.45),
    0 0 0 4px rgba(255, 255, 255, 1), 0 0 0 8px rgba(212, 175, 55, 0.2);
}

/* Modern card design */
.timeline-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.timeline-card::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #d4af37, #ff8c00);
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-card:hover {
  transform: translateX(8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-color: rgba(212, 175, 55, 0.3);
}

.timeline-card:hover::before {
  opacity: 1;
}

.timeline-num {
  font-family: "Inter", cursive;
  font-weight: 600;
  color: #1a1816;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.timeline-sub {
  color: #4a4845;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: #b8860b;
  font-weight: 700;
  font-size: 0.9rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.timeline-meta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 25px;
  }
  .timeline-item {
    grid-template-columns: 50px 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }
  .timeline-badge {
    width: 50px;
    height: 50px;
    font-size: 0.95rem;
  }
  .timeline-card {
    padding: 1.5rem;
  }
  .timeline-num {
    font-size: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .timeline {
    max-width: 1000px;
  }
  .timeline-card {
    padding: 2.5rem 3rem;
  }
  .timeline-num {
    font-size: 2.25rem;
  }
}

/* ========== WOW CRAFT SHOWCASE (SCROLLY) ========== */
.process-wrap {
  position: relative;
}
.process-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
}
.process-canvas {
  position: sticky;
  top: 100px;
  height: calc(100vh - 140px);
  border-radius: 28px;
  overflow: hidden;
}
.process-canvas-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1816 0%, #2a2624 50%, #1a1816 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Process Flow Visualization */
.process-flow {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2rem;
  gap: 0.5rem;
}
.process-flow-stage {
  position: relative;
  height: 25%;
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.05),
    rgba(255, 140, 0, 0.02)
  );
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.3;
  transform: scale(0.95);
  flex-shrink: 0;
}
.process-flow-stage.is-active {
  opacity: 1;
  transform: scale(1);
  background: linear-gradient(
    135deg,
    rgba(212, 175, 55, 0.15),
    rgba(255, 140, 0, 0.08)
  );
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

/* Stage Content */
.stage-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stage-icon {
  width: 60px;
  height: 60px;
  margin-right: 1rem;
}
.stage-text {
  flex: 1;
}
.stage-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 0.25rem;
}
.stage-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

/* Connecting Lines */
.process-connector {
  position: absolute;
  right: 0;
  top: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(212, 175, 55, 0.3),
    transparent
  );
  transform: translateY(-50%);
}
.process-connector::before {
  content: "";
  position: absolute;
  top: 0;
  right: -3px;
  width: 8px;
  height: 8px;
  background: #d4af37;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* Step Cards */
.process-step {
  position: relative;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(255, 248, 231, 0.9)
  );
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.process-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
  border-color: rgba(212, 175, 55, 0.4);
}
.process-badge {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.5);
  font-size: 1.1rem;
}
.process-line {
  position: absolute;
  left: calc(50% - 2px);
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(212, 175, 55, 0),
    rgba(212, 175, 55, 0.7),
    rgba(255, 140, 0, 0.9)
  );
  transform-origin: top;
  transform: scaleY(0);
  border-radius: 999px;
}
.process-line.is-active {
  transform: scaleY(1);
  transition: transform 1s ease;
}
.process-hero-title {
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-canvas {
    order: -1;
    height: 50vh;
    top: 80px;
  }
  .process-flow {
    padding: 1rem;
  }
  .process-flow-stage {
    height: 20%;
  }
  .process-step {
    height: auto;
    min-height: 200px;
  }
}
@media (max-width: 768px) {
  .process-step {
    padding: 1.25rem;
    height: auto;
    min-height: 180px;
  }
  .process-badge {
    width: 48px;
    height: 48px;
    font-size: 0.95rem;
  }
  .stage-icon {
    width: 40px;
    height: 40px;
  }
  .stage-title {
    font-size: 1rem;
  }
  .stage-desc {
    font-size: 0.8rem;
  }
}

/* ========== MODERN VIDEO SLIDER ========== */
.gallery-slider-container {
  position: relative;
  margin-top: 3rem;
  padding: 0 60px;
}

.gallery-slider {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  -webkit-overflow-scrolling: touch;
}

.gallery-slide {
  flex: 0 0 calc(100% - 2rem);
  scroll-snap-align: center;
  min-width: 0;
}

@media (min-width: 768px) {
  .gallery-slide {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (min-width: 1024px) {
  .gallery-slide {
    flex: 0 0 calc(33.333% - 1.33rem);
  }
}

.gallery-video-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  /* background: rgba(255, 255, 255, 0.95); */
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(212, 175, 55, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.gallery-video-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(212, 175, 55, 0.3);
}

.gallery-video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: transparent;
  overflow: hidden;
}

/* Fix fullscreen - remove wrapper constraints and black backgrounds */
video:fullscreen,
video:-webkit-full-screen,
video:-moz-full-screen,
video:-ms-fullscreen {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  object-fit: contain !important;
  background: transparent !important;
  z-index: 9999 !important;
}

.gallery-video-wrapper:has(video:fullscreen),
.gallery-video-wrapper:has(video:-webkit-full-screen),
.gallery-video-wrapper:has(video:-moz-full-screen),
.gallery-video-wrapper:has(video:-ms-fullscreen) {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  padding: 0 !important;
  background: transparent !important;
  z-index: 9999 !important;
}

.gallery-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hide overlay and fix fullscreen mode */
video:fullscreen,
video:-webkit-full-screen,
video:-moz-full-screen,
video:-ms-fullscreen {
  background: transparent !important;
  object-fit: contain !important;
}

video:fullscreen ~ .gallery-overlay,
video:-webkit-full-screen ~ .gallery-overlay,
video:-moz-full-screen ~ .gallery-overlay,
video:-ms-fullscreen ~ .gallery-overlay,
.gallery-video:fullscreen ~ .gallery-overlay,
.gallery-video:-webkit-full-screen ~ .gallery-overlay,
.gallery-video:-moz-full-screen ~ .gallery-overlay,
.gallery-video:-ms-fullscreen ~ .gallery-overlay {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Remove backdrop blur in fullscreen */
.gallery-video-card:fullscreen,
.gallery-video-card:-webkit-full-screen,
.gallery-video-card:-moz-full-screen,
.gallery-video-card:-ms-fullscreen {
  backdrop-filter: none !important;
  background: transparent !important;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.gallery-video-card:hover .gallery-overlay {
  opacity: 0;
}

.gallery-content {
  width: 100%;
  color: white;
}

.gallery-number {
  display: inline-block;
  font-family: "Fredoka One", cursive;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}

.gallery-title {
  font-family: "Fredoka One", cursive;
  font-size: 1.5rem;
  font-weight: 400;
  color: white;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.gallery-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.5;
}

/* Navigation Arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #1a1816;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gallery-nav:hover {
  background: white;
  border-color: #d4af37;
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.gallery-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-nav-prev {
  left: 0;
}

.gallery-nav-next {
  right: 0;
}

/* Dots Navigation */
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  z-index: 10;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.3);
  border: 2px solid rgba(212, 175, 55, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-dot.active {
  background: #d4af37;
  border-color: #d4af37;
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

/* Custom video controls styling */
/* .gallery-video::-webkit-media-controls-panel {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
} */

/* Responsive Design */
@media (max-width: 1024px) {
  .gallery-slider-container {
    padding: 0 50px;
  }

  .gallery-nav {
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 768px) {
  .gallery-slider-container {
    padding: 0 40px;
  }

  .gallery-slider {
    gap: 1.5rem;
  }

  .gallery-nav {
    width: 44px;
    height: 44px;
  }

  .gallery-overlay {
    padding: 1.5rem;
  }

  .gallery-title {
    font-size: 1.25rem;
  }

  .gallery-description {
    font-size: 0.8rem;
  }

  .gallery-dots {
    margin-top: 1.5rem;
  }
}
