/* Town of Jackson, Wyoming - Custom Styles */

:root {
  --primary-color: #0f2f31;
  --secondary-color: #283370;
  --accent-color: #5a8a9c;
  --light-bg: #f8f9fa;
  --text-dark: #333333;
  --footer-bg: #1a1a1a;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
}

/* Header Styles */
.site-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 1.5rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
}

.site-subtitle {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0;
  font-weight: 300;
}

/* Navigation */
.navbar {
  background-color: var(--accent-color) !important;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.navbar-nav .nav-link {
  color: white !important;
  padding: 1rem 1.25rem !important;
  font-weight: 500;
  transition: background-color 0.3s ease;
  border-radius: 0;
}

.navbar-nav .nav-link:hover {
  background-color: rgba(0,0,0,0.2);
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}

/* Hero Image */
.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  margin-bottom: 2rem;
}

/* Content Sections */
.content-section {
  padding: 3rem 0;
}

h1 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--accent-color);
}

h2 {
  color: var(--secondary-color);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h3 {
  color: var(--text-dark);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.content-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  margin: 1.5rem 0;
}

/* Info Cards */
.info-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.info-card h3 {
  color: var(--primary-color);
  margin-top: 0;
}

/* Contact Info Box */
.contact-box {
  background: var(--light-bg);
  border-left: 4px solid var(--accent-color);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 6px;
}

/* Lists */
ul, ol {
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Links */
a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background-color: var(--footer-bg);
  color: #bbb;
  padding: 2.5rem 0 1.5rem;
  margin-top: 4rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Emergency Banner */
.emergency-banner {
  background-color: #d32f2f;
  color: white;
  padding: 0.75rem;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-image {
    height: 250px;
  }

  .site-title {
    font-size: 1.4rem;
  }

  .site-subtitle {
    font-size: 0.85rem;
  }

  h1 {
    font-size: 1.8rem;
  }
}
