/* --- Base Styles --- */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  color: #111;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Hero Section --- */
.collection-hero {
  padding: 3rem 6%;
  background-color: #fafafa;
  text-align: left;
}

.collection-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  
  margin-top: 70px;
}

.collection-hero p {
  font-size: 1rem;
  color: #666;
}

/* --- Tabs --- */
.tabs {
  padding: 1.5rem 6%;
  border-bottom: 1px solid #eee;
  background-color: #fff;
}

.tab-links {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.tab-links a {
  font-weight: 500;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-links a.active {
  color: #111;
  border-color: #d1a954;
}

.tab-links a:hover {
  color: #d1a954;
}

.breadcrumb {
  font-size: 0.9rem;
  color: #888;
}

.breadcrumb span {
  color: #111;
}

/* --- Collection Grid --- */
.collection-grid {
  padding: 3rem 6%;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background-color: #000;
  transition: transform 0.3s;
  height: 320px; /* Set a consistent card height */
}

.card img {
  width: 100%;
  height: 100%; /* Force the image to fill the card */
  object-fit: cover; /* Ensures the image covers the box without distortion */
  display: block;
  transition: opacity 0.3s;
}


.card-title {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: #fff;
  font-weight: 600;
  background: rgba(0,0,0,0.5);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.95rem;
}

.card:hover {
  transform: translateY(-4px);
}

.card:hover img {
  opacity: 0.9;
  transform: scale(1.05);
}




/* --- Responsive --- */
@media (max-width: 768px) {
  .collection-hero h1 {
    font-size: 2rem;
  }
  .collection-hero{
    padding-top: 20px;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
}
