/* ==========================================================================
   Design Tokens & Reset
   ========================================================================== */
:root {
  /* Color Palette */
  --color-bg: #FFFFFF;
  --color-bg-alt: #F8F8F8;
  --color-text-main: #1A1A1A;
  --color-text-light: #555555;
  --color-nav-bg: rgba(255, 255, 255, 0.85);
  
  /* Typography */
  --font-primary: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Heiti SC", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  
  /* Spacing */
  --spacing-unit: 8px;
  --container-width: 1440px;
  
  /* Transition */
  --transition-smooth: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fade: opacity 0.4s ease;
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  opacity: 0; /* Handled by JS or Animation */
  animation: pageFadeIn 1s ease forwards;
}

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

ul {
  list-style: none;
}

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

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ==========================================================================
   Typography
   ========================================================================== */
.text-center { text-align: center; }
.text-uppercase { text-transform: uppercase; }

h1, h2, h3 {
  font-weight: 400; /* Minimalist style */
  letter-spacing: 0.05em;
}

.page-header {
  padding: 120px 20px 60px;
  text-align: center;
  background-color: var(--color-bg);
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1rem;
  color: var(--color-text-light);
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 4vw;
}

.section-padding {
  padding: 80px 0;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4vw;
  background: var(--color-nav-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.nav-brand {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  cursor: default; /* Non-clickable logo */
}

.nav-links {
  display: flex;
  gap: 40px;
}

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

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

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

.nav-link.active {
  color: var(--color-text-main);
}

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

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.9);
}

.hero-content {
  text-align: center;
  color: #fff;
  z-index: 1;
  padding: 0 20px;
}

.hero-slogan {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
  opacity: 0;
  animation: floatUp 1s ease 0.5s forwards;
}

/* ==========================================================================
   Home: Quote Section
   ========================================================================== */
.quote-section {
  padding: 100px 20px;
  background-color: var(--color-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40vh;
}

.quote-text {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300;
  text-align: center;
  max-width: 800px;
  line-height: 1.8;
  color: var(--color-text-main);
}

/* ==========================================================================
   Home: Preview Grid
   ========================================================================== */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px; /* Minimal gap for gallery feel */
  background-color: var(--color-bg-alt);
}

.preview-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
}

.preview-item img {
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
}

.preview-item:hover img {
  transform: scale(1.03);
}

.preview-caption {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
  opacity: 0.9;
  z-index: 2;
  pointer-events: none;
}

/* ==========================================================================
   Collections Page
   ========================================================================== */
.collection-section {
  margin-bottom: 120px;
}

.collection-info {
  margin-bottom: 40px;
  padding-left: 4vw;
  border-left: 1px solid #eee;
}

.collection-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.collection-desc {
  max-width: 600px;
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Horizontal Scroll for Collections (Mobile) / Grid (Desktop) */
.collection-gallery {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 0 4vw 20px; /* Padding for scrollbar space */
  scrollbar-width: none; /* Firefox */
}

.collection-gallery::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.collection-img-wrap {
  flex: 0 0 80vw; /* Mobile: 80% width */
  overflow: hidden;
}

@media (min-width: 768px) {
  .collection-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 4vw;
  }
  
  .collection-img-wrap {
    flex: none;
    width: auto;
    aspect-ratio: 3/4;
  }
}

.collection-img-wrap img {
  height: 100%;
  transition: transform 0.8s ease;
}

.collection-img-wrap:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   Styles Page: Masonry
   ========================================================================== */
.style-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 0 20px 60px;
}

.tag {
  font-size: 0.85rem;
  color: var(--color-text-light);
  padding: 8px 16px;
  border: 1px solid #eee;
  border-radius: 20px;
  cursor: default;
  transition: all 0.3s ease;
}

.tag:hover {
  border-color: #ccc;
  color: var(--color-text-main);
}

.masonry-grid {
  column-count: 1;
  column-gap: 20px;
  padding: 0 4vw;
}

@media (min-width: 600px) {
  .masonry-grid { column-count: 2; }
}

@media (min-width: 1024px) {
  .masonry-grid { column-count: 3; }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
}

.masonry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.masonry-text {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}

.masonry-item:hover .masonry-overlay {
  opacity: 1;
}

.masonry-item:hover .masonry-text {
  transform: translateY(0);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-bg-alt);
  padding: 40px 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
  margin-top: auto; /* Push to bottom if content is short */
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.fade-in-up {
  opacity: 0;
  animation: floatUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Slot placeholders */
.slot-container {
  display: none;
}