/* Fonts and colors */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root {
  --primary-color: #ff5722;
  --secondary-color: #ffccbc;
  --text-color: #333;
  --card-bg: #fff;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {

  height: 100%;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  scroll-behavior: smooth;
  background: url('/img/bg.png') no-repeat center center fixed;
  background-size: cover;
}

/* Layout base */
body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 40px;
  overflow-x: clip; 
}

/* Sections */
section {
  width: 100vw;               /* Full width */
  
  padding: 100px 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}



/* Header */
header {
  width: 100vw;
  padding: 20px 15px;
  margin: 0px auto 10px;
  background: #fff;
  box-shadow: 0 4px 10px var(--shadow-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-sizing: border-box;
  position: relative; /* Needed for absolute positioning inside */
}

header h1 {
 color: #a7855a;
  font-weight: 700;
  font-size: 1.8rem;
  cursor: pointer;

}
header h1 span{
color:#c6c5c4;
}
#home {
  margin-top: -40px;
  min-height: 90vh;

  /* background: linear-gradient(to top, white, rgba(255, 255, 255, 0)) rgba(255, 255, 255, 0.344);
  background-blend-mode: lighten;  */
}


/* Home section layout */
#home .home-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 40px 20px;
  margin-top: -100px;
  
}

/* GIF styling */
.gif-box img {
  width: 250px;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
}

/* Text styling (as before) */
.center-text h1 {
  margin-top: 50px;
  font-family: "Audiowide", sans-serif;
  font-size: 5rem;
  color: #b68f5d;

}

.center-text h1 span {
  color: #989694;
  font-family: "Audiowide", sans-serif;
}

.center-text p {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  color: #555;
  margin: 10px 0;
  line-height: 1.6;
}
@media (max-width: 768px) {
  #home .home-content {
    flex-direction: column;
  }

  .center-text h1 {
    font-size: 3.5rem;
    text-align: center;
  }

  .gif-box img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }
}


/* Buttons */
header button {
  background-color: var(--primary-color);
  border: none;
  color: #fff;
  padding: 10px 18px;
  margin-left: 10px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1rem;
}

header button:hover {
  background-color: #e64a19;
}

/* Hamburger Button */
#hamburger {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  color: var(--primary-color);
  position: absolute;
  top: -10px;
  right: -140px;
  z-index: 10;
}

/* Nav Menu */
#navMenu {
  display: flex;
  gap: 10px;
  align-items: center;
}
#navMenu a{
  text-decoration-line: none;
  color: white;
}
/* Responsive Styles */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  #hamburger {
    display: block;
  }

  #navMenu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    display: none;
    margin-top: 60px; /* pushes it below hamburger */
  }

  #navMenu.show {
    display: flex;
  }

  #navMenu button {
    width: 100%;
    margin: 5px 0;
  }

  header h1 {
    margin-bottom: 10px;
  }
}
/* Intro text */
.intro-text {
  max-width: 900px;
     font-size: 2rem;
     
  margin: 0 auto 20px auto;
  color:var(--primary-color);
  text-align: center;
}

/* Filter Container */
/* Filters container style */
#filterContainer, #searchContainer {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
   
}

/* Search input box */
#locationSearch {
    padding: 8px 12px;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid #ccc;
    min-width: 220px;
    outline: none;
    transition: border-color 0.3s ease;
}

#locationSearch:focus {
    border-color: #009688;
}



#radiusFilter {
  padding: 8px 12px;
  font-size: 1rem;
  border-radius: 6px;
  border: 1.5px solid #ccc;
  cursor: pointer;
  min-width: 100px;
}
#filterContainer {
  width: 100%;
  max-width: 750px;
  background: #fff;
  padding: 12px 20px;
  margin: 0 0 25px 0; /* Remove auto centering */
  
  display: flex;
  align-items: center; /* 'left' is invalid here; use 'center' */
  justify-content: flex-start; /* aligns items to the left */
  gap: 10px;
  font-weight: 600;
  color: #6d4c41;
  flex-wrap: wrap;
}

/* About section layout */
#about {
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 10px;
  background-color: #ebe9e6;
  overflow: visible;
 
}


/* Events list (cards) */
#eventsList {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 0 10px;
  box-sizing: border-box;

}

/* Individual Event Card */
.event-card {
  background: var(--card-bg);
  padding: 18px 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 3px 8px var(--shadow-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease;
  word-break: break-word;
  text-align: left;
  border-bottom: 5px solid var(--primary-color);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.event-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: capitalize;
}

.event-card p {
  margin: 4px 0;
  color: #4e342e;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Direction link */
.direction-link {
  margin-top: 15px;
  padding: 8px 12px;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.direction-link:hover {
  background-color: #e64a19;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header button {
    margin-top: 10px;
    width: 100%;
  }

  #filterContainer {
    flex-direction: column;
    align-items: center;
  }

  section {
    padding: 80px 10px;
  }

  #eventsList {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .event-card {
    align-items: flex-start;
  }

  .direction-link {
    width: 100%;
    text-align: center;
  }
}

.bb-features {
  padding: 60px 20px;
  margin-top: -170px;
  background: linear-gradient(to top, white, rgba(255, 255, 255, 0)) rgba(255, 255, 255, 0.344);

  width: 100%;
  box-sizing: border-box;
}

.bb-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
  background-color: #c1bfbf89;
  border-radius: 10px;
  box-sizing: border-box;
}

.bb-feature-box {
  background: var(--card-bg);
  padding: 30px 20px;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s;
    border-bottom: 3px solid rgb(211, 114, 9);

}

.bb-feature-box:hover {
  transform: translateY(-5px);
}

.bb-feature-box i,
.bb-feature-box svg {
  width: 40px;
  height: 40px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.bb-feature-box h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.bb-feature-box p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* 🔁 Responsive for tablets */
@media (max-width: 768px) {
  .bb-features {
    padding: 40px 15px;
    margin-top: -30px;
  }

  .bb-feature-box {
    padding: 25px 15px;
  }

  .bb-feature-box h3 {
    font-size: 1.15rem;
  }

  .bb-feature-box p {
    font-size: 0.9rem;
  }
}

/* 🔁 Responsive for mobile */
@media (max-width: 480px) {
  .bb-feature-grid {
    grid-template-columns: 1fr;
  }

  .bb-feature-box i,
  .bb-feature-box svg {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
  }

  .bb-feature-box h3 {
    font-size: 1rem;
  }

  .bb-feature-box p {
    font-size: 0.85rem;
  }
}


.encourage-donate {
  background: #fefefe;
  padding: 80px 20px;
}

.encourage-donate .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  gap: 40px;
  flex-wrap: wrap;
}

.encourage-left img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.encourage-left img:hover {
  transform: rotate(0deg) scale(1.03);
}

.encourage-right {
  flex: 1;
  min-width: 280px;
}

.encourage-right h2 {
  font-size: 2.5rem;
  color:var(--primary-color);
  margin-bottom: 20px;
}

.encourage-right p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 12px;
}

.donate-btn {
  display: inline-block;
  margin-top: 20px;
  background-color:var(--primary-color);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.donate-btn:hover {
  background-color: #f17c15;
}






/* Pickup CTA Section */
.pickup-cta-section {
  background: #fff9f9;
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pickup-cta-container {
  max-width: 1200px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.pickup-cta-text {
  flex: 1;
  min-width: 300px;
}

.pickup-cta-text h2 {
  font-size: 2.4em;
  color: #ea731e;
  margin-bottom: 20px;
}

.pickup-cta-text p {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 30px;
}

.pickup-cta-btn {
  padding: 12px 26px;
  background: #ea731e;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pickup-cta-btn:hover {
  background: #e45c33;
}

.pickup-cta-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.pickup-cta-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}




  .about-section {
      background-color: #fff3ee;
      padding: 60px 20px;
    }

    .about-container {
      max-width: 1200px;
      margin: auto;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 40px;
    }

    .about-image img {
      width: 100%;
      max-width: 500px;
      border-radius: 20px;
      object-fit: cover;
    }

    .about-text {
      flex: 1;
      min-width: 300px;
      text-align: left;
    }

    .about-text h2 {
      color: #ff5722;
      font-size: 2.5rem;
      margin-bottom: 20px;
    }

    .about-text p {
      font-size: 1.1rem;
      line-height: 1.6;
      color: #444;
    }

    .about-highlights {
      display: flex;
      flex-wrap: wrap;
      margin-top: 20px;
      gap: 30px;
    }

    .highlight {
      flex: 1;
      min-width: 200px;
      border-left: 4px solid #ff6d00;
      padding-left: 15px;
      border-radius: 5px;
    }

    .highlight h4 {
      color: #ff6d00;
      margin-bottom: 8px;
    }

    .highlight p {
      margin: 0;
      color: #555;
    }

    .about-btn {
      display: inline-block;
      margin-top: 30px;
      background-color: #ff5722;
      color: white;
      padding: 12px 24px;
      border-radius: 25px;
      text-decoration: none;
      font-weight: 600;
      transition: background-color 0.3s;
    }

    .about-btn:hover {
      background-color: #e64a19;
    }

    @media (max-width: 768px) {
      .about-container {
        flex-direction: column;
        text-align: center;
      }

      .highlight {
        border-left: none;
        border-top: 4px solid #ff6d00;
        padding-left: 0;
        padding-top: 15px;
      }
    }


    .footer {
  width: 100%;
  background-color: #121212;
  color: #ddd;
  padding: 50px 20px 25px;
  font-family: 'Montserrat', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.footer-brand,
.footer-links {
  flex: 1 1 280px;
}

.footer h3 {
  font-size: 1.8rem;
  color: #f44336;
  margin-bottom: 15px;
}

.footer h4 {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer p,
.footer a {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.6;
  text-decoration: none;
}

.footer a:hover {
  color: #f44336;
  transition: color 0.3s ease;
}

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

.footer li {
  margin-bottom: 10px;
}

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