/*
Theme Name: Steampunk Digital Clean
Description: Clean minimal WordPress theme for Steampunk Digital blog with custom header and footer, no Elementor dependencies.
Version: 1.0.0
Author: Steampunk Digital
Text Domain: steampunk-digital-clean
*/

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

/* Steampunk Digital Header */
.site-header {
  background-color: #f5f5f5;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.header-logo-icon img {
  width: 55px;
  height: 40px;
  object-fit: contain;
}

.header-company-name {
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #b08d57;
  display: none;
  text-decoration: none;
}

@media (min-width: 768px) {
  .header-company-name {
    display: inline;
  }
}

.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .header-nav {
    display: flex;
  }
}

.nav-link {
  color: #191919;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #b08d57;
}

.nav-link.active {
  font-weight: 600;
}

.mobile-menu-button {
  display: block;
  padding: 0.5rem;
  border-radius: 0.375rem;
  color: #191919;
  background: none;
  border: none;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-button {
    display: none;
  }
}

.mobile-menu-icon {
  height: 1.5rem;
  width: 1.5rem;
}

.mobile-nav {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
}

.mobile-nav.active {
  display: block;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: #191919;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #b08d57;
  background-color: #f9fafb;
}

/* Main content area */
.site-main {
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer */
.site-footer {
  background-color: #f5f5f5;
  border-top: 1px solid #e5e7eb;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 2fr;
  }
}

.footer-section-title {
  font-weight: 500;
  color: #4b4b4b;
  margin-bottom: 1rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: #4b4b4b;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #b08d57;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social-link {
  color: #4b4b4b;
  transition: color 0.2s ease;
}

.footer-social-link:hover {
  color: #b08d57;
}

.footer-social-icon {
  height: 1.5rem;
  width: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 55px;
  height: 40px;
  object-fit: contain;
}

.footer-company-name {
  font-family: 'Cinzel', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #191919;
}

.footer-contact-email {
  color: #4b4b4b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-email:hover {
  color: #b08d57;
}

.footer-copyright {
  border-top: 1px solid #e5e7eb;
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
}

.footer-copyright-text {
  font-size: 0.875rem;
  color: #4b4b4b;
}

/* WordPress content styling */
.page {
  background: white;
}

.post {
  background: white;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.entry-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #191919;
}

.entry-content {
  line-height: 1.7;
}

.entry-content h1, .entry-content h2, .entry-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #191919;
}

.entry-content p {
  margin-bottom: 1rem;
}

.entry-content a {
  color: #b08d57;
  text-decoration: none;
}

.entry-content a:hover {
  text-decoration: underline;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 0.375rem;
}

.entry-meta {
  color: #4b4b4b;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Post navigation */
.post-navigation {
  margin: 2rem 0;
  padding: 1.5rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
  flex: 1;
}

.post-navigation .nav-next {
  text-align: right;
}

.post-navigation a {
  color: #b08d57;
  text-decoration: none;
  font-weight: 500;
}

.post-navigation a:hover {
  text-decoration: underline;
}

/* Entry footer */
.entry-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.entry-tags {
  color: #4b4b4b;
  font-size: 0.875rem;
}

.entry-tags a {
  color: #b08d57;
  text-decoration: none;
}

.entry-tags a:hover {
  text-decoration: underline;
}

/* Meta separator */
.meta-separator {
  color: #4b4b4b;
}

/* Ensure single posts have proper spacing */
.single-post {
  margin-bottom: 0;
}

/* Comments */
.comments-area {
  margin: 2rem 0;
  padding: 2rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Pagination */
.pagination {
  margin: 2rem 0;
  text-align: center;
}

.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.pagination a,
.pagination .current {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  text-decoration: none;
  font-weight: 500;
}

.pagination a {
  color: #b08d57;
  background: white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.pagination a:hover {
  background: #f9fafb;
}

.pagination .current {
  background: #b08d57;
  color: white;
}

/* Responsive */
@media (max-width: 640px) {
  .post, .post-navigation, .comments-area {
    padding: 1rem;
  }
  
  .entry-title {
    font-size: 1rem;
  }
  
  .post-navigation .nav-links {
    flex-direction: column;
  }
  
  .post-navigation .nav-next {
    text-align: left;
  }
}