/* ===============================
   GLOBAL.CSS - Shared Styles
   =============================== */

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

html, body {
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  scroll-behavior: smooth;

}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===============================
   VARIABLES
   =============================== */
:root {
  --white: #ffffff;
  --black: #000000;
  --gray-lightest: #ECEFF1;
  --gray-dark: #f5f5f5;
  --text-dark: #000;
  --green-dark: #166539;
  --green-hover: #2f7c00;


  --font-md: 1.1rem;
  --font-xl: 2rem;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 10%;

  --radius-sm: 10px;
  --radius-md: 12px;
  --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.05);
  --transition-fast: 0.3s ease;
  --transition-medium: 0.6s ease;
  --translate-sm: 20px;
}

/* ===============================
   CONTAINERS / LAYOUT
   =============================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* ===============================
   BUTTONS
   =============================== */
.btn {
  display: inline-block;
  background-color: var(--green-dark);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.btn:hover {
  background-color: #2f7c00;
;
}

/* ===============================
   HEADER / NAVIGATION
   =============================== */
/* Header Styles */
/* Header Base */
#site-header {
  background: var(--white);
  padding: 1rem 2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 1000;
}

#site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
  color: var(--green-dark);
  text-decoration: none;
  gap: 0.5rem;
  background-color: var(--white);
}

.logo img {
  height: 60px;
  width: auto;
  background-color: var(--white);
}

/* Navigation */
.nav-menu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2.5rem;
}

.nav-menu a {
  text-decoration: none;
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
  white-space: nowrap; /* prevent "News & Blog" line break */
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--green-dark);

}

/* Burger menu (mobile only) */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 25px;
  height: 3px;
  background: var(--green-dark);
  border-radius: 2px;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu.active {
    max-height: 400px;
    border-top: 1px solid var(--gray-light);
  }

  .nav-menu ul {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  .burger {
    display: flex;
  }
}


/* ===============================
   FOOTER
   =============================== */
/* Import Font */
footer {
  font-family: 'outfit', sans-serif;
  padding: var(--space-xl) var(--space-lg);
  background: linear-gradient(to right, #0b3d2e, #16693c); /* green gradient */
  color: var(--white, #fff);
}

/* Center the grid container */
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h4 {
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 600;
  border-bottom: 2px solid var(--green-light, #00cc66);
  display: inline-block;
  padding-bottom: 0.3rem;
  color: var(--green-light, #00cc66);
}

.footer-section a,
.footer-section p {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--gray-light, #e0e0e0);
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-sm);
  font-size: 0.85rem;
  color: var(--gray-light, #ccc);
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: left;
  }
}



/* Banner Styles */
.banner {
  position: relative;
  height: 300px;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;

  /* animation base */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}
.banner.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Background image fully fills the container */
.banner-image {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  filter: brightness(0.5) sepia(0.2); /* dimmed with slight purple tone */
  z-index: 1;

  /* animate */
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}
.banner-image.visible {
  opacity: 1;
  transform: scale(1);
}

/* Optional soft purple overlay (if you want stronger tint) */
.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  /*background: rgba(102, 51, 153, 0.25); /* soft purple tint */
  z-index: 2;

  /* animate */
  opacity: 0;
  transition: opacity 0.6s ease-out;
}
.banner.visible::before {
  opacity: 1;
}

/* Overlay text centered */
.banner-overlay {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;

  /* animate */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}
.banner-overlay.visible {
  opacity: 1;
  transform: translateY(0);
}

.banner-overlay h1 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
  margin: 0;
}

