/* Theme Name: Jojo Eats Theme Theme URI: https://jojoeats.com Author: Reda Description: Custom theme for Jojo Eats Version: 1.0 */

/* ========== GLOBAL ========== */ body { font-family: 'Helvetica Neue', sans-serif; font-size: 16px; line-height: 1.6; color: #333; background-color: #fffefc; margin: 0; padding: 0; }

/* ========== HEADER ========== */
.site-header {
  background-color: #fff8f0;
  border-bottom: 1px solid #eee;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo a {
  font-size: 1.8rem;
  font-weight: bold;
  color: #8a2c0d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo a:hover {
  color: #c05c0b;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  font-size: 1rem;
  color: #5a2b10;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-menu li a:hover {
  color: #c05c0b;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #5a2b10;
  cursor: pointer;
  margin-left: auto;
}

/* ========== HEADER SEARCH ========== */
.header-search {
  margin-left: auto;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 300px;
  width: 100%;
}

.header-search form {
  display: flex;
  width: 100%;
}

.header-search input[type="search"] {
  padding: 8px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px 0 0 6px;
  width: 100%;
}

.header-search input[type="submit"] {
  padding: 8px 12px;
  background-color: #c05c0b;
  border: none;
  color: #fff;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.header-search input[type="submit"]:hover {
  background-color: #8a2c0d;
}

/* ========== RESPONSIVE HEADER ========== */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    padding-left: 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .header-search {
    width: 100%;
    margin-top: 15px;
    justify-content: center;
  }

  .header-search form {
    flex-direction: column;
    width: 100%;
  }

  .header-search input[type="search"],
  .header-search input[type="submit"] {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 8px;
  }
}

/* ========== POST META ========== */ .post-meta { font-size: 0.9em; color: #666; margin: 10px 0 20px; font-style: italic; }

/* ========== SIDEBAR ========== */ 
.site-sidebar .widget { background-color: #fff; border: 1px solid #eee; border-radius: 8px; padding: 15px 20px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03); }

.site-sidebar .widget-title { font-size: 1.1rem; color: #8a2c0d; border-bottom: 1px solid #e0d6c5; padding-bottom: 8px; margin-bottom: 15px; font-weight: bold; }

.site-sidebar .widget ul { list-style: none; margin: 0; padding: 0; }

.site-sidebar .widget ul li { padding: 8px 0; border-bottom: 1px dashed #f1e5d9; }

.site-sidebar .widget ul li:last-child { border-bottom: none; }

.site-sidebar .widget ul li a { color: #5a2b10; text-decoration: none; transition: color 0.3s ease; }

.site-sidebar .widget ul li a:hover { color: #c05c0b; text-decoration: underline; }

.site-sidebar .widget_search input[type="search"] { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 6px; font-size: 1rem; margin-bottom: 10px; }

.site-sidebar .widget_search input[type="submit"] { background-color: #c05c0b; border: none; color: white; padding: 10px 16px; font-size: 1rem; border-radius: 6px; cursor: pointer; transition: background-color 0.3s ease; }

.site-sidebar .widget_search input[type="submit"]:hover { background-color: #8a2c0d; }

.content-with-sidebar { display: flex; gap: 30px; margin-top: 30px; align-items: flex-start; flex-wrap: wrap; }

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

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

@media (max-width: 768px) { .content-with-sidebar { flex-direction: column; } .site-sidebar { width: 100%; margin-top: 20px; } .main-content { width: 100%; } }

/* ========== FOOTER ========== */ 
.site-footer { background-color: #fff8f2; color: #5a2b10; padding: 40px 0; border-top: 1px solid #e0d6c7; font-size: 15px; margin-top: 60px; }

.footer-grid { max-width: 1140px; margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }

.footer-column { flex: 1 1 200px; min-width: 220px; padding: 10px; }

.footer-column h4 { color: #6b2a10; font-size: 1.15rem; font-weight: 600; margin-bottom: 15px; border-bottom: 1px dashed #e0d6c5; padding-bottom: 8px; }

.footer-column ul { list-style: none; padding: 0; margin: 0; }

.footer-column ul li { margin-bottom: 8px; }

.footer-column ul li a { color: #5a2b10; text-decoration: none; transition: color 0.3s ease; }

.footer-column ul li a:hover { color: #c05c0b; text-decoration: underline; }

.footer-about { font-size: 1rem; line-height: 1.7; margin-top: 8px; color: #4d2a15; }

.social-links li { display: inline-block; margin-right: 16px; }

.social-links a { color: #7a2f0f; font-size: 1.2rem; transition: color 0.3s ease; }

.social-links a:hover { color: #c05c0b; text-decoration: underline; }

.footer-search { margin-top: 15px; }

.footer-search input[type="search"] { padding: 8px; border: 1px solid #ccc; border-radius: 6px 0 0 6px; width: 70%; font-size: 1rem; }

.footer-search input[type="submit"] { padding: 8px 12px; background-color: #c05c0b; border: none; color: white; border-radius: 0 6px 6px 0; cursor: pointer; transition: background-color 0.3s ease; }

.footer-search input[type="submit"]:hover { background-color: #8a2c0d; }

.footer-bottom { text-align: center; padding: 20px; font-size: 14px; background-color: #ffeae1; color: #5a2b10; border-top: 1px solid #e0d6c5; }

.footer-bottom a { color: #c05c0b; font-weight: bold; text-decoration: none; }

.footer-bottom a:hover { color: #8a2c0d; text-decoration: underline; }

.back-to-top { position: fixed; bottom: 30px; right: 30px; background-color: #b04515; color: #fff; padding: 12px 16px; border-radius: 6px; font-weight: bold; display: none; z-index: 999; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); transition: background-color 0.3s ease; font-size: 16px; }

.back-to-top:hover { background-color: #8a2c0d; }

@media (max-width: 768px) { .footer-grid { flex-direction: column; align-items: center; text-align: center; } .footer-column { width: 100%; margin-bottom: 30px; } .footer-search input[type="search"], .footer-search input[type="submit"] { width: 100%; margin-bottom: 12px; border-radius: 6px; } }

/* ========== SINGLE POST ========== */

.single-post h1 {
  font-size: 2rem;
  color: #8a2c0d;
  margin-bottom: 10px;
}

.single-post .post-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
  font-style: italic;
}

.single-post .post-thumbnail img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 20px;
}

.single-post .post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
}

.single-post .post-content p {
  margin-bottom: 1.4em;
}

.single-post .post-content h2,
.single-post .post-content h3 {
  color: #5a2b10;
  margin-top: 30px;
  margin-bottom: 10px;
}

.single-post .post-content ul,
.single-post .post-content ol {
  padding-left: 20px;
  margin-bottom: 20px;
}

.single-post .post-content li {
  margin-bottom: 8px;
}

.single-post .post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 20px 0;
}

.related-posts {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.related-posts h2 {
  font-size: 1.3rem;
  color: #8a2c0d;
  margin-bottom: 20px;
}

.related-posts ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.related-posts ul li {
  flex: 1 1 calc(50% - 15px);
}

.related-posts ul li a {
  color: #5a2b10;
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-posts ul li a:hover {
  color: #c05c0b;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .related-posts ul {
    flex-direction: column;
  }
  .related-posts ul li {
    width: 100%;
  }
}
/* ========== LOGO ========== */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 10px 0;
}

.custom-logo {
  max-height: 80px;
  height: auto;
  width: auto;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .custom-logo {
    max-height: 60px;
  }

  .logo {
    justify-content: center;
    text-align: center;
  }
}
