/* =========================================
   Fashion Showcase - Modern Minimalist Theme
   Based on Pico.css v1, Customized for Gallery
   ========================================= */

:root {
  /* Design Tokens */
  --primary: #1a1a1a;
  --secondary: #666666;
  --accent: #7d8c8d;
  --bg-color: #ffffff;
  --bg-alt: #f9f9f9;
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  
  /* Pico CSS Overrides */
  --pico-font-family: var(--font-main);
  --pico-background-color: var(--bg-color);
  --pico-color: var(--primary);
  --pico-primary: var(--primary);
  --pico-primary-underline: var(--primary);
  --pico-border-radius: 0px; /* Sharp edges for modern look */
  --pico-spacing: 2rem;
  --pico-typography-spacing-vertical: 1rem;
}

/* Base Styles */
body {
  font-weight: 300;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

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

/* Navigation */
nav.container-fluid {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

nav ul li a {
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 0;
  margin: 0 1.2rem;
  position: relative;
}

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

nav ul li a:hover,
nav ul li a[aria-current="page"] {
  color: var(--primary);
}

nav ul li a:hover:after,
nav ul li a[aria-current="page"]:after {
  width: 100%;
}

nav strong {
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  font-weight: 600;
}

/* Hero Section */
.hero {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--primary);
  color: white;
  margin-bottom: 4rem;
}

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

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Buttons */
.btn-outline {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}

.btn-dark {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-dark:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin: 5rem 0 3rem;
  position: relative;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 300;
}

.section-header p {
  color: var(--secondary);
  font-size: 0.9rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Layouts */
.fashion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

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

.card {
  display: block;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

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

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}

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

.card-content {
  text-align: left;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.card-subtitle {
  font-size: 0.8rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Philosophy / Blog Styles */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto 5rem;
}

.article-card {
  display: grid;
  grid-template-columns: 35% 1fr;
  gap: 2rem;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 3rem;
}

.article-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.article-text h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.article-text p {
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* About Page */
.about-content {
  max-width: 700px;
  margin: 4rem auto;
  text-align: center;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  color: var(--primary);
}

/* Footer */
footer {
  padding: 3rem 0;
  background-color: #fafafa;
  text-align: center;
  border-top: 1px solid #eeeeee;
  color: #666666;
  font-size: 0.8rem;
  margin-top: auto;
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease-out;
}

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

/* Responsive */
@media (max-width: 992px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .article-card { grid-template-columns: 1fr; gap: 1rem; }
  .article-card img { aspect-ratio: 2/1; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .fashion-grid { grid-template-columns: 1fr; gap: 3rem; }
  .grid-3 { grid-template-columns: 1fr; }
  nav ul { flex-direction: column; align-items: center; }
  nav ul li { margin-bottom: 0.5rem; }
  .section-header { margin: 3rem 0 2rem; }
}