/*
Theme Name: Season
Description: A clean, minimal theme for nail season blog with built-in ad spaces
Version: 1.0
Author: You
*/

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

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

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-size: 24px;
  font-weight: bold;
  color: #2c5530;
  text-decoration: none;
  display: inline-block;
}

.site-logo:hover {
  color: #1a3a1e;
}

.site-logo img,
.custom-logo {
  width: 100px;
  height: auto;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.main-nav a:hover {
  color: #2c5530;
}

/* Main content area */
.site-main {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

/* Ad space - top of content */
.ad-space-top {
  background: #f9f9f9;
  border: 2px dashed #ddd;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 40px;
  color: #999;
  font-size: 14px;
}

/* Blog post previews on homepage */
.post-preview {
  background: #fff;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.post-preview:last-child {
  border-bottom: none;
}

.post-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.post-title a {
  color: #333;
  text-decoration: none;
}

.post-title a:hover {
  color: #2c5530;
}

.post-meta {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.post-excerpt {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.read-more {
  display: inline-block;
  background: #2c5530;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
}

.read-more:hover {
  background: #1a3a1e;
}

/* Single post styles */
.single-post .post-title {
  font-size: 42px;
  margin-bottom: 20px;
}

.post-featured-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
}

.post-content {
  font-size: 18px;
  line-height: 1.8;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
}

/* Ad space - middle of content */
.ad-space-content {
  background: #f9f9f9;
  border: 2px dashed #ddd;
  padding: 40px 20px;
  text-align: center;
  margin: 40px 0;
  color: #999;
  font-size: 14px;
}

/* Post navigation */
.post-navigation {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
  padding: 20px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

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

.post-navigation a:hover {
  color: #1a3a1e;
}

.nav-previous {
  text-align: left;
}

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

/* Comments section */
.comments-area {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #eee;
}

.comments-title {
  font-size: 24px;
  margin-bottom: 30px;
  color: #333;
}

/* Footer */
.site-footer {
  background: #f8f8f8;
  padding: 40px 0;
  margin-top: 80px;
  text-align: center;
  color: #666;
  border-top: 1px solid #eee;
}

/* Mobile responsive */
@media (max-width: 400px) {
  .header-container {
    flex-direction: column;
    gap: 20px;
  }

  .main-nav ul {
    gap: 20px;
  }

  .site-main {
    padding: 0 15px;
  }

  .post-title {
    font-size: 28px;
  }

  .single-post .post-title {
    font-size: 32px;
  }
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-40 {
  margin-bottom: 40px;
}
