/* ============================================
   OLD HEADER STYLE — DISABLED
============================================ */

 /*
header {
  background: #333;
  color: white;
  padding: 15px 20px;
  text-align: center;
}

header nav {
  margin-top: 10px;
}

header nav a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}

header nav a:hover {
  text-decoration: underline;
}
*/


/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.slides img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slides img.active {
  opacity: 1;
}

.slider-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  background: rgba(0,0,0,0.5);
  padding: 20px;
  color: white;
  border-radius: 10px;
}

.slider-overlay h2 {
  font-size: 28px;
  margin-bottom: 10px;
}
.donate-btn {
  background-color: #f29e38;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
}

.donate-btn:hover {
  background-color: #d18429;
}

/* Sections */
section {
  padding: 40px 20px;
  text-align: center;
}

.gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 20px;
}

.gallery img {
  width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

footer {
  background: #333;
  color: white;
  padding: 15px;
  text-align: center;
}

/* site.css */
/* site.css */

.hero-slider {
  position: relative;
  width: 100%;
  height: 320px;  /* Your preferred height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider .slides {
  width: 100%;
  height: 100%;  /* 🔥 This is what was missing */
  position: relative;
}

.hero-slider .slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: block;
}

.hero-slider .slides img.active {
  opacity: 1;
  z-index: 1;
}

.slider-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 40px;
  border-radius: 10px;
}


.donate-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #f05a28;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
.rescue-section {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  font-family: 'Georgia', serif;
}

.rescue-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Fixed to 3 columns */
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  justify-items: center;
  align-items: start;
}


.rescue-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.rescue-gallery img:hover {
  transform: scale(1.03);
}


.rescue-gallery img:hover {
  transform: scale(1.03);
}

.hero-banner {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.banner-row {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  overflow: hidden;
}

.banner-row img {
  width: 33.33%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
}

.banner-overlay {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: white;
  background-color: rgba(0,0,0,0.5);
  padding: 20px;
  border-radius: 10px;
}

.donate-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 25px;
  background-color: #e91e63;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.donate-btn:hover {
  background-color: #c2185b;
}
.hero-row {
  position: relative;
  width: 100%;
  margin-bottom: 40px; /* adds spacing below */
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  overflow: hidden;
}

.image-row img {
  width: 33%;
  height: 300px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slider-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 20px 40px;
  border-radius: 10px;
}

.slider-overlay h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.donate-btn {
  background-color: #f05a28;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  font-weight: bold;
}
.image-row {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.image-row img {
  width: 30%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.banner-message {
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 20px 40px;
  border-radius: 12px;
  margin-top: 25px;
}

/* --- Optional Green Theme Override --- */

body {
  background-color: #F7F7F7; /* Whisper Gray stays */
  color: #1F2A40;
}

header {
  background-color: #276749; /* Emerald Green */
}

header nav a:hover {
  color: #68D391; /* Lighter Mint Green for hover */
}

.banner-message {
  background-color: #276749;
  color: #FFFFFF;
}

.donate-btn {
  background-color: #68D391; /* Soft mint green */
  color: #fff;
}

.donate-btn:hover {
  background-color: #2F855A; /* Slightly darker green */
}
body {
  background-color: #f7f7f7;
}

body {
  background-color: #e6f0f2;
}

body {
  background-color: #e6f0f2;
}
body {
  background-color: #fff4f0; /* Soft coral-cream blend */
}
body {
  background: linear-gradient(to bottom right, white, #f4f9f4);
}
.middle-banner {
  background-color: rgba(34, 139, 34, 0.65);  /* Soft transparent green */
  padding: 25px 0;
  text-align: center;
  color: white;
  font-size: 1.6rem;
  font-weight: bold;
  margin-top: 40px;
}

.middle-banner {
  background-color: rgba(34, 139, 34, 0.4);  /* Forest green with more transparency */
  padding: 25px 0;
  text-align: center;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 40px;
}
#about h2 {
  font-size: 2.5em;
  font-weight: 700;
  color: #333;
}

#about p {
  color: #444;
  line-height: 1.8;
  font-size: 1.1em;
}
/* Add this near the top of your site.css file */
body {
  background-color: #d3d3d3; /* Light to medium gray */
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Set darker gray background for entire page */
body {
    background-color: #2f2f2f; /* Dark Charcoal Gray */
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Optional: Keep inner sections bright */
section, header, footer, .content-area {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    max-width: 1100px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Section Header Strips */
.section-header-green {
    background: #2e7d32; /* Dark green */
    color: white;
    padding: 15px 0;
    border-radius: 6px;
    margin-bottom: 25px;
    text-align: center;
}

.section-header-gray {
    background: rgba(0,0,0,0.12); /* Transparent dark gray */
    color: #000;
    padding: 15px 0;
    border-radius: 6px;
    margin-bottom: 25px;
    text-align: center;
}

/* Fix section spacing after nav bar change */
.section-block {
    padding: 40px 20px;
}

/* Restore footer-style block */
.bottom-footer-section {
    margin-top: 50px;
    padding: 30px 20px;
    background: #f4f4f4;
    border-radius: 8px;
    text-align: center;
}
``
header {
    background-color: #276749; /* Emerald green */
    color: white;
    padding: 20px 0;
    text-align: center;
}

header nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
}

header nav a:hover {
    color: #68D391;  /* Mint green */
}

/* ============================
   FINAL NAV BAR FIX – OVERRIDES
   ============================ */

header {
    background-color: #276749 !important; /* Emerald green */
    padding: 20px 0 !important;
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;

    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.logo {
    color: #ffffff !important;
    font-size: 1.8rem !important;
    margin: 0 !important;
    font-weight: 700 !important;
}

.nav-links a {
    color: #ffffff !important;
    margin-left: 25px !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
    font-weight: 500 !important;
}

.nav-links a:hover {
    color: #68D391 !important;  /* Mint green */
}

/* Slimmer green banner strip */
.banner-message {
    background-color: #276749 !important; /* emerald green */
    color: white !important;
    padding: 12px 30px !important;   /* reduced height */
    border-radius: 10px !important;

    max-width: 900px !important;     /* reduces overall width */
    margin: 20px auto !important;    /* centers beautifully */
}

.banner-message h2 {
    font-size: 1.4rem !important;    /* slightly smaller + cleaner */
    margin-bottom: 10px !important;
}

.banner-message .donate-btn {
    padding: 6px 14px !important;    /* slimmer donate button */
    font-size: 0.9rem !important;
}

/* Wider green banner — +1 inch on each side */
.banner-message {
    background-color: #276749 !important;
    color: white !important;
    padding: 12px 30px !important;
    border-radius: 10px !important;

    max-width: 1000px !important;   /* widened evenly */
    margin: 20px auto !important;   /* remain perfectly centered */
}

/* Unified Section Header Strip — matches Nav Bar & Banner */
.section-header-green {
    background-color: #276749 !important;  /* Emerald Green (same as nav bar) */
    color: #ffffff !important;             /* Pure white text */
    padding: 15px 0;
    border-radius: 6px;
    margin-bottom: 25px;
    text-align: center;
    font-size: 2em;
    font-weight: 600;
}

/* If any gray section still exists, force it to green */
.section-header-gray {
    background-color: #276749 !important;
    color: #ffffff !important;
    padding: 15px 0;
    border-radius: 6px;
    margin-bottom: 25px;
    text-align: center;
    font-size: 2em;
    font-weight: 600;
}

/* Contact section refinement */
#contact p {
    margin: 4px 0 !important;     /* tight, even spacing */
    font-size: 15px;
}

#contact strong {
    font-weight: 700;
    color: #1a1a1a;               /* elegant darker label */
}

/* Bottom Footer Section — Dark Grey Strip */
.bottom-footer-section {
    background-color: #2e2e2e;   /* dark grey */
    color: #ffffff;
    padding: 25px 0;
    text-align: center;
    font-size: 15px;
    margin-top: 40px;
}

.bottom-footer-section p {
    margin: 6px 0;
}

.bottom-footer-section p:last-child {
    font-style: italic;
    opacity: 0.9;
}

/* Hover effect for top 3 gallery images — keeps original size */
.image-row img {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.image-row img:hover {
    transform: scale(1.03);  /* only enlarges while hovered */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* ============================
   HEADER SIZE UPGRADES
   ============================ */

/* Increase size for: "Saving Lives, One Rescue at a Time" */
.section-header-green {
    font-size: 2.2rem !important;   /* bigger header */
    font-weight: 700 !important;    /* strong + clean */
}

/* Increase size for any h2 inside banner-message if used */
.banner-message h2,
.section-header-green h2 {
    font-size: 1.8rem !important;   /* larger but not oversized */
    font-weight: 700 !important;
}

/* ========== MOBILE NAV FIX (ONLY FOR SCREENS UNDER 768px) ========== */
@media only screen and (max-width: 768px) {

    .nav-container {
        flex-direction: column !important;
        text-align: center !important;
        padding: 15px 0 !important;
    }

    .logo {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }

    .nav-links {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
        margin-top: 10px !important;
    }

    .nav-links a {
        font-size: 1.2rem !important;
        margin: 0 !important;
        padding: 5px 0 !important;
        display: block !important;
    }

    /* Fix for "Recent Rescues" breaking into two lines */
    .nav-links a:nth-child(3) {
        white-space: nowrap !important;
    }
}
