/* =======================================================
   KeraVit Tiles LLC – Collections Page Stylesheet
   ======================================================= */

/* =====================================================
   PAGE HERO
   ===================================================== */
.cl-hero {
  position: relative;
  height: 60vh;
  min-height: 460px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.cl-hero-bg { position: absolute; inset: 0; z-index: 0; }
.cl-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cl-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,24,18,0.25) 0%, rgba(22,24,18,0.88) 100%);
}
.cl-hero-container {
  position: relative; z-index: 2;
  padding-bottom: 60px;
}
.cl-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--fh); font-size: 0.75rem; font-weight: 500;
  color: rgba(255,255,255,0.5); margin-bottom: 18px;
}
.cl-breadcrumb a { color: rgba(255,255,255,0.5); transition: var(--tr); }
.cl-breadcrumb a:hover { color: var(--p); }
.cl-breadcrumb i { font-size: 0.85rem; }
.cl-breadcrumb span { color: var(--p); }
.cl-hero-title {
  font-family: var(--fh);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.03em; color: var(--wh);
  margin-bottom: 16px;
}
.cl-hero-sub {
  font-size: 1rem; line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
}

.hero-el { opacity: 0; transform: translateY(24px); }

/* =====================================================
   FEATURED SPOTLIGHT
   ===================================================== */
.cl-spotlight { background: var(--dk); }
.cl-spotlight-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.cl-spotlight-img {
  overflow: hidden;
  position: relative;
}
.cl-spotlight-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.cl-spotlight-img:hover img { transform: scale(1.04); }
.cl-spotlight-content {
  padding: 64px 60px;
  display: flex; flex-direction: column; justify-content: center;
}
.cl-spot-badge {
  display: inline-flex; align-items: center;
  font-family: var(--fh); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--p);
  border: 1px solid rgba(137,186,51,0.3);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 20px;
  width: fit-content;
}
.cl-spot-title {
  font-family: var(--fh); font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.03em; color: var(--wh);
  margin-bottom: 20px;
}
.cl-spot-body {
  font-size: 0.95rem; line-height: 1.8;
  color: rgba(255,255,255,0.62);
  margin-bottom: 32px;
}
.cl-spot-specs {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 36px;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r2);
}
.cl-spot-spec { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cl-spec-label {
  font-family: var(--fh); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
}
.cl-spec-val {
  font-family: var(--fh); font-size: 0.85rem; font-weight: 500;
  color: rgba(255,255,255,0.8); text-align: right;
}
.cl-spot-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cl-spot-link {
  font-family: var(--fh); font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,0.55);
  display: inline-flex; align-items: center; gap: 5px;
  transition: color 0.2s ease;
}
.cl-spot-link:hover { color: var(--p); }

/* =====================================================
   ALL COLLECTIONS GRID
   ===================================================== */
.cl-coll-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.cl-coll-card {
  opacity: 0;
  background: var(--wh);
  border: 1.5px solid var(--br);
  border-radius: var(--r2);
  overflow: hidden;
  transition: var(--tr);
}
.cl-coll-card:hover {
  border-color: rgba(137,186,51,0.35);
  box-shadow: 0 12px 48px rgba(137,186,51,0.08);
  transform: translateY(-4px);
}
.cl-coll-img-wrap {
  position: relative;
  overflow: hidden;
  height: 260px;
}
.cl-coll-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cl-coll-card:hover .cl-coll-img-wrap img { transform: scale(1.06); }
.cl-coll-overlay {
  position: absolute; inset: 0;
  background: rgba(22,24,18,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s ease;
}
.cl-coll-card:hover .cl-coll-overlay { opacity: 1; }
.cl-coll-enquire {
  font-family: var(--fh); font-size: 0.85rem; font-weight: 700;
  color: var(--wh);
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 100px;
  padding: 10px 24px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--tr);
}
.cl-coll-enquire:hover { background: var(--p); border-color: var(--p); }

.cl-coll-body { padding: 24px; }
.cl-coll-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; margin-bottom: 12px;
}
.cl-coll-tag {
  display: inline-block;
  font-family: var(--fh); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--p); margin-bottom: 5px;
}
.cl-coll-name {
  font-family: var(--fh); font-size: 1.05rem; font-weight: 700;
  color: var(--dk); margin: 0;
}
.cl-coll-count {
  font-family: var(--fh); font-size: 0.72rem; font-weight: 600;
  color: var(--mu); white-space: nowrap;
  background: var(--lt); border-radius: 100px;
  padding: 3px 10px;
  flex-shrink: 0;
}
.cl-coll-desc {
  font-size: 0.83rem; line-height: 1.7; color: var(--mu);
  margin-bottom: 16px;
}
.cl-coll-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.cl-coll-tags span {
  font-family: var(--fh); font-size: 0.7rem; font-weight: 600;
  color: var(--mu);
  background: var(--lt);
  border: 1px solid var(--br);
  border-radius: 100px;
  padding: 3px 10px;
}

/* =====================================================
   MATERIALS STRIP
   ===================================================== */
.cl-materials-strip {
  background: var(--dk);
  padding: 64px 0;
}
.cl-mat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.cl-mat-item {
  opacity: 0;
  padding: 36px 28px;
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  transition: var(--tr);
}
.cl-mat-item:hover { background: rgba(137,186,51,0.05); }
.cl-mat-icon {
  width: 52px; height: 52px;
  background: rgba(137,186,51,0.1);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--p);
  margin: 0 auto 16px;
}
.cl-mat-item h6 {
  font-family: var(--fh); font-size: 0.9rem; font-weight: 700;
  color: var(--wh); margin-bottom: 8px;
}
.cl-mat-item p { font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.6; margin: 0; }

/* =====================================================
   SAMPLE SECTION
   ===================================================== */
.cl-sample-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cl-sample-img {
  border-radius: var(--r2);
  overflow: hidden;
  height: 480px;
}
.cl-sample-img img { width: 100%; height: 100%; object-fit: cover; }
.cl-sample-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.cl-sample-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.9rem; color: var(--tx);
}
.cl-sample-list li i { color: var(--p); font-size: 1.1rem; flex-shrink: 0; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1199px) {
  .cl-coll-grid { grid-template-columns: repeat(2, 1fr); }
  .cl-mat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .cl-spotlight-inner { grid-template-columns: 1fr; }
  .cl-spotlight-img { height: 400px; }
  .cl-spotlight-content { padding: 40px 32px; }
  .cl-sample-inner { grid-template-columns: 1fr; gap: 40px; }
  .cl-sample-img { height: 320px; }
}
@media (max-width: 767px) {
  .cl-hero { height: 70vh; min-height: 420px; }
  .cl-coll-grid { grid-template-columns: 1fr; }
  .cl-spot-spec { flex-direction: column; gap: 2px; }
  .cl-spec-val { text-align: left; }
  .cl-spotlight-content { padding: 32px 20px; }
  .cl-mat-grid { grid-template-columns: 1fr 1fr; }
}
