/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f7fa;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}
/* Global Styles */
:root {
  --primary: #2563eb;
  --secondary: #7c3aed;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #94a3b8;
}

/* 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 a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  color: #fbbf24;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
}

.logo span {
  color: #fbbf24;
}

nav ul {
  display: flex;
}

nav ul li a {
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #fbbf24;
}

/* Category Header */
.category-header {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.category-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.breadcrumb li {
  margin: 0 0.5rem;
  position: relative;
}

.breadcrumb li:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -0.75rem;
}
/* Reusing styles from gadgets.html with fashion-specific tweaks */
.category-header {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}
.fashion-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.fashion-category {
  background: white;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}
.fashion-category:hover {
  transform: translateY(-5px);
}
.fashion-category img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

/* 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;
  }
}
