/*
Theme Name: Dogbitehelp Theme
Theme URI: https://dogbitehelp.org/
Author: Dogbitehelp.org
Author URI: https://dogbitehelp.org/
Description: A lightweight WordPress theme to report dog bites
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dogbitetheme
*/

body {
  margin: 0;
  font-family: "Georgia", serif;
  background-color: #f5f3ef;
/* text color header and footer */
/* color: #333; */
	color: #ccc;
  line-height: 1.7;
}

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

a:hover {
  text-decoration: underline;
}

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

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

/* decription color */
header p {
  color: #ccc; /* Light gray text on dark background */
  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; */
  color: #ffffff;
  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; */
  color: #ffffff;
  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; */
  color: #ffffff;
  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
check for color differences */
.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 */
}
