.product-display-grid1 {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* 300px or whatever minimum size you want */
   gap: 16px;
 }
 
 .product-display-grid2 {
   display: grid;
   grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* 300px or whatever minimum size you want */
   gap: 16px;
 }

 .product-display-grid3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* 300px or whatever minimum size you want */
  gap: 16px;
}

#item{
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: medium;
    font-weight: 450;
}

#item:hover{
  color: #ed6c03
}
#item1{ 
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: small;
    font-weight: 400;
}
.product-display-grid4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* 300px or whatever minimum size you want */
  gap: 16px;
}
.product-display-grid5 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* 300px or whatever minimum size you want */
  gap: 100px;
}


.container1 {
  width: 85vw;
  margin: 3em auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive columns */
  gap: 35px;
  padding: 1rem;
}

.large, .medium, .small {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  aspect-ratio: 1; /* Ensures all items are squares */
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.large {
  grid-row: span 5;
}

.medium {
  grid-row: span 4;
}

.small {
  grid-row: span 3;
}

/* Hover effect for scaling */
.large:hover, .medium:hover, .small:hover {
  transform: scale(1.02);
}

.container1 img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image fills the square */
}

.overlay-text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(7, 7, 7, 0.7);
  backdrop-filter: blur(3px);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  
  font-weight: bold;
  text-align: center;
  width: 80%; /* Makes the overlay text responsive */
}

.overlay-text h1 a {
  font-size: 1.25rem;
  font-weight: bold;
  color: #fff9f9;
  text-decoration: none;
  transition: color 0.3s ease;
}

#perfumelist h6{
  
    background: linear-gradient(90deg,#ed6c03 0%, #0d9488 50%, #1a56db  100%); /* your gradient */
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      /* For Firefox */
      background-clip: text;
      color: transparent;
  
}
.overlay-text h1 a:hover {
  color: #d97706; /* Optional hover color for links */
}

#overlay {
  width: 210px;
  text-align: center;
}

#overlay1 {
  width: 180px;
  text-align: center;
}

.visual-section {
  background: linear-gradient(135deg, #f0f4ff, #e7eaff, #fff);
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.visual-section h1,h2,h3,h4,h5,h6{
  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-style: normal;
}


.section-subtitle {
  display: inline-block;
  color: #ff8c00;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ff8c00, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #222;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  width: 80%;
  height: 4px;
  background: linear-gradient(to right, #ff8c00, #ffaa00);
  position: absolute;
  left: 0;
  bottom: -10px;
  border-radius: 2px;
  animation: underline-glow 2s infinite alternate;
}

@keyframes underline-glow {
  0% { width: 80%; opacity: 0.7; }
  100% { width: 100%; opacity: 1; }
}

.section-description {
  font-size: 1.1rem;
  color: #444;
  margin-top: 1.5rem;
  line-height: 1.7;
  transition: all 0.3s ease;
}

.section-description:hover {
  color: #000;
  transform: scale(1.01);
}

/* Fade-in animation */
.fade-in-section {
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

#abtdiv{
  margin-top: 150px;
  margin-bottom: -40px;
  width: 100%;
}

@media (prefers-color-scheme: dark) {
  #abtdiv {
    background-color: #2e2e2e; /* Dark grey for dark mode */
    color: #f0f0f0;
  }
}
/* -------------------START--------------------*/

#loader {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.dot {
  width: 15px;
  height: 15px;
  margin: 0 5px;
  border-radius: 50%;
  background: #1a56db;
  animation: bounce 0.6s infinite alternate;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
  background: #0d9488;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
  background: #ed6c03;
}

@keyframes bounce {
  to {
    transform: translateY(-20px);
  }
}

/* -------------------END--------------------*/