/* Fashion Dimension - Global Styles */

:root {
  /* Typography */
  --font-main: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  
  /* Color Palette - Neutral & Soft */
  --color-bg: #FDFBF7;      /* 米白 Cream */
  --color-bg-alt: #F5F5F5;  /* 浅灰 Light Grey */
  --color-text: #333333;    /* 深灰 Soft Black */
  --color-text-light: #666666; 
  --color-accent: #C5A065;  /* 香槟金 Champagne */
  
  /* Spacing */
  --spacing-base: 2rem;
  
  /* Pico Overrides */
  --pico-font-family: var(--font-main);
  --pico-background-color: var(--color-bg);
  --pico-color: var(--color-text);
  --pico-primary: var(--color-accent);
  --pico-border-radius: 0; /* Minimalist sharp edges */
  --pico-typography-spacing-vertical: 1.5rem;
}

/* Global Reset & Base */
body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  letter-spacing: 0.05em;
  color: #111;
  margin-top: 0;
}

p {
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

/* Navigation */
.navbar-custom {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 3rem;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0,0,0,0.02);
}

.navbar-brand {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile Menu Trigger */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  background: none;
  border: none;
  padding: 0;
  color: var(--color-text);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: -1;
  filter: brightness(0.9);
}

.hero-bg.active {
  opacity: 1;
}

.hero-text {
  text-align: center;
  color: #fff;
  z-index: 10;
  padding: 0 1rem;
}

.hero-text h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

/* Image Hover Effects */
.img-hover-zoom {
  overflow: hidden;
  display: block;
  position: relative;
  width: 100%;
}

.img-hover-zoom img {
  width: 100%;
  height: auto;
  transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
  display: block;
  object-fit: cover;
}

.img-hover-zoom:hover img {
  transform: scale(1.06);
}

/* Animations */
.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

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

/* Utility Classes */
.bg-soft-gray { background-color: #F9F9F9; }
.text-serif { font-family: "Times New Roman", Times, serif; font-style: italic; }
.section-pad { padding: 8rem 2rem; max-width: 1400px; margin: 0 auto; }
.full-width { width: 100%; }
.text-justify { text-align: justify; }

/* Grid Gallery */
.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

/* Outfit Layout */
.outfit-section {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.outfit-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.outfit-row.reverse {
    direction: rtl;
}

.outfit-row.reverse > * {
    direction: ltr;
}

.outfit-content {
    padding: 2rem;
}

/* Footer */
.site-footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.05);
  font-size: 0.8rem;
  color: #999;
  letter-spacing: 0.1em;
  background-color: var(--color-bg);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-text h1 { font-size: 3rem; }
  .outfit-row { grid-template-columns: 1fr; gap: 2rem; }
  .outfit-row.reverse { direction: ltr; }
  .outfit-content { padding: 0; }
}

@media (max-width: 768px) {
  .navbar-custom { padding: 1rem 1.5rem; }
  .nav-links {
    display: none; 
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-bg);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  
  .hero-text h1 { font-size: 2rem; letter-spacing: 0.15em; }
  .section-pad { padding: 4rem 1.5rem; }
}