/* ===================================
   Blog Page Specific Styles
   =================================== */

/* Blog Hero Section */
.blog-hero {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light-gold) 100%);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23d4af37" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23d4af37" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23d4af37" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23d4af37" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23d4af37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.blog-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.blog-hero h1 {
  font-size: 3.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.blog-hero h1 span {
  color: var(--primary-color);
}

.blog-hero .hero-subtitle {
  font-size: 1.3rem;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-hero p {
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Blog Content Layout */
.blog-content {
  background-color: var(--bg-white);
  padding: 80px 0;
}

.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Main Blog Content */
.blog-main {
  width: 100%;
}

/* Featured Article */
.featured-article {
  background: var(--bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 60px;
  transition: var(--transition);
}

.featured-article:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.featured-article .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.featured-article:hover .article-image img {
  transform: scale(1.05);
}

.article-category {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-article .article-content {
  padding: 40px;
}

.article-meta {
  display: flex;
  gap: 25px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.article-meta span {
  color: var(--text-light);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-meta i {
  color: var(--primary-color);
}

.featured-article h2 {
  font-size: 2.2rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.3;
}

.featured-article h2 a {
  color: inherit;
  transition: var(--transition);
}

.featured-article h2 a:hover {
  color: var(--primary-color);
}

.featured-article p {
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 1.05rem;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.blog-article {
  background: var(--bg-white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.blog-article:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.blog-article .article-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-article .article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-article:hover .article-image img {
  transform: scale(1.08);
}

.blog-article .article-content {
  padding: 30px;
}

.blog-article h3 {
  font-size: 1.4rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-article h3 a {
  color: inherit;
  transition: var(--transition);
}

.blog-article h3 a:hover {
  color: var(--primary-color);
}

.blog-article p {
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Read More Button */
.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.read-more-btn:hover {
  color: var(--secondary-color);
  gap: 15px;
}

.read-more-btn i {
  transition: var(--transition);
}

/* Pagination */
.blog-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--bg-cream);
  color: var(--text-medium);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.pagination-btn:hover,
.pagination-btn.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  transform: translateY(-2px);
}

/* Blog Sidebar */
.blog-sidebar {
  width: 100%;
}

.sidebar-widget {
  background: var(--bg-white);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.sidebar-widget:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.widget-title {
  font-size: 1.4rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* Search Form */
.search-form {
  display: flex;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.search-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  background: var(--bg-cream);
  color: var(--text-dark);
  font-size: 0.95rem;
}

.search-form input::placeholder {
  color: var(--text-light);
}

.search-form button {
  padding: 15px 20px;
  border: none;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  cursor: pointer;
  transition: var(--transition);
}

.search-form button:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

/* Category List */
.category-list {
  list-style: none;
}

.category-list li {
  margin-bottom: 12px;
}

.category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  color: var(--text-medium);
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 1px solid var(--bg-cream);
}

.category-list a:hover {
  color: var(--primary-color);
  padding-left: 10px;
}

.category-list a i {
  margin-right: 10px;
  color: var(--primary-color);
}

.category-list span {
  background: var(--bg-cream);
  color: var(--text-light);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Recent Posts */
.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.recent-post {
  display: flex;
  gap: 15px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bg-cream);
}

.recent-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-post-image {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
}

.recent-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.recent-post-content h4 a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.recent-post-content h4 a:hover {
  color: var(--primary-color);
}

.recent-post-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Newsletter Widget */
.newsletter-widget {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.newsletter-widget .widget-title {
  color: white;
}

.newsletter-widget .widget-title::after {
  background: rgba(255, 255, 255, 0.3);
}

.newsletter-widget p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.newsletter-form input {
  padding: 15px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 0.95rem;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .btn {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: 600;
}

.newsletter-form .btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Tag Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg-cream);
  color: var(--text-medium);
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}

.tag:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  transform: translateY(-2px);
}

/* Blog CTA Section */
.blog-cta {
  background: linear-gradient(135deg, var(--bg-light-gold) 0%, var(--bg-cream) 100%);
  text-align: center;
  padding: 80px 0;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer Styles */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.footer-section h3 span {
  color: var(--accent-gold);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent-gold);
  transform: translateY(-3px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
  color: var(--accent-gold);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--accent-gold);
}

/* Active Navigation Link */
.nav-links a.active {
  color: var(--primary-color);
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .blog-sidebar {
    order: -1;
  }
  
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .blog-hero {
    padding: 100px 0 60px;
  }
  
  .blog-hero h1 {
    font-size: 2.5rem;
  }
  
  .blog-content {
    padding: 60px 0;
  }
  
  .featured-article .article-content {
    padding: 30px 25px;
  }
  
  .featured-article h2 {
    font-size: 1.8rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .sidebar-widget {
    padding: 25px 20px;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .blog-hero h1 {
    font-size: 2rem;
  }
  
  .featured-article .article-image {
    height: 250px;
  }
  
  .blog-article .article-image {
    height: 180px;
  }
  
  .featured-article .article-content,
  .blog-article .article-content {
    padding: 20px;
  }
  
  .sidebar-widget {
    padding: 20px 15px;
  }
  
  .recent-post {
    flex-direction: column;
    gap: 10px;
  }
  
  .recent-post-image {
    width: 100%;
    height: 120px;
  }
}

/* ===================================
   Blog Article Detail Page Styles
   =================================== */

/* Blog Article Hero */
.blog-article-hero {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light-gold) 100%);
  padding: 120px 0 80px;
  color: var(--text-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-article-hero::before {
  content: '';
  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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23d4af37" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23d4af37" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23d4af37" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23d4af37" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23d4af37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.blog-article-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  position: relative;
  z-index: 2;
}

.blog-article-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.blog-article-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-medium);
}

.blog-article-meta i {
  color: var(--primary-color);
}

/* Article Body */
.article-body {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  line-height: 1.8;
  color: var(--text-dark);
  background-color: var(--bg-white);
}

.article-body h2 {
  font-size: 2rem;
  margin: 40px 0 20px;
  color: var(--primary-color);
  font-family: 'Playfair Display', serif;
}

.article-body h3 {
  font-size: 1.5rem;
  margin: 30px 0 15px;
  color: var(--text-dark);
  font-weight: 600;
}

.article-body p {
  margin-bottom: 20px;
  font-size: 1.1rem;
  color: var(--text-medium);
}

.article-body ul {
  margin: 20px 0;
  padding-left: 30px;
}

.article-body ul li {
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: var(--text-medium);
}

.article-body strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Comparison Table */
.comparison-table {
  width: 100%;
  margin: 30px 0;
  border-collapse: collapse;
  box-shadow: var(--box-shadow);
  border-radius: 10px;
  overflow: hidden;
}

.comparison-table th {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 15px;
  text-align: left;
  font-weight: 600;
}

.comparison-table td {
  padding: 15px;
  border-bottom: 1px solid var(--bg-cream);
  background-color: var(--bg-white);
  color: var(--text-medium);
}

.comparison-table tr:hover {
  background-color: var(--bg-light-gold);
}

/* Myth Fact Box */
.myth-fact-box {
  background: var(--bg-light-gold);
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  margin: 25px 0;
  border-radius: 5px;
}

.myth-fact-box h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.myth-fact-box p {
  color: var(--text-medium);
}

/* Contact CTA Box */
.contact-cta-box {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  margin: 50px 0;
  box-shadow: var(--box-shadow);
}

.contact-cta-box h3 {
  color: white;
  margin-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.contact-cta-box p {
  color: rgba(255, 255, 255, 0.95);
}

.contact-cta-box .btn {
  background: white;
  color: var(--primary-color);
  margin: 10px;
  font-weight: 600;
}

.contact-cta-box .btn:hover {
  background: var(--bg-cream);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Blog Article */
@media (max-width: 768px) {
  .blog-article-hero h1 {
    font-size: 2rem;
  }
  
  .blog-article-meta {
    gap: 15px;
  }
  
  .article-body {
    margin: 40px auto;
  }
  
  .article-body h2 {
    font-size: 1.6rem;
  }
  
  .article-body h3 {
    font-size: 1.3rem;
  }
  
  .comparison-table {
    font-size: 0.9rem;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 10px;
  }
  
  .contact-cta-box {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .blog-article-hero {
    padding: 100px 0 60px;
  }
  
  .blog-article-hero h1 {
    font-size: 1.6rem;
  }
  
  .article-body h2 {
    font-size: 1.4rem;
  }
  
  .article-body h3 {
    font-size: 1.2rem;
  }
  
  .article-body p,
  .article-body ul li {
    font-size: 1rem;
  }
}
