:root {
  --color-primary: #F5F1E8;
  --color-secondary: #E8E8E8;
  --color-accent: #D4A798;
  --color-text: #2C2C2C;
  --color-white: #FFFFFF;
  --font-title-en: 'Playfair Display', serif;
  --font-title-cn: 'Noto Serif SC', serif;
  --font-body: 'Noto Sans SC', sans-serif;
  --transition-base: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-primary);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul {
  list-style: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1.5rem 5%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 2px;
}

nav ul {
  display: flex;
  gap: 3rem;
}

nav a {
  font-size: 0.95rem;
  letter-spacing: 1px;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: var(--transition-base);
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 100%;
}

main {
  padding-top: 80px;
  min-height: 100vh;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 1s ease-in-out;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  bottom: 10%;
  left: 5%;
  color: var(--color-white);
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  max-width: 600px;
}

.hero-content h1 {
  font-family: var(--font-title-cn);
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section {
  padding: 6rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-title-cn);
  font-size: 2.5rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 4rem;
  letter-spacing: 3px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--color-white);
  border-radius: 2px;
}

.card img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 2rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  color: var(--color-white);
}

.card:hover .card-overlay {
  transform: translateY(0);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.9;
}

.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 4rem;
}

.editorial-text {
  font-size: 1.1rem;
  line-height: 2;
  text-align: justify;
  color: var(--color-text);
}

.editorial-image {
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.8rem 2rem;
  background-color: transparent;
  border: 1px solid var(--color-text);
  color: var(--color-text);
  cursor: pointer;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: var(--transition-base);
  font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}

.detail-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

.detail-item {
  text-align: center;
}

.detail-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.detail-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.detail-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

.timeline {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 4rem;
}

.timeline-item {
  flex: 1;
  text-align: center;
}

.timeline-season {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--color-accent);
}

.timeline-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.outfit-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.outfit-item {
  position: relative;
}

.outfit-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.outfit-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--color-white);
  padding: 1rem;
  font-size: 0.85rem;
  text-align: center;
}

.fabric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.fabric-card {
  background-color: var(--color-white);
  padding: 2rem;
  text-align: center;
  transition: var(--transition-base);
  cursor: pointer;
}

.fabric-card:hover {
  background-color: var(--color-secondary);
  transform: translateY(-5px);
}

.fabric-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.fabric-property {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

footer {
  background-color: var(--color-secondary);
  padding: 3rem 5%;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #666;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-icon {
  width: 24px;
  height: 24px;
  opacity: 0.6;
  transition: var(--transition-base);
}

.social-icon:hover {
  opacity: 1;
}

.copyright {
  font-size: 1rem;
  color: #999;
  letter-spacing: 2px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--color-text);
  transition: var(--transition-base);
}

@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .editorial {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .timeline {
    flex-direction: column;
  }
  .outfit-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
  .fabric-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 5%;
  }
  nav ul {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background-color: var(--color-white);
    width: 100%;
    padding: 2rem;
    gap: 1.5rem;
    transition: var(--transition-base);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }
  nav ul.active {
    left: 0;
  }
  .hamburger {
    display: flex;
  }
  .section-title {
    font-size: 2rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .filter-bar {
    gap: 1rem;
  }
  .detail-showcase {
    grid-template-columns: 1fr;
  }
  .outfit-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .fabric-grid {
    grid-template-columns: 1fr;
  }
}