@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Marcellus&family=Montserrat:wght@100;200;300;400;500;600;700;800;900&family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
}

header {
  position: fixed;
  z-index: 9999;
  width: 100%;
}

main {
  width: 100%;
  padding-top: 150px;
}

.top-main-image-section {
  width: 100%;
}

.top-main-image-section img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 600px) {
  main {
    padding-top: 80px;
  }
}

/* Heading Section */

.our-dogs-heading {
  display: flex;
  justify-content: center;
  align-items: center;
}

.our-dogs-heading h1 {
  font-family: "Great Vibes", cursive;
  font-size: 50px;
}

/* Sliders Styling */

.product-slider-con {
  display: flex;
  justify-content: center;
  width: 100%;
  flex-direction: column;
}

.product-slider-con h2 {
  font-family: "Great Vibes", cursive;
  font-size: 50px;
  padding-left: 50px;
}

.slide-other {
  background-color: #eee6d7;
}

.product-card {
  padding: 20px;
  text-align: center;
  border-radius: 10px;
}

.product-card img {
  width: 300px;
  height: 300px;
  margin-bottom: 15px;
  background-color: white;
  border-radius: 50%;
  object-fit: cover;
}

.product-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  margin-bottom: 10px;
}

.lSAction > a {
  background-color: #000;
  border-radius: 50%;
}

.lSAction > a:hover {
  background-color: #333;
}

.lSAction > .lSPrev {
  background-position: 2px 0 !important;
  left: 30px !important;
}

.lSAction > .lSNext {
  background-position: -33px 0 !important;
  right: 30px !important;
}

.product-slider {
  height: 400px !important;
}

/* Mobile responsiveness */
@media only screen and (max-width: 800px) {
  .meet-our-section {
    margin-top: 20px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .product-slider-con h2 {
    font-family: "Great Vibes", cursive;
    font-size: 40px;
    padding-right: 50px;
  }

  .slider-heading-con {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .meet-our-section h1 {
    font-size: 30px;
    text-align: center;
  }

  .product-card {
    padding: 10px;
  }

  .product-card img {
    width: 240px;
    height: 240px;
    margin-bottom: 10px;
  }

  .product-slider {
    height: 320px !important;
  }

  .product-card h3,
  .product-card p,
  .product-card span {
    font-size: 14px;
  }

  /* Adjust navigation buttons for smaller screens */
  .lSAction > .lSPrev {
    left: 10px !important;
  }

  .lSAction > .lSNext {
    right: 10px !important;
  }
}

/* Modal for images */

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: flex; /* Use flexbox to center the content */
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
  width: 80%;
  max-width: 700px;
  height: auto; /* Adjust height as necessary */
}

.modal-image {
  max-width: 100%; /* Ensure the image is responsive and fits within its container */
  max-height: 80vh; /* Adjust the height to be within the viewport */
  margin: auto; /* Center the image if it's not filling the entire width of its container */
  display: block; /* Ensure the image is treated as a block-level element for margin to work */
}

/* Ensure the gallery container also centers its items if multiple images are displayed */
.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center the images horizontally */
  align-items: center; /* Center the images vertically */
  width: 100%; /* Take the full width of its parent to properly align the flex items */
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Modal Gallery function */

/* Style the navigation buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* Position the "prev button" to the left */
.prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

#caption {
  display: none;
}
