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

/* =====================================================
   PAGE HERO
   ===================================================== */
.ip-hero {
  position: relative;
  height: 60vh;
  min-height: 460px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.ip-hero-bg { position: absolute; inset: 0; z-index: 0; }
.ip-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.ip-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,24,18,0.25) 0%, rgba(22,24,18,0.88) 100%);
}
.ip-hero-container {
  position: relative; z-index: 2;
  padding-bottom: 60px;
}
.ip-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;
}
.ip-breadcrumb a { color: rgba(255,255,255,0.5); transition: var(--tr); }
.ip-breadcrumb a:hover { color: var(--p); }
.ip-breadcrumb i { font-size: 0.85rem; }
.ip-breadcrumb span { color: var(--p); }
.ip-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;
}
.ip-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); }

/* =====================================================
   FILTER BAR
   ===================================================== */
.ip-filter-wrap {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 24px;
}
.ip-filter-btn {
  font-family: var(--fh); font-size: 0.82rem; font-weight: 600;
  padding: 9px 22px;
  border: 1.5px solid var(--br);
  border-radius: 100px;
  background: transparent; color: var(--mu);
  cursor: pointer; transition: var(--tr);
  white-space: nowrap;
}
.ip-filter-btn:hover { border-color: var(--p); color: var(--p); }
.ip-filter-btn.active { background: var(--p); border-color: var(--p); color: var(--wh); }

/* =====================================================
   GALLERY GRID
   ===================================================== */
.ip-gallery-grid {
  columns: 3;
  column-gap: 16px;
}
.ip-gal-item {
  break-inside: avoid;
  position: relative;
  overflow: hidden;
  border-radius: var(--r2);
  margin-bottom: 16px;
  cursor: pointer;
}
.ip-gal-item img {
  width: 100%; display: block;
  transition: transform 0.6s ease;
}
.ip-gal-item:hover img { transform: scale(1.05); }

/* Tall items get a taller image via aspect ratio */
.ip-gal-item img { aspect-ratio: 4/3; object-fit: cover; }
.ip-tall img { aspect-ratio: 3/4; }

.ip-gal-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 18px 18px;
  background: linear-gradient(180deg, transparent 0%, rgba(22,24,18,0.85) 100%);
  transform: translateY(6px);
  transition: transform 0.3s ease;
}
.ip-gal-item:hover .ip-gal-info { transform: translateY(0); }
.ip-gal-tag {
  display: inline-block;
  font-family: var(--fh); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--p);
  background: rgba(137,186,51,0.15);
  border: 1px solid rgba(137,186,51,0.3);
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 6px;
}
.ip-gal-info p {
  font-family: var(--fh); font-size: 0.75rem; font-weight: 500;
  color: rgba(255,255,255,0.7); margin: 0;
}

/* No results */
.ip-no-results {
  text-align: center; padding: 80px 20px; color: var(--mu);
}
.ip-no-results i { font-size: 2.5rem; color: var(--br); display: block; margin-bottom: 12px; }
.ip-no-results p { font-size: 0.9rem; }

/* =====================================================
   ROOM-BY-ROOM GUIDE
   ===================================================== */
.ip-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.ip-guide-card {
  opacity: 0;
  padding: 28px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r2);
  transition: var(--tr);
}
.ip-guide-card:hover {
  background: rgba(137,186,51,0.06);
  border-color: rgba(137,186,51,0.2);
}
.ip-guide-icon {
  width: 48px; height: 48px;
  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-bottom: 16px;
}
.ip-guide-card h5 {
  font-family: var(--fh); font-size: 1rem; font-weight: 700;
  color: var(--wh); margin-bottom: 16px;
}
.ip-guide-card ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 9px;
}
.ip-guide-card ul li {
  font-size: 0.8rem; color: rgba(255,255,255,0.55);
  line-height: 1.5;
}
.ip-guide-card ul li strong {
  color: rgba(255,255,255,0.75);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 991px) {
  .ip-gallery-grid { columns: 2; }
  .ip-guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .ip-hero { height: 70vh; min-height: 420px; }
  .ip-gallery-grid { columns: 2; column-gap: 10px; }
  .ip-gal-item { margin-bottom: 10px; }
  .ip-filter-wrap { gap: 8px; }
  .ip-filter-btn { padding: 7px 14px; font-size: 0.78rem; }
}
@media (max-width: 480px) {
  .ip-gallery-grid { columns: 1; }
  .ip-guide-grid { grid-template-columns: 1fr; }
}
