/* =============================================
   CAROUSEL FULLSCREEN MODAL - V9
   Add this to your index.html or import in your CSS
   ============================================= */

/* Homepage Carousel Modal */
.carousel-fullscreen-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.carousel-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.carousel-modal-close:hover {
  opacity: 1;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.carousel-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.carousel-nav-btn.prev {
  left: 16px;
}

.carousel-nav-btn.next {
  right: 16px;
}

.carousel-modal-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 60px 80px 80px;
  touch-action: pan-y pinch-zoom;
}

.carousel-modal-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-modal-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .carousel-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  
  .carousel-nav-btn.prev {
    left: 8px;
  }
  
  .carousel-nav-btn.next {
    right: 8px;
  }
  
  .carousel-modal-content {
    padding: 60px 20px 80px;
  }
}

/* Prevent double-tap zoom */
.carousel-fullscreen-modal,
.carousel-fullscreen-modal * {
  touch-action: manipulation;
}

.carousel-modal-content img {
  touch-action: pinch-zoom;
}

/* =============================================
   BRAND LINK LOGO - 150% SIZE
   ============================================= */
.brand-link-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-link-logo img {
  max-width: 150%;
  max-height: 150%;
  object-fit: contain;
}

/* =============================================
   CAROUSEL ITEMS - Clickable
   ============================================= */
.carousel-item {
  cursor: pointer;
  transition: transform 0.2s;
}

.carousel-item:active {
  transform: scale(0.98);
}

/* =============================================
   VIDEO SECTIONS
   ============================================= */
.home-video-section {
  width: 100%;
  margin-bottom: 40px;
}

.home-video-section video {
  width: 100%;
  display: block;
}
