/* public_html/css/main.css - Shared styles for all pages */

:root {
  --primary-green: #2F9221;
  --accent-orange: #fc6812;
  --dark: #0a0a0a;
  --light: #f8f8f8;
  --text-light: #e0e0e0;
  --nav-bg: #444;
  --nav-hover: var(--primary-green);
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

/* ==================== TOP NAVIGATION ==================== */
#majorNavigationArea {
  background: var(--nav-bg);
  padding: 1rem;
  text-align: center;
}

#nav {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
}

#nav li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 0.8rem 1.5rem;
  transition: background 0.3s, color 0.3s;
  border-radius: 4px;
}

#nav li a:hover,
#nav li.active a {
  background: var(--nav-hover);
  color: white;
}

/* ==================== FOOTER - CENTER JUSTIFIED TEXT ==================== */
#wideFooterContainer {
  background: var(--dark);
  color: var(--text-light);
  padding: 2rem 1rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;        /* Center everything */
  gap: 2rem;
}

.footer-logo img {
  width: 90px;
  height: auto;
  display: block;
}

#footerAddress h4 {
  margin: 0.5rem 0;
  font-size: 1.1rem;
  text-align: center;             /* Center justified text */
  line-height: 1.5;
}

.highlight-green { color: var(--primary-green); }
.highlight-orange { color: var(--accent-orange); }

.footer-copyright {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 1.5rem;
  opacity: 0.8;
  color: #aaa;
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  #nav {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 1rem;
  }
}