/*
Theme Name: SolarGadgetsHub
Theme URI: https://www.solargadgetshub.com/
Author: nick
Description: Custom theme for SolarGadgetsHub
Version: 1.0
Text Domain: solargadgetshub
*/
/* 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: #11120d;
  background-color: #fffbf4;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.site-header {
  background: #11120d;
  color: #fffbf4;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  text-decoration: none;
  color: #fffbf4;
}
.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-navigation a {
  color: #fffbf4;
  text-decoration: none;
  transition: opacity 0.3s;
}

.main-navigation a:hover {
  opacity: 0.8;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fffbf4;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Main Content */
.main-content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 20px;
}

/* Post Header */
.post-header {
  margin-bottom: 2rem;
  text-align: center;
}

.post-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #11120d;
}

.post-meta {
  color: #fffbf4;
  font-size: 0.9rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.post-meta a {
  color: #fffbf4;
  text-decoration: none;
}

/* Featured Image */
.post-featured-image {
  margin: 2rem 0;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.post-featured-image figcaption {
  text-align: center;
  font-style: italic;
  color: #11120d;
  margin-top: 0.5rem;
}

/* Post Content */
.post-content {
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.post-content h2 {
  color: #11120d;
  margin: 2rem 0 1rem 0;
}

.post-content h3 {
  color: #11120d;
  margin: 1.5rem 0 1rem 0;
}

.post-content blockquote {
  border-left: 4px solid #d8cfbc;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #11120d;
}

.post-content ul {
  margin: 1rem 0;
  padding-left: 2rem;
}

/* Author Bio */
.author-bio {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: #d8cfbc;
  border-radius: 8px;
  margin: 3rem 0;
  align-items: center;
}

.author-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h3 {
  color: #11120d;
  margin-bottom: 0.5rem;
}

/* Post Navigation */
.post-navigation {
  display: flex;
  justify-content: space-between;
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid #d8cfbc;
  border-bottom: 1px solid #d8cfbc;
}

.nav-previous, .nav-next {
  max-width: 45%;
}

.nav-previous span, .nav-next span {
  display: block;
  font-size: 0.9rem;
  color: #11120d;
  margin-bottom: 0.5rem;
}

.nav-previous a, .nav-next a {
  color: #11120d;
  text-decoration: none;
  font-weight: 500;
}

.nav-previous a:hover, .nav-next a:hover {
  color: #d8cfbc;
}

/* Comments */
.comments {
  margin: 3rem 0;
}

.comments h2 {
  color: #11120d;
  margin-bottom: 2rem;
}

.comment-list {
  list-style: none;
  margin-bottom: 3rem;
}

.comment {
  background: #d8cfbc;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.comment-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-author cite {
  font-style: normal;
  font-weight: bold;
  color: #11120d;
}

.comment-respond {
  background: #fffbf4;
  padding: 2rem;
  border-radius: 8px;
}

.comment-respond h3 {
  color: #11120d;
  margin-bottom: 1.5rem;
}

.comment-respond label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.comment-respond input,
.comment-respond textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #d8cfbc;
  border-radius: 4px;
  font-family: inherit;
}

.comment-respond textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  margin-top: 1rem;
}

#submit {
  background: #d8cfbc;
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s;
}

#submit:hover {
  background: #d8cfbc;
}

/* Footer */
.site-footer {
  background: #11120d;
  color: white;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}


/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
      display: block;
  }

  .main-navigation ul {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: #2c3e50;
      padding: 1rem;
  }

  .main-navigation ul.active {
      display: flex;
  }

  .post-title {
      font-size: 2rem;
  }

  .post-meta {
      flex-direction: column;
      gap: 0.5rem;
  }

  .author-bio {
      flex-direction: column;
      text-align: center;
  }

  .post-navigation {
      flex-direction: column;
      gap: 1.5rem;
  }

  .nav-previous, .nav-next {
      max-width: 100%;
  }

}