/* Global Styles */
:root {
  --primary: #2563eb;
  --secondary: #7c3aed;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #94a3b8;
}
img {
  object-fit: contain !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f1f5f9;
  color: var(--dark);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 1rem 0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  color: white;
}

.logo span {
  color: #fbbf24;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 1.5rem;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  color: #fbbf24;
}
/* Reuse styles from main CSS with additions */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.post-header {
  text-align: center;
  margin-bottom: 2rem;
}
.post-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #1e293b;
}
.post-meta {
  color: #64748b;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.featured-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 2rem;
}
.content-section {
  margin-bottom: 3rem;
}
.section-title {
  font-size: 1.5rem;
  color: #2563eb;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}
.pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
@media (min-width: 768px) {
  .pros-cons {
    grid-template-columns: 1fr 1fr;
  }
}
.pros {
  background: #f0fdf4;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #10b981;
}
.cons {
  background: #fef2f2;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #ef4444;
}
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}
.specs-table th,
.specs-table td {
  border: 1px solid #e2e8f0;
  padding: 12px;
  text-align: left;
}
.specs-table th {
  background-color: #f1f5f9;
}
.buy-now-box {
  background: #fffbeb;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #f59e0b;
  margin: 2rem 0;
  text-align: center;
}
.buy-now-btn {
  display: inline-block;
  background: #f59e0b;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 1rem;
  transition: all 0.3s;
}
.buy-now-btn:hover {
  background: #d97706;
  transform: translateY(-2px);
}
.price-comparison {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 2rem 0;
}
@media (min-width: 600px) {
  .price-comparison {
    grid-template-columns: 1fr 1fr;
  }
}
.store-card {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.store-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.author-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 3rem 0;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 8px;
}
.author-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

/* Footer */
footer {
  background: var(--dark);
  color: white;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: #fbbf24;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  color: var(--gray);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #334155;
  color: var(--gray);
  font-size: 0.9rem;
}

/* Blog Post Page Styles */
.blog-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.blog-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  list-style: none;
}

.breadcrumb li {
  margin: 0 0.5rem;
}

.breadcrumb li a {
  color: white;
  text-decoration: none;
}

.breadcrumb li:after {
  content: "›";
  margin-left: 0.5rem;
  color: white;
}

.breadcrumb li:last-child:after {
  content: "";
}

.blog-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  padding: 3rem 0;
}

.blog-content {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.blog-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.blog-meta {
  display: flex;
  margin-bottom: 1.5rem;
  color: var(--gray);
}

.blog-meta span {
  margin-right: 1rem;
  display: flex;
  align-items: center;
}

.blog-meta i {
  margin-right: 0.3rem;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #e2e8f0;
  padding: 12px;
  text-align: left;
}

.comparison-table th {
  background-color: #f1f5f9;
  font-weight: 600;
}

.comparison-table tr:nth-child(even) {
  background-color: #f8fafc;
}

.product-review {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 10px;
}

.product-review h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.pros,
.cons {
  padding: 1rem;
  border-radius: 5px;
}

.pros {
  background: #ecfdf5;
  border-left: 4px solid #10b981;
}

.cons {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
}

.buy-now-btn {
  display: inline-block;
  background: #10b981;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.buy-now-btn:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.sidebar {
  position: sticky;
  top: 20px;
}

.sidebar-widget {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

.popular-posts li {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.popular-posts li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.popular-posts a {
  color: var(--dark);
  text-decoration: none;
  transition: all 0.3s ease;
}

.popular-posts a:hover {
  color: var(--primary);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  background: #e2e8f0;
  color: var(--dark);
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  font-size: 0.8rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag:hover {
  background: var(--primary);
  color: white;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }

  nav ul {
    margin-top: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .blog-container {
    grid-template-columns: 1fr;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }
}
