/* 自定义样式补充 - 现代男士风尚网站 */

/* 基础字体设置 */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}

/* 自定义颜色变量 */
:root {
  --charcoal-gray: #2d2d2d;
  --oatmeal-white: #f5f5f0;
  --sand-beige: #e8e4d9;
  --navy-blue: #1e3a5f;
  --metallic-silver: #c0c0c0;
  --matte-black: #1a1a1a;
}

/* 全屏英雄图片样式 */
.hero-image {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* 视差滚动效果 */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 淡入淡出动画 */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* 导航栏样式 */
.nav-fixed {
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.9);
}

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

.image-hover:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

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

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

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

/* 按钮悬停效果 */
.btn-hover {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-hover::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.btn-hover:hover::before {
  width: 300px;
  height: 300px;
}

/* 文字覆盖样式 */
.text-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--charcoal-gray);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--matte-black);
}