@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
  --primary-gray: #1a1a1a;
  --secondary-gray: #333333;
  --light-gray: #808080;
  --bg-gray: #f5f5f5;
  --white: #ffffff;
  --accent-deep-blue: #003366;
  --accent-dark-green: #1a3d2e;
  --border-radius: 4px;
  --shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  --image-border: 15px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans SC', 'Helvetica Neue', sans-serif;
  background-color: var(--bg-gray);
  color: var(--primary-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 40px;
}

.nav-link {
  text-decoration: none;
  color: var(--primary-gray);
  font-weight: 400;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--accent-deep-blue);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-dark-green);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.hero-section {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 80px 0;
}

.featured-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

.featured-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border: var(--image-border) solid var(--white);
  box-shadow: var(--shadow);
}

.trend-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-behavior: smooth;
}

.trend-item {
  flex: 0 0 300px;
  position: relative;
}

.trend-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border: var(--image-border) solid var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.trend-img:hover {
  transform: scale(1.05);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  text-align: center;
  margin: 60px 0 40px;
  color: var(--primary-gray);
}

.section-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  text-align: center;
  margin: 40px 0 30px;
  color: var(--secondary-gray);
}

.content-card {
  background: var(--white);
  padding: 40px;
  margin: 40px 0;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scroll-text {
  display: flex;
  gap: 40px;
  padding: 20px 0;
  overflow: hidden;
}

.scroll-text-item {
  white-space: nowrap;
  font-size: 1.2rem;
  color: var(--light-gray);
  animation: scroll 20s linear infinite;
}

.scroll-arrow {
  text-align: center;
  margin: 30px 0;
  color: var(--light-gray);
  font-size: 2rem;
  animation: bounce 2s infinite;
}

.color-swatch {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.color-box {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.quality-icon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  color: var(--primary-gray);
}

.scene-card {
  background: var(--white);
  padding: 30px;
  margin: 20px 0;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scene-title {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 15px;
  color: var(--accent-deep-blue);
}

.outfit-formula {
  background: var(--secondary-gray);
  color: var(--white);
  padding: 20px;
  border-radius: var(--border-radius);
  margin: 20px 0;
}

.detail-focus {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.detail-item {
  background: var(--white);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

footer {
  background: var(--primary-gray);
  color: var(--light-gray);
  padding: 40px 0;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-text {
  font-size: 0.9rem;
}

.footer-copyright {
  font-size: 0.9rem;
}

.back-to-top {
  background: var(--accent-dark-green);
  color: var(--white);
  border: none;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background 0.3s ease;
}

.back-to-top:hover {
  background: var(--accent-deep-blue);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@media (max-width: 768px) {
  .nav-list {
    flex-direction: column;
    gap: 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .trend-container {
    flex-direction: column;
  }

  .trend-item {
    width: 100%;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}