:root {
  --primary: #000000;
  --background: #ffffff;
  --text: #1a1a1a;
  --muted: #666666;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
}

.hamburger-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  cursor: pointer;
  z-index: 1000;
  padding: 15px;
}
.bar {
  width: 30px;
  height: 2px;
  background-color: var(--primary);
  margin: 6px 0;
  transition: var(--transition);
}

.hamburger-menu.active .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}
.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.98);
  transform: translateX(100%);
  transition: var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-menu.active {
  transform: translateX(0);
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.nav-link {
  color: var(--primary);
  text-decoration: none;
  font-size: 2rem;
  font-weight: 700;
  transition: var(--transition);
}

.nav-link:hover {
  transform: scale(1.1);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.site-title {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}
.site-description {
  font-size: 1.2rem;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 1s ease forwards 0.3s;
}

/* Blog Grid */
.blog-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-post {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  opacity: 0;
  animation: fadeUp 1s ease forwards;
  }

.post-image {
  height: 200px;
  background: #f5f5f5;
  filter: grayscale(100%);
  transition: var(--transition);
}

.blog-post:hover .post-image {
  filter: grayscale(0);
}

.post-content {
  padding: 1.5rem;
}

.post-content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.post-excerpt {
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.post-date {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Responsive Design */
@media (max-width: 768px) {
  .site-title {
    font-size: 3rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}
/* Blog Page Styles */
.blog-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 20px;
}
.blog-post-full {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}
.post-header {
  text-align: center;
  margin-bottom: 2rem;
}
.post-header h1 {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}
.post-meta {
  color: var(--muted);
  font-size: 0.9rem;
}
.post-meta > * + * {
  margin-left: 1rem;
}
.post-featured-image {
  height: 400px;
  background: #f5f5f5;
  margin: 2rem 0;
  filter: grayscale(100%);
  transition: var(--transition);
}
.post-featured-image:hover {
  filter: grayscale(0);
}
.post-body {
  font-size: 1.1rem;
  line-height: 1.8;
}
.post-body h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
}
.post-body p + p {
  margin-top: 1.5rem;
}
.post-body blockquote {
  border-left: 4px solid var(--primary);
  margin: 2rem 0;
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--muted);
}
.post-body ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}
.post-body li + li {
  margin-top: 0.5rem;
}
.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.post-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tag {
  background: rgba(0, 0, 0, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  transition: var(--transition);
}
.tag:hover {
  background: rgba(0, 0, 0, 0.1);
}
.related-posts {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.related-posts h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
/* Responsive adjustments for blog */
@media (max-width: 768px) {
  .blog-content {
    padding: 100px 20px;
  }
  .post-header h1 {
    font-size: 2rem;
  }
  .post-featured-image {
    height: 250px;
  }
  .post-body {
    font-size: 1rem;
  }
}

/* Blog Page Styles */
.blog-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 20px;
}
.blog-post-full {
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}
.post-header {
  text-align: center;
  margin-bottom: 2rem;
}
.post-header h1 {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 1rem;
}
.post-meta {
  color: var(--muted);
  font-size: 0.9rem;
}
.post-meta > * + * {
  margin-left: 1rem;
}
.post-featured-image {
  height: 400px;
  background: #f5f5f5;
  margin: 2rem 0;
  filter: grayscale(100%);
  transition: var(--transition);
}
.post-featured-image:hover {
  filter: grayscale(0);
}
.post-body {
  font-size: 1.1rem;
  line-height: 1.8;
}
.post-body h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 2rem 0 1rem;
}
.post-body p + p {
  margin-top: 1.5rem;
}
.post-body blockquote {
  border-left: 4px solid var(--primary);
  margin: 2rem 0;
  padding-left: 1.5rem;
  font-style: italic;
  color: var(--muted);
}
.post-body ul {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}
.post-body li + li {
  margin-top: 0.5rem;
}
.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.post-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.tag {
  background: rgba(0, 0, 0, 0.05);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  transition: var(--transition);
}
.tag:hover {
  background: rgba(0, 0, 0, 0.1);
}
.related-posts {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.related-posts h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* Search Container */
.search-container {
  position: relative;
  width: 50%;
  max-width: 500px;
}

/* Search Input Styling */
.search-input {
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 25px; /* Curved edges */
  outline: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1/* Responsive adjustments for blog */
@media (max-width: 768px) {
  .blog-content {
    padding: 100px 20px;
  }
  .post-header h1 {
    font-size: 2rem;
  }
  .post-featured-image {
    height: 250px;
  }
  .post-body {
    font-size: 1rem;
  }
} 
/* Search and Filter Styles */
.blog-archive {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.search-section {
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}
/* Centering the search bar */
.search-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
});
  background-color: white;
  padding-left: 40px; /* Prevent overlap with icon */
}

/* Black glow effect when focused */
.search-input:focus {
  border-color: #000; /* Black border */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8); /* Black glow effect */
  transform: scale(1.05);
}

/* Search Icon */
.search-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="gray"><path d="M21.71 20.29l-5.4-5.4A7.93 7.93 0 0018 10a8 8 0 10-8 8 7.93 7.93 0 004.89-1.71l5.4 5.4a1 1 0 001.42-1.42zM4 10a6 6 0 116 6 6 6 0 01-6-6z"></path></svg>') no-repeat center;
  background-size: contain;
}

/* Search and Filter Styles */
.blog-archive {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-archive {
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.filter-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.filter-group {
  margin-bottom: 1.5rem;
}
.filter-group h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}
.filter-option:hover {
  color: var(--primary);
}
.filter-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid var(--primary);
  cursor: pointer;
}
/* Responsive adjustments */
@media (max-width: 768px) {
  .filter-container {
    grid-template-columns: 1fr;
  }
}
/* Remove default blue color and underline */
.blog-post h2 a {
  color: black; /* Black text */
  text-decoration: none; /* Remove underline */
  font-weight: bold; /* Make it stand out */
  transition: color 0.3s ease; /* Smooth hover effect */
}

/* Change color on hover */
.blog-post h2 a:hover {
  color: #333; /* Darker shade on hover */
}
