* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and base styles */
body {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  background-color: #E0DFD9;
  color: #333;
}

.collections-section {
  min-height: 100vh;
  background: 
    url("../media/pagemedia/lano/smartstrandcover1.jpg") no-repeat left center,
    url("../media/pagemedia/lano/smartstrandcover3.jpg") no-repeat right center;
  background-size: 50% 100%, 50% 100%; /* Each image takes half the section width */
  background-repeat: no-repeat;
  background-position: left center, right center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10px;
  position: relative;
}

.collections-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 10px 40px;
  backdrop-filter: blur(6px);
  animation: fadeIn 1.5s ease-in-out;
  max-width: 1200px;
  margin-top: 0;
  padding-bottom: 30px; /* Add this line to create extra space below the cards */
  }

.collection-title {
  font-size: 1.7rem;
  font-weight: 600;
  text-align: center;
  color: #555;
  margin-top: -10px;
}

.collection-description {
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  margin-top: 10px;
  max-width: 800px;
  color: #444;
  font-family: 'Lora', serif;
}

.collections-text {
  max-width: 800px;
  text-align: center;
  font-size: 1rem;
  font-family: 'Lora', serif;
  font-weight: 500;
  color: #444;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 15px;
}

.collections-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin-top: -10px;
  padding: 0 50px;
}

.collection-card {
  background-color: #b79e6d;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  animation: slideInUp 1s ease forwards;
  opacity: 0;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 calc(33.333% - 13.33px);
  max-width: 270px;
  height: 280px;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.collection-card:hover {
  transform: translateY(-10px) scale(1.04);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.card-title {
  font-family: 'Playfair Display', 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  color: #fff;
  transition: color 0.3s ease;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collection-card:hover .card-title {
  color: #444;
}

.collection-logo {
  width: 220px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  background:white;
}

/* Responsive */
@media (max-width: 960px) {
  .collection-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 600px) {
  .collection-card {
    flex: 0 0 100%;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

