/* Fonts and Root Variables */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --primary-color: #40c9a2;
  --secondary-color: #182b47;
  --white-light: rgba(255, 255, 255, 0.5);
  --gray-light: #f5f5f5;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--gray-light);
  color: var(--secondary-color);
}

.container {
  width: 20%;
  margin: 0 auto;
}

/* Titles */
.lg-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 2rem 0;
  color: var(--primary-color);
}

.text-light {
  font-size: 1.1rem;
  font-weight: 400;
  text-align: center;
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

/* Product Section */
.products {
  background: white;
  padding: 2rem 0;
}

.product-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.product {
  background: #fff;
  padding: 0.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product:hover {
  transform: translateY(-10px);
}

.product-img {
  width: 100%;
  height: 300px; /* Ensure a fixed container height */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Hide anything outside the container */
}

.product-img img {
  max-width: 100%; /* Ensure the image fits within the width */
  max-height: 100%; /* Ensure the image fits within the height */
  object-fit: contain; /* Ensure the entire image is visible without cropping */
  border-radius: 10px; /* Optional for aesthetics */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional */
}



/* "Get Your Own" Button Styling */
.get-own-btn {
  position: fixed;
  bottom: 30px; /* Adjust this for your specific needs */
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: white;
  font-size: 1.5rem;
  padding: 1rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

.get-own-btn:hover {
  background-color: var(--secondary-color);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
#imageGallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.scrollable-gallery {
  max-height: 70vh; /* Set a max height relative to viewport */
  overflow-y: auto; /* Enable vertical scrolling */
  padding-right: 10px; /* Prevent content from being hidden under scrollbar */
}

/* Hide Scrollbar for WebKit Browsers */
.scrollable-gallery::-webkit-scrollbar {
  width: 8px;
}

/* Responsive Grid */
@media screen and (min-width: 1200px) {
  .product-items {
    grid-template-columns: repeat(4, 1fr);
  }
}





/* External CSS equivalent of the Tailwind styles */

/* body {
  margin: 0;
  font-family: sans-serif;
} */

/* h1.lg-title {
  font-size: 2.25rem;
  font-weight: bold; 
  text-align: center;
  margin-top: 2rem;
} */

/* .container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
} */

/* .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
} */
/* 
.product-img img {
  width: 100%;
  height: auto; 
  object-fit: contain; 
} */

/* .get-own-btn {
  background-color: #38b2ac; 
  color: white;
  padding: 0.5rem 1rem; 
  border-radius: 0.375rem; 
  display: block;
  margin: 2rem auto;
  text-align: center;
  cursor: pointer;
  font-size: 1rem;
  border: none;
} */

