/* Magazine Page Styles - Editable CSS File */
/* Access via: http://localhost:3000/css/magazine.css */

/* Container */
.magazine-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #faf9f6;
}

.magazine-main {
  flex-grow: 1;
  padding: 2rem 0;
}

.magazine-content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section */
.magazine-hero {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  padding: 4rem 0;
}

.magazine-hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.magazine-cover-container {
  text-align: center;
  margin-bottom: 3rem;
}

.magazine-cover {
  max-width: 400px;
  width: 100%;
  height: auto;
  aspect-ratio: 2/3;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(1);
  transition: transform 0.5s ease;
}

.magazine-cover:hover {
  transform: scale(1.02);
}

.magazine-header {
  text-align: center;
}

.issue-number {
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.magazine-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  font-family: 'Playfair Display', serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.magazine-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 2rem;
  font-family: 'Playfair Display', serif;
  opacity: 0.9;
}

.magazine-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 0.875rem;
  opacity: 0.8;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.magazine-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Content Section */
.magazine-content-section {
  padding: 3rem 0;
}

.magazine-article {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  line-height: 1.8;
  text-align: justify;
}

.drop-cap {
  float: left;
  font-size: 4.5em;
  line-height: 0.8;
  padding-right: 0.1em;
  padding-top: 0.05em;
  font-weight: 700;
  color: #1e293b;
}

.magazine-text {
  margin-bottom: 1.5rem;
  color: #1a1a1a;
}

/* Gallery Section */
.magazine-gallery {
  margin-bottom: 4rem;
}

.magazine-gallery-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Playfair Display', serif;
  color: #1a1a1a;
}

.magazine-gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .magazine-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .magazine-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.magazine-gallery-image {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.magazine-gallery-image:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

.magazine-gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Loading State */
.loading-container {
  text-align: center;
  padding: 5rem 0;
}

.loading-icon {
  font-size: 4rem;
  color: #1e293b;
  margin-bottom: 1rem;
  animation: spin 1s linear infinite;
  display: block;
  margin: 0 auto 1rem;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.loading-text {
  color: #64748b;
  font-size: 1.125rem;
}

/* Empty State */
.empty-state {
  background: white;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 4rem 2rem;
  text-align: center;
  border: 1px solid #e5e7eb;
}

.empty-icon {
  font-size: 4rem;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  display: block;
  margin: 0 auto 1.5rem;
}

.empty-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.empty-text {
  color: #64748b;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.empty-subtext {
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
  .magazine-title {
    font-size: 2.5rem;
  }
  
  .magazine-subtitle {
    font-size: 1.25rem;
  }
  
  .magazine-meta {
    flex-direction: column;
    gap: 1rem;
  }
  
  .magazine-article {
    padding: 2rem 1.5rem;
    font-size: 1rem;
  }
  
  .magazine-gallery-grid {
    grid-template-columns: 1fr;
  }
}


