/**
 * Complete Luxury Blog Theme CSS
 * Based on the original Luxury Professional Fashion Blog Article.html
 */

/* CSS Variables - Exact from original */
:root {
  --primary-black: #0a0a0a;
  --secondary-black: #1a1a1a;
  --accent-gold: #d4af37;
  --text-gray: #666666;
  --light-gray: #f8f8f8;
  --border-gray: #e5e5e5;
  --white: #ffffff;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--primary-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Luxury Navigation - Exact from original */
.luxury-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-gray);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-black);
  letter-spacing: -0.02em;
}

.logo a {
  color: var(--primary-black);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 3rem;
  align-items: center;
}

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

.nav-menu a {
  color: var(--primary-black);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
}

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

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

.nav-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.search-btn, .menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: opacity 0.3s ease;
}

.search-btn:hover, .menu-btn:hover {
  opacity: 0.7;
}

/* Hero Article Section - Exact from original */
.article-hero {
  width: 100%;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  overflow: hidden;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23f5f5f5" width="1200" height="800"/><rect fill="%23e8e8e8" x="100" y="100" width="1000" height="600" rx="20"/><text x="600" y="420" text-anchor="middle" font-family="serif" font-size="32" fill="%23666">COPENHAGEN STREET STYLE</text><text x="600" y="460" text-anchor="middle" font-family="serif" font-size="24" fill="%23999">S/S 2025 Fashion Photography</text></svg>') center/cover;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 3rem 4rem;
  width: 100%;
}

.article-category {
  display: inline-block;
  background: var(--accent-gold);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;
  line-height: 0.9;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  gap: 2rem;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
}

/* Main Content Layout - Exact from original */
.main-layout {
  max-width: 1600px;
  margin: 0 auto;
  padding: 6rem 3rem;
  display: grid;
  grid-template-columns: 200px 1fr 300px;
  gap: 6rem;
}

/* Article Navigation - Exact from original */
.article-nav {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.nav-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin-bottom: 1rem;
}

.nav-link {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: all 0.3s ease;
  display: block;
  padding: 0.5rem 0;
  border-left: 2px solid transparent;
  padding-left: 1rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-black);
  border-left-color: var(--accent-gold);
}

/* Article Content - Exact from original */
.article-content {
  max-width: none;
}

.content-header {
  border-bottom: 1px solid var(--border-gray);
  padding-bottom: 3rem;
  margin-bottom: 3rem;
}

.byline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  overflow: hidden;
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
}

.author-info h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.author-info span {
  color: var(--text-gray);
  font-size: 0.9rem;
}

.article-meta-details {
  display: flex;
  gap: 2rem;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-body > *:first-child {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--secondary-black);
}

.article-body p {
  margin-bottom: 2rem;
  color: var(--secondary-black);
}

.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 4rem 0 2rem 0;
  color: var(--primary-black);
}

.article-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 3rem 0 1.5rem 0;
  color: var(--primary-black);
}

.pullquote {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-style: italic;
  line-height: 1.4;
  text-align: center;
  margin: 4rem 0;
  padding: 3rem 2rem;
  border-top: 1px solid var(--accent-gold);
  border-bottom: 1px solid var(--accent-gold);
  position: relative;
}

.pullquote::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  color: var(--accent-gold);
  background: var(--white);
  padding: 0 1rem;
}

/* Sidebar - Exact from original */
.sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.sidebar-section {
  border-bottom: 1px solid var(--border-gray);
  padding-bottom: 2rem;
}

.sidebar-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
}

.trend-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f5f5f5;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-gray);
}

.metric-value {
  font-weight: 600;
  color: var(--primary-black);
}

.related-article {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 2rem;
  transition: opacity 0.3s ease;
}

.related-article:hover {
  opacity: 0.7;
}

.related-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.related-meta {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.newsletter-signup {
  background: var(--light-gray);
  padding: 2rem;
  text-align: center;
}

.newsletter-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.newsletter-subtitle {
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-input {
  border: 1px solid var(--border-gray);
  padding: 1rem;
  font-size: 0.9rem;
  background: var(--white);
}

.newsletter-btn {
  background: var(--primary-black);
  color: var(--white);
  border: none;
  padding: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-btn:hover {
  background: var(--secondary-black);
}

/* Social Share - Exact from original */
.social-share {
  position: fixed;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 100;
}

.share-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-gray);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--primary-black);
  transition: all 0.3s ease;
}

.share-btn:hover {
  background: var(--primary-black);
  color: var(--white);
}

/* Progress Bar - Exact from original */
.reading-progress {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--border-gray);
  z-index: 999;
}

.progress-fill {
  height: 100%;
  background: var(--accent-gold);
  width: 0%;
  transition: width 0.1s ease;
}

/* Luxury touches - Exact from original */
.article-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: -3rem;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent-gold), transparent);
  opacity: 0.3;
}

.luxury-divider {
  width: 60px;
  height: 1px;
  background: var(--accent-gold);
  margin: 3rem auto;
}

/* Responsive Design - Exact from original */
@media (max-width: 1200px) {
  .main-layout {
    grid-template-columns: 1fr 280px;
    gap: 4rem;
  }
  
  .article-nav {
    display: none;
  }
  
  .social-share {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1.5rem;
  }
  
  .nav-menu {
    display: none;
  }
  
  .hero-content {
    padding: 0 1.5rem 3rem;
  }
  
  .main-layout {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
    gap: 3rem;
  }
  
  .sidebar {
    position: static;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    display: grid;
    gap: 2rem;
  }
}

/* Animations - Exact from original */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.8s ease-out;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }