/* Fashion Showcase - Minimalist Global Styles */

/* Variables & Design Tokens */
:root {
  --bg-color: #F9F9F9;
  --text-color: #333333;
  --text-light: #666666;
  --accent-color: #F5F1E8;
  --footer-color: #AAAAAA;
  --font-main: "Source Han Sans CN", "Noto Sans SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --spacing-lg: 5rem;
  --spacing-md: 2.5rem;
  --spacing-sm: 1.25rem;
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-main);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

h1 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h2 { font-size: 2rem; margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
p { font-weight: 300; margin-bottom: 1rem; color: var(--text-light); }

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

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: var(--spacing-lg) 0; }
.section-sm { padding: var(--spacing-md) 0; }

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(249, 249, 249, 0.95);
  backdrop-filter: blur(8px);
  z-index: 1000;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--text-color);
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--text-color);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
  left: 0;
}

/* Hero Carousel */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}

.carousel-slide.active { opacity: 1; z-index: 2; }

.carousel-slide img {
  width: 100%;
  height: 100%;
  filter: brightness(0.9);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  color: #fff;
  width: 80%;
}

.hero-text {
  font-size: 2.5rem;
  font-weight: 300;
  text-shadow: 0 2px 15px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s ease 0.3s;
}

.carousel-slide.active .hero-text {
  opacity: 1;
  transform: translateY(0);
}

/* Collections Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.collection-card {
  position: relative;
  group: hover;
  cursor: default;
}

.card-image {
  overflow: hidden;
  background-color: var(--accent-color);
  aspect-ratio: 3/4;
  margin-bottom: 1rem;
}

.card-image img {
  width: 100%;
  height: 100%;
  transition: transform 0.8s var(--ease-smooth);
}

.collection-card:hover .card-image img {
  transform: scale(1.06);
}

.card-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  transition: color 0.3s;
}

.collection-card:hover .card-info h3 {
  color: var(--text-light);
}

/* Philosophy & Details (Alternating Layout) */
.feature-block {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.feature-block:nth-child(even) { flex-direction: row-reverse; }

.feature-text, .feature-media { flex: 1; }

.feature-media img {
  width: 100%;
  aspect-ratio: 4/5;
}

.quote-box {
  background-color: var(--accent-color);
  padding: 5rem 2rem;
  text-align: center;
  margin: var(--spacing-lg) 0;
}

.quote-text {
  font-size: 1.5rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Detail Focus Section */
.detail-focus {
  background-color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.detail-content {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
.site-footer {
  padding: 3rem 0;
  text-align: center;
  color: var(--footer-color);
  font-size: 0.85rem;
  border-top: 1px solid #EEEEEE;
  margin-top: var(--spacing-lg);
}

/* Responsive */
@media (max-width: 992px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { gap: 1.5rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .feature-block, .feature-block:nth-child(even) {
    flex-direction: column;
    gap: 2rem;
  }
  .detail-focus { grid-template-columns: 1fr; }
  .detail-content { padding: 2rem; }
  .hero-text { font-size: 1.8rem; }
  .section { padding: 3rem 0; }
}