body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #fafafa;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1000px;
  margin: auto;
}

/* ----- Header Styles ----- */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.no-more {
  text-align: center;
  font-size: 1.1em;
  color: #555;
  padding: 20px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}


/* Common gap / spacing utility */
.gap {
  width: 100%;
  height: 40px; /* default vertical space */
}

/* For smaller screens, slightly reduce the gap */
@media (max-width: 600px) {
  .gap {
    height: 25px;
  }
}


.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #111;
  font-weight: 600;
  font-size: 1.2em;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 8px;
}

/* Navigation */
.main-nav {
  display: flex;
  gap: 20px;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.main-nav a:hover {
  color: #000;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  font-size: 1.6em;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

/* ----- Responsive Styles ----- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 65px;
    right: 0;
    width: 100%;
    border-top: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
    margin: auto;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }
}

  .not-found-container {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    max-width: 400px;
  }

  .not-found-container h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #ff6b6b;
  }

  .not-found-container p {
    font-size: 18px;
    margin-bottom: 30px;
  }

  .not-found-container a {
    display: inline-block;
    padding: 12px 25px;
    background: #4e73df;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
  }

  .not-found-container a:hover {
    background: #2e59d9;
  }

  /* Optional small animation */
  .not-found-container h1 {
    animation: bounce 1s infinite;
  }

  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-size: 1.2em;
}

.logo img {
  width: 40px;
  margin-right: 8px;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #555;
  font-weight: 500;
}

nav a:hover {
  color: #000;
}

.posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.post {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.2s;
}

.post-details img {
    width: 100%;
    object-fit: cover;
}

.post:hover {
  transform: translateY(-5px);
}

.post img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.post h2 {
  font-size: 1.1em;
  margin: 10px;
}

.post p {
  font-size: 0.9em;
  padding: 0 10px 15px 10px;
  color: #666;
}

footer {
  text-align: center;
  padding: 20px 0;
  background: #fff;
  margin-top: 40px;
  border-top: 1px solid #eee;
}

/* Contact Form */
.contact-form {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  margin-top: 20px;
}

.contact-form label {
  display: block;
  margin: 10px 0 5px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 94%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
}

.contact-form button {
  background: #111;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: #333;
}

.success {
  color: green;
  margin-top: 10px;
}

.error {
  color: red;
  margin-top: 10px;
}

