/* --------------------------------------------------------------
   HOME PAGE STYLES
-------------------------------------------------------------- */

/* HERO SECTION & SLIDES */
.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

  .slides {
    position: relative;
    width: 100%;
    height: 100%;
  }

  /* Slide background helpers */
  .bg-slide-1 { background-image: url('/Assets/Images/Bunnyparrotdog.png'); }
  .bg-slide-2 { background-image: url('/Assets/Images/Lotofpetsbanner.png'); }
  .bg-slide-3 { background-image: url('/Assets/Images/Smile Dogs.png'); }

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-content {
  background-color: rgba(0, 0, 0, 0.4);  /* Slide caption backdrop */
  color: #fff;  /* Slide caption text */
  text-align: center;
  padding: 1rem 2rem;
  border-radius: 5px;
  max-width: 600px;
}

.slider-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  background-color: #ffffff;  /* Indicator base color */
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot:hover {
  background-color: #429baf;  /* Indicator hover color */
}

.dot.active {
  background-color: #a75e99;  /* Active indicator color */
}

/* PARALLAX 1 SECTION */
.parallax-section1 {
  position: relative;
  min-height: 90vh;
  background: url('../Assets/Images/snowbengal.jpg') no-repeat center center;  /* Parallax 1 background */
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  padding: 4rem 2rem;
  color: #fff;  /* Parallax text on darkened image */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.parallax-section1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);  /* Parallax overlay tint */
  z-index: 1;
}

.parallax-content1 {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.25rem;
}

/* PARALLAX 2 SECTION */
.parallax-section2 {
  position: relative;
  min-height: 80vh;
  background: url('../Assets/Images/flag.jpg') no-repeat center center;  /* Parallax 2 background */
  background-size: cover;
  background-attachment: fixed;
  background-position: center center;
  padding: 4rem 2rem;
  color: #fff;  /* Parallax text on darkened image */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.parallax-section2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.277);  /* Parallax 2 overlay */
  z-index: 1;
}

.parallax-content2 {
  background-color: rgba(0, 0, 0, 0.649);  /* Parallax 2 shawdow color */
  padding: 1rem 2rem;
  border-radius: 5px;
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  font-size: 1.25rem;
}

/* ========================================
   RESPONSIVE STYLES
======================================== */

@media (max-width: 768px) {
   .hero {
    height: 40vh;
  }
  .slide-content {
    padding: 0.5rem 1rem;
  }
  .slider-indicators {
    bottom: 0.5rem;
  }
  .dot {
    width: 10px;
    height: 10px;
  }
  .parallax-section {
    min-height: 40vh;
  }
  .parallax-content {
    font-size: 1rem;
  }
  .parallax-section1,
  .parallax-section2 {
    background-attachment: scroll;
    background-position: center top;
    padding: 2rem 1rem;
  }

  .parallax-content1,
  .parallax-content2 {
    font-size: 1rem;
    padding: 1rem;
    line-height: 1.6;
    max-width: 90%;
  }
}

@media (max-width: 600px) {
  .hero {
    height: 40vh;
  }
  .slide-content {
    padding: 0.5rem 1rem;
  }
  .slider-indicators {
    bottom: 0.5rem;
  }
  .dot {
    width: 10px;
    height: 10px;
  }
  .parallax-section {
    min-height: 40vh;
  }
  .parallax-content {
    font-size: 1rem;
  }
  .parallax-section1,
  .parallax-section2 {
    background-attachment: scroll;
    background-position: center top;
    padding: 2rem 1rem;
  }

  .parallax-content1,
  .parallax-content2 {
    font-size: 1rem;
    padding: 1rem;
    line-height: 1.6;
    max-width: 90%;
  }
}

@media (max-width: 400px) {
  .hero {
    height: 30vh;
  }
  .slide-content {
    padding: 0.5rem 1rem;
  }
  .slider-indicators {
    bottom: 0.5rem;
  }
  .dot {
    width: 8px;
    height: 8px;
  }
  .parallax-section {
    min-height: 30vh;
  }
  .parallax-content {
    font-size: 0.9rem;
  }
  .parallax-section1,
  .parallax-section2 {
    background-attachment: scroll;
    background-position: center top;
    padding: 2rem 1rem;
  }
  .parallax-content1,
  .parallax-content2 {
    font-size: 1rem;
    padding: 1rem;
    line-height: 1.6;
    max-width: 90%;
  }
}

/* --------------------------------------------------------------
   LANDSCAPE ORIENTATION
-------------------------------------------------------------- */
@media screen and (max-width: 1024px) and (orientation: landscape) {
  .hero {
    height: 60vh;
  }
  .slide-content {
    padding: 0.5rem 1rem;
  }
  .slider-indicators {
    bottom: 0.5rem;
  }
  .dot {
    width: 10px;
    height: 10px;
  }
  .parallax-section {
    min-height: 40vh;
  }
  .parallax-content {
    font-size: 1rem;
  }
  .parallax-section1,
  .parallax-section2 {
    background-attachment: scroll;
    background-position: center top;
    padding: 2rem 1rem;
  }

  .parallax-content1,
  .parallax-content2 {
    font-size: 1rem;
    padding: 1rem;
    line-height: 1.6;
    max-width: 90%;
  }
}
