/* =================================
CHAUCAT CLEAN ENERGY STYLE SYSTEM
================================= */

:root {

  --cat-dark: #1f4d36;
  --cat-mid: #2a5e45;
  --cat-accent: #3f8f63;
  --cat-light: #e8f2ec;
  --cat-white: #ffffff;

}

/* =================================
GLOBAL RESET
================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {

  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;

  /* background:linear-gradient(
180deg,
#5c8e72 0%,
#3d7458 25%,
#2a5e45 60%,
#1f4d36 100%
); */

  color: #1b1b1b;
  overflow-x: hidden;

}

section {
  margin: auto;
  padding: 3em 20% 3em 20%;
}


.sub-section {

  margin: auto;
  max-width: 80%;
  padding-bottom: 4em;
}


.mission {
  background-color: var(--cat-light);
  border-radius: 15px;
  border: 2px solid #0000005b;
  padding: 1em;

}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  color: var(--cat-light);
  text-shadow:
    3px 3px 0 #00000052,
    -1px -1px 0 #00000052,
    1px -1px 0 #00000052,
    -1px 1px 0 #00000052,
    1px 1px 0 #00000052;
}


h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  color: var(--cat-light);
  text-shadow:
    3px 3px 0 #00000052,
    -1px -1px 0 #00000052,
    1px -1px 0 #00000052,
    -1px 1px 0 #00000052,
    1px 1px 0 #00000052;
}


/* =================================
HERO
================================= */

.meow {

  height: 45vh;
  min-height: 500px;
  width: 100%;
  background-image: url("chaucat.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;

  overflow: hidden;
  /* box-shadow:0 25px 60px rgba(0,0,0,.35); */

}


.meow-map {

  height: 165px;
  width: 100%;
  background-image: url("chaucat.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;

  overflow: hidden;
  /* box-shadow:0 25px 60px rgba(0,0,0,.35); */

}


/* HERO OVERLAY */

.meow::after {

  content: "";
  position: absolute;

  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
 
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.35) 55%,
      rgba(31, 77, 54, 0.9) 100%); 

}

/* =================================
NAVIGATION
================================= */

.nav-hero {

  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);

  width: 90%;
  max-width: 1200px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  z-index: 10;

}

/* LOGO */

.nav-hero .logo img {

  height: 150px;
  width: 326px;
  object-fit: contain;

}

/* NAV LINKS */

.nav-links {

  list-style: none;
  display: flex;
  gap: 30px;

}

.nav-links a {

  color: white;
  text-decoration: none;
  font-weight: bolder;
  font-size: 1.2rem;

  text-shadow:
    3px 3px 0 #00000052,
    -1px -1px 0 #00000052,
    1px -1px 0 #00000052,
    -1px 1px 0 #00000052,
    1px 1px 0 #00000052;
  transition: opacity .2s;

}

.nav-links a:hover {

  opacity: .7;

}

/* =================================
HERO TEXT
================================= */

.hero-content-left {

  position: absolute;

  bottom: 12%;
  left: 10%;

  max-width: 520px;

  color: white;
  z-index: 5;

}

.hero-content-left h1 {

  font-size: 2.3rem;
  margin-bottom: 15px;

}

.hero-content-left p {

  font-size: 1rem;
  margin-bottom: 20px;

}

.cta-button {

  display: inline-block;

  padding: 12px 26px;

  background: var(--cat-accent);

  color: white;
  border-radius: 8px;

  text-decoration: none;
  font-weight: bold;

  transition: background .2s;

}

.cta-button:hover {

  background: var(--cat-mid);

}

/* =================================
WAVE TRANSITION
================================= */

.wave-divider {

  position: absolute;
  bottom: -1px;

  width: 100%;
  line-height: 0;

}

.wave-divider svg {

  width: 100%;
  height: 90px;
  display: block;

}


.wave-divider::after {

  content: "";
  position: absolute;
  bottom: -40px;
  left: 0;
  right: 0;

  height: 40px;

  background: linear-gradient(180deg,
      rgba(42, 94, 69, 0) 0%,
      rgba(42, 94, 69, 1) 100%);

}

/* =================================
MAP
================================= */

.map iframe {

  width: 100%;
  height: 600px;
  border: none;
  border-radius: 8px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);

}


#map {
  width: 80%;
  margin: auto;
}

/* =================================
gradient sections
================================= */

.body-grad {

  width: 100%;


  background: #1F4D36;
  background: linear-gradient(0deg, rgba(31, 77, 54, 1) 0%, rgba(31, 77, 54, 0.52) 25%, rgba(31, 77, 54, 1) 50%, rgba(31, 77, 54, 0.5) 75%, rgba(31, 77, 54, 1) 100%);
}



/* =================================
VIDEOS
================================= */

.video-section {

  background: var(--cat-dark);
  color: white;

  padding: 100px 20px;

  margin-top: 80px;

}

.video-section h2 {

  color: white;

}

.video-grid {

  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 40px;

  max-width: 1100px;
  margin: auto;

  margin-top: 40px;

}

.video-grid iframe {

  width: 100%;
  aspect-ratio: 16/9;

  border: none;
  border-radius: 8px;

  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);

}

/* =================================
NEWS
================================= */

.news-grid {

  display: grid;
  grid-template-columns: 1fr 1fr 1fr;

  gap: 30px;
  margin-top: 40px;

}

.news-card {

  padding: 25px;

  border-radius: 12px;

  background: white;

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);

  border-left: 6px solid var(--cat-accent);

  transition: transform .2s, box-shadow .2s;

}

.news-card:hover {

  transform: translateY(-5px);

  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);

}

/* =================================
PROJECTS
================================= */

.projects-grid {

  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 30px;

  margin-top: 40px;

}

.project-card {

  padding: 25px;

  border-radius: 12px;

  background: white;

  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);

  border-left: 6px solid var(--cat-mid);

  transition: transform .2s, box-shadow .2s;

}

.project-card:hover {

  transform: translateY(-5px);

  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);

}

/* =================================
FOOTER
================================= */

footer {

  text-align: center;

  padding: 40px;

  background: var(--cat-dark);

  color: white;

  font-size: 0.9rem;



}

/* =================================
MOBILE
================================= */

@media (max-width:900px) {

  section {
    margin: auto;
    padding: 3em 5% 3em 5%;
  }


  h2 {
    padding: 10%;
  }


  .nav-hero {

    flex-direction: column;
    align-items: flex-start;

    left: 20px;
    transform: none;

    gap: 10px;

  }

  .nav-hero .logo img {

    height: 90px;
    width: auto;

  }

  .nav-links {

    flex-wrap: wrap;
    gap: 15px;
    font-size: .9rem;

  }

  .hero-content-left {

    left: 20px;
    right: 20px;

    max-width: 90%;

  }

  .hero-content-left h1 {

    font-size: 1.7rem;

  }

  .hero-content-left p {

    font-size: .95rem;

  }

  .video-grid {

    grid-template-columns: 1fr;

  }

  .news-grid {

    grid-template-columns: 1fr;

  }

  .projects-grid {

    grid-template-columns: 1fr;

  }

  .map iframe {

    height: 450px;

  }

}



#afdc-stations {

width:100%;

height:600px;
min-height:600px;

position:relative;

}

#afdc-stations iframe,
#afdc-stations canvas,
#afdc-stations div {

height:100% !important;

}