/* Modern Blog Theme - Matching Photography Page */

/* Back to Home Button - Reused from photography page */
.back-to-home {
  position: fixed;
  top: 2rem;
  left: 2rem;
  z-index: 1000;
  animation: slideInLeft 0.5s ease;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  color: #2c3e50;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.back-btn:hover {
  background: #2c3e50;
  color: white;
  transform: translateX(-5px);
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

.back-arrow {
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.3s ease;
}

.back-btn:hover .back-arrow {
  transform: translateX(-3px);
}

.back-text {
  font-size: 0.9rem;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Blog Post Header - Modern Design with Better Color Palette */
.blog-post-header {
  text-align: center;
  padding: 6rem 0 4rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
}

.blog-post-header::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: #fff;
  border-radius: 50px 50px 0 0;
}

.post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.post-category {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-weight: 500;
}

.post-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reading-time {
  opacity: 0.8;
}

.blog-post-header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  color: white;
}

.post-excerpt {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

/* Blog Post Content - Modern Typography with Better Visibility */
.blog-post-content {
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 20px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #2c3e50;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 3rem;
}

.blog-post-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.blog-post-content h2 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem 0;
  color: #667eea;
  border-bottom: 2px solid #667eea;
  padding-bottom: 0.5rem;
}

.blog-post-content h3 {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  color: #333;
}

/* Blog Gallery Section - Modern Design */
.blog-gallery-section {
  padding: 4rem 0;
  background: #f8f9fa;
  text-align: center;
}

.blog-gallery-section h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery-item p {
  padding: 1rem;
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  font-family: 'Poppins', sans-serif;
  line-height: 1.4;
}

/* Blog Navigation */
.blog-navigation {
  padding: 3rem 0;
  background: white;
}

.blog-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #667eea;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
}

.blog-nav-link:hover {
  background: #764ba2;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* Related Posts Section */
.related-posts {
  padding: 4rem 0;
  background: #f8f9fa;
}

.related-posts h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 3rem;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.related-post-card {
  display: block;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.related-post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.related-post-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.related-post-content {
  padding: 1.5rem;
}

.related-post-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

.related-post-content p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
  .back-to-home {
    top: 1rem;
    left: 1rem;
  }
  
  .back-btn {
    padding: 0.5rem 1rem;
  }
  
  .back-text {
    font-size: 0.8rem;
  }
  
  .blog-post-header {
    padding: 5rem 0 3rem 0;
  }
  
  .blog-post-header h1 {
    font-size: 2.2rem;
  }
  
  .post-excerpt {
    font-size: 1rem;
  }
  
  .blog-post-content {
    font-size: 1rem;
    padding: 0 15px;
  }
  
  .blog-post-content h2 {
    font-size: 1.5rem;
  }
  
  .gallery-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    padding: 0 15px;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  .related-posts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .back-to-home {
    top: 0.5rem;
    left: 0.5rem;
  }
  
  .back-btn {
    padding: 0.4rem 0.8rem;
  }
  
  .back-arrow {
    font-size: 1rem;
  }
  
  .back-text {
    font-size: 0.75rem;
  }
  
  .blog-post-header {
    padding: 4rem 0 2rem 0;
  }
  
  .blog-post-header h1 {
    font-size: 1.8rem;
  }
  
  .post-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .blog-post-content {
    font-size: 0.95rem;
    padding: 0 10px;
  }
  
  .blog-post-content h2 {
    font-size: 1.3rem;
  }
  
  .gallery-container {
    grid-template-columns: 1fr;
    padding: 0 10px;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Footer Styles - Full Width */
footer {
  display: block;
  width: 100%;
  text-align: center;
  padding: 2rem 0;
  background: #2c3e50;
  color: white;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  position: relative;
  left: 0;
  right: 0;
}
