/* Help Direct - Main Stylesheet */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.5em;
}

h2 {
  font-size: 2em;
}

h3 {
  font-size: 1.5em;
}

p {
  margin-bottom: 15px;
}

a {
  color: #2196F3;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #1976D2;
}

img.wp-smiley,
img.emoji {
  display: inline;
  border: none;
  box-shadow: none;
  height: 1em;
  width: 1em;
  margin: 0 .07em;
  vertical-align: -0.1em;
  background: none;
  padding: 0;
}

/* Container and Grid */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-lg-3 {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 15px;
}

.col-lg-9 {
  flex: 0 0 75%;
  max-width: 75%;
  padding: 0 15px;
}

/* Header Styles */
#masthead {
  background-color: #fff;
  padding: 30px 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 5px;
  position: sticky;
  top: 20px;
}

#masthead .hgroup {
  text-align: center;
}

#masthead .site-title {
  font-family: 'Amatic SC', cursive;
  font-size: 3em;
  margin-bottom: 10px;
  font-weight: 700;
}

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

#masthead .site-title a:hover {
  color: #2196F3;
}

#masthead .site-description {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.1em;
  color: #666;
  font-style: italic;
}

/* Logo Image */
.site-logo {
  max-width: 200px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}

/* Navigation */
.site-navigation {
  margin-top: 20px;
}

.nav-menu {
  list-style: none;
  padding: 0;
}

.nav-menu li {
  margin-bottom: 10px;
}

.nav-menu a {
  display: block;
  padding: 10px 15px;
  background-color: #f8f9fa;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

.nav-menu a:hover {
  background-color: #e9ecef;
}

/* Content Area */
#primary {
  background-color: #fff;
  padding: 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 5px;
}

#content {
  margin-bottom: 30px;
}

/* Article/Post Styles */
.post {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
}

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

.entry-title {
  color: #333;
  margin-bottom: 15px;
}

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

.entry-title a:hover {
  color: #2196F3;
}

.entry-meta {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 0.9em;
  color: #999;
  margin-bottom: 15px;
}

.entry-content {
  line-height: 1.8;
}

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

/* Featured Image */
.featured-image {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

/* Footer */
.site-info {
  padding: 20px;
  text-align: center;
  color: #666;
  font-size: 0.9em;
  border-top: 1px solid #e0e0e0;
  margin-top: 30px;
}

/* Back to Home Link */
.back-home {
  display: inline-block;
  padding: 10px 20px;
  background-color: #2196F3;
  color: #fff;
  border-radius: 3px;
  margin-bottom: 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.back-home:hover {
  background-color: #1976D2;
  color: #fff;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-family: Roboto, sans-serif;
  font-size: 1em;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-button {
  background-color: #2196F3;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.submit-button:hover {
  background-color: #1976D2;
}

/* Responsive Design */
@media (max-width: 991px) {
  .col-lg-3,
  .col-lg-9 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #masthead {
    position: relative;
    top: 0;
  }

  .row {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  #masthead .site-title {
    font-size: 2.5em;
  }

  h1 {
    font-size: 2em;
  }

  h2 {
    font-size: 1.5em;
  }

  .container {
    padding: 10px;
  }

  #primary {
    padding: 20px;
  }
}

/* Custom Background */
body.custom-background {
  background-color: #f5f5f5;
}

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

.mt-20 {
  margin-top: 20px;
}

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

.card {
  background-color: #fff;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 5px;
}

.card h3 {
  margin-bottom: 15px;
  color: #2196F3;
}

/* List Styles */
ul, ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

ul li, ol li {
  margin-bottom: 8px;
}
