@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Raleway:wght@300;400;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Open Sans', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.7;
  font-size: 15px;
}

a { color: #333; text-decoration: none; transition: color 0.2s; }
a:hover { color: #77ced3; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  color: #333;
  margin-bottom: 10px;
}

/* Header */
.site-header {
  text-align: center;
  padding: 40px 20px 30px;
  border-bottom: 1px solid #eee;
}

.site-title {
  font-family: 'Raleway', sans-serif;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.site-title a { color: #333; }

/* Navigation */
.main-nav {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.main-nav li { position: relative; }

.main-nav a {
  display: block;
  padding: 15px 18px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
}

.main-nav a:hover { color: #77ced3; }

.main-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 200;
}

.main-nav li:hover .sub-menu { display: block; }

.main-nav .sub-menu a {
  padding: 10px 20px;
  font-size: 12px;
  text-transform: lowercase;
  font-weight: 400;
  letter-spacing: 0;
}

/* Layout */
.content-area {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  padding: 40px 20px;
}

.main-content { flex: 1; min-width: 0; }

.sidebar {
  width: 300px;
  flex-shrink: 0;
}

/* Blog Posts */
.post {
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid #eee;
}

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

.post-title {
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 8px;
  line-height: 1.3;
}

.post-title a { color: #333; }
.post-title a:hover { color: #77ced3; }

.post-meta {
  font-size: 12px;
  color: #999;
  margin-bottom: 15px;
  font-family: 'Raleway', sans-serif;
}

.post-meta a { color: #999; }
.post-meta a:hover { color: #77ced3; }

.post-image {
  width: 300px;
  height: 300px;
  float: left;
  margin: 0 30px 20px 0;
  overflow: hidden;
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.post-content {
  overflow: hidden;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  color: #77ced3;
  font-weight: 600;
}

.read-more:hover { color: #5bb8c0; }

.post-footer {
  clear: both;
  font-size: 12px;
  color: #999;
  margin-top: 15px;
  font-family: 'Raleway', sans-serif;
}

.post-footer a { color: #999; }
.post-footer a:hover { color: #77ced3; }

/* Sidebar */
.widget {
  margin-bottom: 40px;
}

.widget-title {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/* Author Widget */
.author-widget {
  text-align: center;
}

.author-avatar {
  width: 125px;
  height: 125px;
  border-radius: 50%;
  margin-bottom: 15px;
}

.author-name {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 10px;
}

.author-bio {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f5f5f5;
  color: #555;
  font-size: 14px;
  transition: all 0.2s;
}

.social-links a:hover {
  background: #77ced3;
  color: #fff;
}

/* Newsletter */
.newsletter-form input[type="email"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  margin-bottom: 10px;
}

.newsletter-form button {
  width: 100%;
  padding: 12px;
  background: #77ced3;
  color: #fff;
  border: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-form button:hover { background: #5bb8c0; }

/* Category Links */
.category-list {
  list-style: none;
}

.category-list li {
  padding: 8px 0;
  border-bottom: 1px solid #f5f5f5;
}

.category-list a {
  font-size: 14px;
  color: #555;
  display: flex;
  justify-content: space-between;
}

.category-list a:hover { color: #77ced3; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ddd;
  font-size: 14px;
  font-family: 'Raleway', sans-serif;
}

.pagination .current {
  background: #77ced3;
  color: #fff;
  border-color: #77ced3;
}

.pagination a:hover {
  background: #77ced3;
  color: #fff;
  border-color: #77ced3;
}

/* Recipe Page */
.recipe-header {
  text-align: center;
  margin-bottom: 40px;
}

.recipe-header h1 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 15px;
}

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

.recipe-image {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 30px;
  display: block;
}

.recipe-content {
  max-width: 700px;
  margin: 0 auto;
}

.recipe-content h2 {
  font-size: 22px;
  margin: 30px 0 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.recipe-content ul, .recipe-content ol {
  margin: 15px 0;
  padding-left: 25px;
}

.recipe-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Flour Blend Page */
.flour-ingredients {
  background: #f9f9f9;
  padding: 25px;
  margin: 20px 0;
  border-radius: 4px;
}

.flour-ingredients h3 {
  font-size: 18px;
  margin-bottom: 15px;
}

.flour-ingredients li {
  margin-bottom: 6px;
  font-size: 14px;
}

/* About Page */
.about-content {
  max-width: 700px;
  margin: 0 auto;
}

.about-content img {
  max-width: 100%;
  margin: 20px 0;
}

.about-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Contact Page */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  margin-bottom: 20px;
}

.contact-form textarea { height: 200px; resize: vertical; }

.contact-form button {
  padding: 14px 40px;
  background: #77ced3;
  color: #fff;
  border: none;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover { background: #5bb8c0; }

/* Footer */
.site-footer {
  text-align: center;
  padding: 30px 20px;
  border-top: 1px solid #eee;
  font-size: 12px;
  color: #999;
}

.site-footer a { color: #999; }
.site-footer a:hover { color: #77ced3; }

/* Clearfix */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive */
@media (max-width: 900px) {
  .content-area {
    flex-direction: column;
  }
  .sidebar { width: 100%; }
  .post-image {
    float: none;
    width: 100%;
    height: auto;
    margin: 0 0 20px 0;
  }
}

@media (max-width: 600px) {
  .main-nav ul { flex-direction: column; align-items: center; }
  .main-nav a { padding: 12px 20px; }
  .main-nav .sub-menu { position: static; box-shadow: none; background: #f9f9f9; }
  .site-title { font-size: 28px; }
  .post-title { font-size: 20px; }
}
