/*
Theme Name: Coffee Journey
Theme URI: https://verygood.coffee/
Author: Coffee
Author URI: https://verygood.coffee/
Description: A comforting, lightweight WordPress theme about coffee—from farm to shop.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: coffeejourney
*/

body {
  margin: 0;
  font-family: "Georgia", serif;
  background-color: #f5f3ef;
  color: #333;
  line-height: 1.7;
}

a {
  color: #7b4f2c;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header, footer {
  background-color: #eaddd1;
  padding: 1rem 2rem;
  text-align: center;
}

main {
  padding: 2rem;
  max-width: 800px;
  margin: auto;
}

/** decription color **/
/**header p {**/
/**  color: #ccc; **/
/**  font-style: italic; **/
/**  margin: 0.5rem 0; **/
/**} **/

/* Navigation menu styles */
header nav ul {
  list-style: none;        /* Removes bullet points */
  padding: 0;
  margin: 0;
  display: flex;           /* Makes items horizontal */
  justify-content: center; /* Optional: center the menu */
  gap: 1.5rem;             /* Space between menu items */
}

header nav ul li {
  margin: 0;               /* Remove any default margins */
}

header nav ul li a {
  color: #7b4f2c;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #4a2d1f;
}

/* mobile nav menu */
/* Base navigation */
.main-nav {
  position: relative;
}

.main-nav .menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  padding: 0;
  margin: 1rem 0;
}

.main-nav .menu li {
  margin: 0;
}

.main-nav .menu a {
  color: #7b4f2c;
  text-decoration: none;
  font-weight: bold;
}

.main-nav .menu a:hover {
  color: #4a2d1f;
}

/* Toggle button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #7b4f2c;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin: 0 auto;
  }

  .main-nav .menu {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .main-nav .menu.open {
    display: flex;
  }
}

/* Sidebar widget */
.widget {
  margin-bottom: 2rem;
  padding: 1rem;
  background: #f8f5f1;
  border-radius: 5px;
}

.widget-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #7b4f2c;
}

/* Footer widget */
.footer-widgets {
  text-align: center;
  margin-bottom: 1rem;
}

.footer-widgets .footer-widget {
  display: block;   /* force them to stack */
  margin: 0 auto;   /* keep them centered */
  max-width: 400px; /* optional: limit width */
}

/* creates a two-column layout */
.content-with-sidebar {
  display: flex;
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
}

.main-content {
  flex: 3;
}

aside {
  flex: 1;
  background: #f8f5f1;
  padding: 1rem;
  border-radius: 5px;
}
