/* main.css - Clearwaters Collective */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;1,400&family=Sonsie+One&display=swap');

/* =======================
   Design System Colors
========================== */
:root {
  --fog: #D9D9D9;
  --evergreen: #5A7035;
  --marina: #1F8499;
  --twilight: #E3C7EB;
  --pale-sky: #BCE2EB;
  --evening-sun: #EB984F;
  --dry-sea-grass: #DFEBCC;
  --white: #FFFFFF;
  --black: #000000;
}

/* =======================
   Global Base Styles
========================== */
body {
  font-family: 'Lora', serif;
  font-size: 12px;
  color: var(--black);
  background-color: var(--dry-sea-grass);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}
main {
  text-align: center;
}
a {
  color: var(--marina);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--evening-sun);
}

/* =======================
   Headings
========================== */
h1, h2, h3, h4, h5 {
  font-family: 'Sonsie One', cursive;
  color: var(--marina);
}

h1 { font-size: 36px; }
h2 { font-size: 32px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 16px; }

/* =======================
   Navigation
========================== */
#mainNav {
  overflow: hidden;
  margin: 0;
  display: block;
  position: fixed;
  background-color: var(--evergreen);
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  height: 47px;
  z-index: 999;
}

#mainNav a {
  float: left;
  margin: 0;
  display: inline-block;
  color: var(--white);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

#mainNav a:hover {
  background-color: var(--twilight);
  color: var(--evergreen);
  font-weight: 900;
}

#mainNav-right .active {
  background-color: var(--evening-sun);
  color: var(--white);
}

#mainNav-right {
  float: right;
}

/* =======================
   Header Section
========================== */
.home_bg {
  padding: 80px 20px 20px;
  background: #e0f7fa;
  text-align: left;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.logo {
  width: 150px;
  height: auto;
}

/* =======================
   Sections and Footer
========================== */
section {
  padding: 2em;
}

footer {
  background-color: var(--fog);
  text-align: center;
  padding: 1em;
  font-size: 12px;
}

footer p {
  margin: 0.25em 0;
}

/* =======================
   Lists
========================== */
ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 1em;
}


.team-grid,
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
}

.team-grid article,
.partner-grid article {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 200px;
  text-align: center;
}

.team-grid img,
.partner-grid img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.hero-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: transparent;
  min-height: 400px;
  padding: 4em 2em;
  color: var(--white);
  position: relative;
}

.about-hero {
  background-image: url("../images/About Page/About Page Background Beach Hiker.jpg");
}

.community-hero {
  background-image: url("../images/Home Images/Home-Page-Background-Beach-Hiker.jpg");
}

.team-hero {
  background-image: url("../images/Community Page/Community-Sunset-Beach.jpg");
}

.product-hero {
  background-image: url("../images/Home Page/About-Page-Background-Beach-Hiker.jpg");
}

.contact-hero {
  background-image: url("../images/Home Page/About-Page-Background-Beach-Hiker.jpg");
}

/* Center all text content in Our Team page */
.team-section,
.partners-section,
.team-section h2,
.team-section h3,
.partners-section h2,
section h2,
section h3 {
  text-align: center;
}

/* Ensure partner and team containers are centered */
.team-grid,
.partner-grid {
  justify-content: center;
  text-align: center;
}

/* Center the final call-to-action section */
section > article {
  text-align: center;
}

/* Center the Useful Links section */
section:last-of-type {
  text-align: center;
}

.order-now {
  text-align: center;
}

/* Community Page Layout */
.community-content {
  text-align: center;
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.community-actions article {
  max-width: 400px;
}

.pledge-section img {
  margin: 10px;
}
/* Specific to Community Page */
.community-content {
  text-align: center;
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.community-content section {
  text-align: center;
}

header {
  padding-top: 60px; /* prevents logo from being cut off */
}

.two-column {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.two-column .text {
  flex: 1;
}
.two-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.pledge-icon {
  width: 200px; /* adjust size as needed */
  height: auto;
  display: block;
  margin: 0 auto;
}