/* Recycle Article */

.recycle-banner-split {
  /* Replace with the path to your image */
  background-image: url('/images/backgrounds/recycleBG.png');
  background-size: cover;
  background-position: center center; /* Anchors the left-side subject */
  background-repeat: no-repeat;
  min-height: 850px;
  padding: 160px;
  
  /* Push text box to the right on desktop */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 100vh !important;
}

.recycle-text-box {
  width: 50%; /* Adjust to match the clear area on your image */
  max-width: 550px;
  text-align: center;
}

/* Mobile Layout (Screens 768px and smaller) */
@media (max-width: 768px) {
  .recycle-banner-split {
    justify-content: center; /* Centers the text box horizontally */
    background-position: left center;
    padding: 30px 20px;
    /* Optional: Adds a dark tint so text remains readable over the image subject */
    background-color: rgba(0, 0, 0, 0.55);
    background-blend-mode: darken;
  }

  .recycle-text-box {
    width: 100%;
    text-align: center; /* Centers the text itself */
    color: #ffffff; /* Ensures contrast if using the dark tint above */
  }
}


/*  Main Page Article  */

/* Main container with background image */
  .muncie-seniors-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('/images/MainPage/homePageMainNT.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 850px;
    padding: 40px;
    border-radius: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /* Keeps everything anchored to the left side */
    box-sizing: border-box;
    /*font-family: Arial, sans-serif;*/
    /*font-family: "Merienda", cursive;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;*/
    /*font-family: "Jim Nightshade", cursive;
    font-weight: 400;
    font-style: normal;*/
    font-family: "Amarante", serif;
    font-weight: 400;
    font-style: normal;
    min-height: 100vh !important;
  }

  /* Shared styling for all three text rows */
  .staggered-row {
    color: #ffffff;
    font-size: 108px;
    font-weight: bold;
    line-height: 1.2;
    margin: 6px 0;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  }

  /* Staggering each row further to the right */
  .row-1 {
    margin-left: 150px;
  }

  .row-2 {
    margin-left: 230px;
    border-bottom: 8px solid currentColor; 
      padding-bottom: 4px; 
      line-height: 1.2;
  }

  .row-3 {
    margin-left: 320px;
  }

  /* Responsive adjustment for mobile screens */
  @media (max-width: 768px) {
    .muncie-seniors-banner {
      padding: 25px;
      min-height: 460px;
      /*font-family: Arial, sans-serif;*/
      /*font-size: 18px !important;*/
    }
    .staggered-row {
      /*font-size: 1.8rem;*/
      font-size: 48px !important;
      
    }

    .row-1{
       margin-left: 5px;
    }
    .row-2 {
      margin-left: 25px;
      
    }
    .row-3 {
      margin-left: 45px;
    }
  }



/* Food Bank Article */

.fb-banner-split {
  /* Replace with the path to your image */
  background-image: url('/images/backgrounds/foodBankBG.png');
  background-size: cover;
  background-position: center center; /* Anchors the left-side subject */
  background-repeat: no-repeat;
  min-height: 850px;
  padding: 160px;
  
  /* Push text box to the right on desktop */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 100vh !important;
}

.fb-text-box {
  width: 50%; /* Adjust to match the clear area on your image */
  max-width: 550px;
  text-align: center;
}

/* Mobile Layout (Screens 768px and smaller) */
@media (max-width: 768px) {
  .fb-banner-split {
    justify-content: center; /* Centers the text box horizontally */
    background-position: left center;
    padding: 30px 20px;
    /* Optional: Adds a dark tint so text remains readable over the image subject */
    background-color: rgba(0, 0, 0, 0.55);
    background-blend-mode: darken;
  }

  .fb-text-box {
    width: 100%;
    text-align: center; /* Centers the text itself */
    color: #ffffff; /* Ensures contrast if using the dark tint above */
  }
}


/*  Social Committee Article  */

/* Main container with background image + dark overlay */
.custom-sc-banner {
  background-image: url('/images/SocialCommitteePage/SocialCommitteeBG.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 850px;
  border-radius: 0px;
  overflow: hidden;
  /*margin-bottom: 30px;*/
  padding: 50px 40px;
  color: #000000;
  min-height: 100vh !important;
}

/* Centered Top Image */
.sc-top-image {
  text-align: center;
  margin-bottom: 30px;
}

.sc-top-image img {
  max-width: 400px; /* Adjust size as needed */
  height: auto;
  display: inline-block;
}

/* Original Working Two-Column Flex Container */
.sc-overlay {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

/* Left and right column sizing */
.sc-left {
  flex: 1.5;
}

.sc-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* Text & Link styling */
.sc-left h2 {
  color: #000000;
  margin-top: 0;
}

/*.sc-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #0d6efd;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.sc-btn:hover {
  background-color: #0b5ed7;
}*/

.sc-link {
  color: #ffffff !important;
  text-decoration: underline;
}

/* Mobile Layout (Tablets & Phones) */
@media (max-width: 768px) {
  .custom-sc-banner {
    padding: 35px 25px;
  }

  .sc-top-image img {
    max-width: 280px;
  }

  .sc-overlay {
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
  }
}



/* About Article */

.about-banner-split {
  /* Replace with the path to your image */
  background-image: url('/images/AboutPage/HaltemanAerialTrans.png');
  background-size: cover;
  background-position: center center; /* Anchors the left-side subject */
  background-repeat: no-repeat;
  min-height: 850px;
  padding: 160px;
  
  /* Push text box to the right on desktop */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 100vh !important;
}

.about-text-box {
  width: 50%; /* Adjust to match the clear area on your image */
  max-width: 550px;
  text-align: center;
}

/* Mobile Layout (Screens 768px and smaller) */
@media (max-width: 768px) {
  .about-banner-split {
    justify-content: center; /* Centers the text box horizontally */
    background-position: left center;
    padding: 30px 20px;
    /* Optional: Adds a dark tint so text remains readable over the image subject */
    background-color: rgba(0, 0, 0, 0.55);
    background-blend-mode: darken;
    
  }

  .about-text-box {
    width: 100%;
    text-align: center; /* Centers the text itself */
    color: #ffffff; /* Ensures contrast if using the dark tint above */
  }
}


/*  *******  */

/* =========================================
   DESKTOP STYLES (Text scrolls over image)
   ========================================= */
/*.parallax-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}*/

.image-scroll-wrapper {
  /* Replace with your Joomla image path */
  background-image: url('/images/AboutPage/HaltemanAerialTrans.png'); 
  min-height: 600px; 
  
  /* The magic property that keeps the image still while text scrolls */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  
  /* Centers the optional hero title */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.text-overlay {
  width: 80%;
  text-align: left;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.55); 
  padding: 40px;
  border-radius: 0px;
  line-height: 1.6;
  box-sizing: border-box;
}

.text-overlay h1, h2 {
  margin-top: 0;
  color: #ffffff;
  text-align: center;
}

/*.hero-title {
  background: rgba(0, 0, 0, 0.5); 
  color: #ffffff;
  padding: 20px 40px;
  border-radius: 8px;
}*/

/*.scrolling-content {
  position: relative;
  background-color: #ffffff;
  color: #333333;
  padding: 50px 10%;
 
  margin-top: -60px; 
  border-radius: 12px 12px 0 0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
  z-index: 2;
}*/

/* =========================================
   MOBILE STYLES (Screens 768px and smaller)
   ========================================= */
@media only screen and (max-width: 768px) {
  .parallax-bg {
    /* Disables fixed parallax on mobile to prevent iOS/Android zooming bugs */
    background-attachment: scroll; 
    min-height: 120vh;
    
  }

  .hero-title {
    padding: 15px 5px;
    width: 100%;
  }

  .hero-title h1 {
    font-size: 1rem;
  }

  .text-overlay h1 {
  margin-top: 0;
  color: #ffffff;
  text-align: center;
}

  .scrolling-content {
    padding: 30px 20px;
    margin-top: -30px; /* Less overlap on smaller screens */
  }
}




