/* 自定义样式补充 - 高端男装展示网站 */

/* 平滑滚动 */
html {
  scroll-behavior: smooth;
}

/* 轮播动画 */
.carousel-fade-enter {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-fade-enter-active {
  opacity: 1;
}

/* 瀑布流布局 */
.masonry {
  column-count: 3;
  column-gap: 1rem;
}

@media (max-width: 768px) {
  .masonry {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .masonry {
    column-count: 1;
  }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

/* 模态框样式 */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.modal-content {
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* 导航栏滚动效果 */
.nav-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 图片悬停效果 */
.image-hover {
  transition: all 0.3s ease;
}

.image-hover:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

/* 文字渐入动画 */
.text-gradient {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.9));
  -webkit-background-clip: text;
  background-clip: text;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* 页脚样式 */
.footer-text {
  font-size: 0.75rem;
  color: #9ca3af;
}