/* FYI Haliburton — Main Stylesheet */
/* Color palette: Forest Green #1B4332, Amber #D97706, Cream #FAFAF7, Charcoal #1C1917 */

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&family=Source+Sans+3:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap');

/* ===========================
   CSS Custom Properties
=========================== */
:root {
  --green: #1B4332;
  --green-dark: #122d22;
  --green-light: #2D6A4F;
  --amber: #D97706;
  --amber-light: #F59E0B;
  --cream: #FAFAF7;
  --cream-dark: #F0EDE6;
  --charcoal: #1C1917;
  --charcoal-light: #44403C;
  --gray: #78716C;
  --gray-light: #D6D3D1;
  --white: #FFFFFF;
  --font-heading: 'Merriweather', Georgia, serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.08);
  --radius: 6px;
  --radius-lg: 12px;
}

/* ===========================
   Reset & Base
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--cream);
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* ===========================
   Typography
=========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--charcoal);
  margin-top: 0;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.375rem, 3vw, 1.875rem); margin-top: 2rem; }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); margin-top: 1.5rem; }

.main-content h2 {
  color: var(--green);
  border-bottom: 2px solid var(--cream-dark);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.main-content h3 {
  color: var(--green-light);
}

p {
  margin-top: 0;
  margin-bottom: 1.25rem;
}

ul, ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.4rem;
}

strong {
  font-weight: 700;
  color: var(--charcoal);
}

em {
  font-style: italic;
}

/* ===========================
   Navigation
=========================== */
.site-header {
  background-color: var(--green);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.navbar {
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--white) !important;
  text-decoration: none;
  padding: 0.9rem 0;
  letter-spacing: -0.01em;
}

.navbar-brand span.brand-fyi {
  color: var(--amber-light);
}

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

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2c255%2c255%2c0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  padding: 1.1rem 0.7rem !important;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--amber-light) !important;
  border-bottom-color: var(--amber-light);
}

/* ===========================
   Hero Section
=========================== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--green-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(18, 45, 34, 0.78) 0%,
    rgba(27, 67, 50, 0.65) 50%,
    rgba(18, 45, 34, 0.72) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 4rem 0;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-content .hero-lead {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.9);
  max-width: 640px;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.hero-badge {
  display: inline-block;
  background-color: var(--amber);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.hero-inner-page {
  min-height: 300px;
}

.hero-inner-page .hero-content {
  padding: 3rem 0;
}

.hero-inner-page .hero-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 0.5rem;
}

.hero-inner-page .hero-lead {
  font-size: 1.0625rem;
}

/* ===========================
   Feature Cards (Homepage)
=========================== */
.feature-section {
  background-color: var(--cream-dark);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--gray-light);
}

.feature-section .section-header {
  margin-bottom: 2rem;
}

.feature-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  color: var(--green);
  margin-bottom: 0.35rem;
}

.feature-section .section-lead {
  font-size: 1.0625rem;
  color: var(--charcoal-light);
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.feature-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-card-icon {
  font-size: 1.75rem;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.feature-card-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.6rem;
}

.feature-card-text {
  font-size: 0.9375rem;
  color: var(--charcoal-light);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}

.btn-card {
  display: inline-block;
  background-color: var(--green);
  color: var(--white) !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none !important;
  transition: background-color 0.2s ease;
  align-self: flex-start;
}

.btn-card:hover {
  background-color: var(--amber);
  color: var(--white) !important;
}

/* ===========================
   Main Content Area
=========================== */
.main-content {
  padding: 3rem 0 4rem;
}

.content-wrapper {
  max-width: 800px;
}

.content-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin: 1.5rem 0;
  width: 100%;
}

/* ===========================
   Sidebar / Quick Links
=========================== */
.sidebar {
  padding-left: 2rem;
}

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  border-top: 4px solid var(--green);
}

.sidebar-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--green);
  margin-bottom: 1rem;
}

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

.sidebar-nav li {
  margin-bottom: 0;
  border-bottom: 1px solid var(--cream-dark);
}

.sidebar-nav li:last-child {
  border-bottom: none;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0;
  color: var(--charcoal);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-nav a:hover {
  color: var(--amber);
}

.sidebar-nav a i {
  color: var(--green-light);
  font-size: 1rem;
  width: 1.25rem;
}

/* ===========================
   Inline Image Callout
=========================== */
.img-callout {
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.img-callout img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  margin: 0;
}

.img-callout-caption {
  background: var(--green);
  color: rgba(255,255,255,0.88);
  font-size: 0.875rem;
  font-style: italic;
  padding: 0.75rem 1.25rem;
}

/* ===========================
   Contact Form
=========================== */
.contact-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}

.contact-section h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  color: var(--green);
  margin-bottom: 1.25rem;
  border-bottom: 2px solid var(--cream-dark);
  padding-bottom: 0.5rem;
}

.form-label {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}

.form-control, .form-select {
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--charcoal);
  background-color: var(--cream);
  padding: 0.65rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
  background-color: var(--white);
  outline: none;
}

.btn-submit {
  background-color: var(--green);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-submit:hover {
  background-color: var(--amber);
}

/* ===========================
   Business Directory
=========================== */
.category-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--green);
}

.category-card h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--green);
  margin-bottom: 0.75rem;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.category-card h3 i {
  color: var(--amber);
}

/* ===========================
   Info Chips / Badges
=========================== */
.info-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--cream-dark);
  color: var(--green);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  margin: 0.25rem 0.2rem;
}

.info-chip i {
  color: var(--amber);
}

/* ===========================
   Page Banner (non-hero)
=========================== */
.page-banner {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: var(--white);
  padding: 3rem 0 2.5rem;
}

.page-banner h1 {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.page-banner .banner-lead {
  color: rgba(255,255,255,0.85);
  font-size: 1.0625rem;
}

/* ===========================
   Season Cards
=========================== */
.season-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.season-card-header {
  background: var(--green);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.0625rem;
}

.season-card-header i {
  color: var(--amber-light);
  font-size: 1.1rem;
}

.season-card-body {
  padding: 1.25rem 1.5rem;
}

/* ===========================
   Footer
=========================== */
.site-footer {
  background-color: var(--green-dark);
  color: rgba(255,255,255,0.78);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.9375rem;
}

.footer-brand {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  display: block;
}

.footer-brand span {
  color: var(--amber-light);
}

.footer-tagline {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.footer-heading {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 1rem;
}

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

.footer-nav li {
  margin-bottom: 0.4rem;
}

.footer-nav a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--amber-light);
}

.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin: 2rem 0 1.25rem;
}

.footer-copyright {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
}

/* ===========================
   404 Page
=========================== */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.error-page .error-code {
  font-family: var(--font-heading);
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.error-page h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.error-page p {
  color: var(--charcoal-light);
  max-width: 480px;
  margin: 0 auto 2rem;
}

.btn-home {
  display: inline-block;
  background-color: var(--green);
  color: var(--white) !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  text-decoration: none !important;
  transition: background-color 0.2s ease;
  margin: 0.35rem;
}

.btn-home:hover {
  background-color: var(--amber);
}

.btn-outline-home {
  display: inline-block;
  border: 2px solid var(--green);
  color: var(--green) !important;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.65rem 2rem;
  border-radius: var(--radius);
  text-decoration: none !important;
  transition: all 0.2s ease;
  margin: 0.35rem;
}

.btn-outline-home:hover {
  background-color: var(--green);
  color: var(--white) !important;
}

/* ===========================
   Breadcrumb
=========================== */
.breadcrumb-bar {
  background: var(--cream-dark);
  border-bottom: 1px solid var(--gray-light);
  padding: 0.6rem 0;
}

.breadcrumb {
  margin: 0;
  padding: 0;
  background: none;
  font-size: 0.8125rem;
}

.breadcrumb-item a {
  color: var(--green-light);
}

.breadcrumb-item.active {
  color: var(--gray);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--gray-light);
}

/* ===========================
   Utilities
=========================== */
.text-green { color: var(--green) !important; }
.text-amber { color: var(--amber) !important; }
.bg-green { background-color: var(--green) !important; }
.bg-cream { background-color: var(--cream) !important; }

.section-padding {
  padding: 4rem 0;
}

.divider-amber {
  width: 60px;
  height: 3px;
  background-color: var(--amber);
  margin: 0.75rem 0 1.5rem;
}

/* ===========================
   Responsive Adjustments
=========================== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--green-dark);
    margin: 0 -1rem;
    padding: 0 1rem 1rem;
  }

  .navbar-nav .nav-link {
    padding: 0.65rem 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    border-left: none;
  }

  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    border-bottom-color: rgba(255,255,255,0.1) !important;
    color: var(--amber-light) !important;
  }

  .sidebar {
    padding-left: 0;
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 380px;
  }

  .main-content {
    padding: 2rem 0 3rem;
  }

  .feature-section {
    padding: 2.5rem 0;
  }
}
