/* ===== BLOG STYLES ===== */
/* Blog-specific styling that extends the main site styles */

/* Blog Navbar Override - Fixed black background for all blog pages */
#global-navbar {
  background-color: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(10px);
}

/* Blog Header Section */
.blog-header-section {
  position: relative;
  min-height: 60vh;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-header-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/paralleximage.avif');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.1;
  z-index: 1;
}

.blog-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.blog-header-content {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

.blog-eyebrow {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d4af37;
  margin-bottom: 1rem;
}

.blog-main-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: white;
}

.blog-main-description {
  font-family: 'Lato', sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive Blog Header */
@media (max-width: 768px) {
  .blog-header-section {
    min-height: 50vh;
  }
  
  .blog-main-title {
    font-size: 2.5rem;
  }
  
  .blog-main-description {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

/* Blog Filters Section */
.blog-filters-section {
  padding: 3rem 0;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.blog-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.category-filter {
  background: transparent;
  border: 2px solid #dee2e6;
  color: #495057;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-filter:hover {
  border-color: #d4af37;
  color: #d4af37;
  transform: translateY(-2px);
}

.category-filter.active {
  background: #d4af37;
  border-color: #d4af37;
  color: white;
}

.blog-search-box {
  position: relative;
}

.blog-search-input {
  width: 100%;
  padding: 0.75rem 3rem 0.75rem 1rem;
  border: 2px solid #dee2e6;
  border-radius: 50px;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: all 0.3s ease;
}

.blog-search-input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.blog-search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
  pointer-events: none;
}

/* Responsive Filters */
@media (max-width: 992px) {
  .blog-filters-section .row {
    gap: 2rem;
  }
  
  .blog-category-filters {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .category-filter {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
}

/* Featured Blog Section */
.featured-blog-section {
  padding: 4rem 0;
  background: white;
}

.featured-blog-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.featured-blog-image {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-blog-card:hover .featured-image {
  transform: scale(1.05);
}

.featured-blog-content {
  padding: 2rem;
}

.featured-blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.featured-category {
  background: #d4af37;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.featured-date {
  color: #6c757d;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
}

.featured-title {
  margin-bottom: 1rem;
}

.featured-title a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-title a:hover {
  color: #d4af37;
}

.featured-excerpt {
  font-family: 'Lato', sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
  color: #495057;
  margin-bottom: 2rem;
}

.featured-author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-details {
  flex-grow: 1;
}

.author-name {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
}

.author-title {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  color: #6c757d;
}

.read-time {
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  color: #6c757d;
}

/* Responsive Featured Blog */
@media (max-width: 992px) {
  .featured-blog-card {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .featured-blog-image {
    height: 300px;
  }
  
  .featured-title a {
    font-size: 2rem;
  }
}

/* Blog Grid Section */
.blog-grid-section {
  padding: 4rem 0;
  background: #f8f9fa;
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.blog-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
  transform: scale(1.05);
}

.blog-card-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
}

.blog-category {
  background: #d4af37;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.blog-date {
  color: #6c757d;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
}

.blog-read-time {
  color: #6c757d;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
}

.blog-card-title {
  margin-bottom: 1rem;
  flex-grow: 1;
}

.blog-card-title a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-title a:hover {
  color: #d4af37;
}

.blog-card-excerpt {
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.5;
  color: #495057;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-author {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.blog-card-author .author-name {
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
}

/* Load More Button */
.blog-load-more {
  background: transparent;
  border: 2px solid #d4af37;
  color: #d4af37;
  padding: 1rem 3rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 3rem;
}

.blog-load-more:hover {
  background: #d4af37;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.blog-load-more:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Newsletter Section */
.blog-newsletter-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
}

.newsletter-card {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.newsletter-logo {
  margin-bottom: 1.5rem;
}

.newsletter-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.newsletter-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

.newsletter-description {
  font-family: 'Lato', sans-serif;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
  color: #495057;
  margin-bottom: 2rem;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-input-group {
  display: flex;
  gap: 0;
  margin-bottom: 1rem;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.newsletter-input {
  flex-grow: 1;
  padding: 1rem 1.5rem;
  border: none;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  outline: none;
  background: #f8f9fa;
}

.newsletter-submit-btn {
  background: #d4af37;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.newsletter-submit-btn:hover {
  background: #b8941f;
}

.newsletter-consent {
  text-align: left;
}

.newsletter-consent label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
  color: #6c757d;
  cursor: pointer;
}

.newsletter-consent input[type="checkbox"] {
  margin-top: 0.25rem;
}

.consent-link {
  color: #d4af37;
  text-decoration: none;
}

.consent-link:hover {
  text-decoration: underline;
}

/* Responsive Newsletter */
@media (max-width: 576px) {
  .newsletter-card {
    padding: 2rem 1.5rem;
  }
  
  .newsletter-input-group {
    flex-direction: column;
    border-radius: 10px;
  }
  
  .newsletter-input,
  .newsletter-submit-btn {
    border-radius: 0;
  }
  
  .newsletter-input {
    border-radius: 10px 10px 0 0;
  }
  
  .newsletter-submit-btn {
    border-radius: 0 0 10px 10px;
    justify-content: center;
  }
}

/* Animation Classes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Blog Navigation Breadcrumb */
.blog-breadcrumb {
  padding: 1rem 0;
  background: rgba(248, 249, 250, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.breadcrumb-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  font-family: 'Lato', sans-serif;
  font-size: 0.875rem;
}

.breadcrumb-item a {
  color: #6c757d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #d4af37;
}

.breadcrumb-item.active {
  color: #1a1a1a;
  font-weight: 500;
}

.breadcrumb-separator {
  color: #dee2e6;
}