/* =============================================
   GRID ALBUMÓW
============================================= */
.odnowa-albumy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.odnowa-albumy-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.odnowa-album-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.odnowa-album-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.odnowa-album-card__link {
  display: block;
  text-decoration: none;
}

.odnowa-album-card__thumb {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.odnowa-album-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.odnowa-album-card:hover .odnowa-album-card__thumb img {
  transform: scale(1.03);
}

.odnowa-album-card__placeholder {
  width: 100%;
  height: 220px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 14px;
}

.odnowa-album-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.odnowa-album-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.odnowa-album-tag {
  background: #e1f5ee;
  color: #0f6e56;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.odnowa-album-location {
  font-size: 12px;
  color: #888;
}

.odnowa-album-card__title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  margin: 0;
}

.odnowa-album-card__title a {
  color: inherit;
  text-decoration: none;
}

.odnowa-album-card__title a:hover {
  color: #1d9e75;
}

.odnowa-album-card__desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.odnowa-album-card__btn {
  font-size: 13px;
  font-weight: 600;
  color: #1d9e75;
  text-decoration: none;
  margin-top: 4px;
}

/* =============================================
   SPLIT — statyczne przed / po
============================================= */
.odnowa-split {
  position: relative;
  display: flex;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f0f0f0;
}

.odnowa-split__half {
  position: relative;
  width: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.odnowa-split__half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.odnowa-album-card:hover .odnowa-split__half img {
  transform: scale(1.04);
}

.odnowa-split__divider {
  width: 3px;
  background: #fff;
  flex-shrink: 0;
  z-index: 2;
  position: relative;
}

.odnowa-split__divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.odnowa-split__label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.5);
  color: rgba(255, 255, 255, 0.85);
}

.odnowa-split__label--po {
  left: auto;
  right: 10px;
  background: rgba(29, 158, 117, 0.85);
  color: #fff;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 768px) {
  .odnowa-split {
    height: 180px;
  }
}
/* =============================================
   GALERIA KAFELKOWA
============================================= */
.odnowa-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.odnowa-gallery-item {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  aspect-ratio: 4/3;
  background: #f0f0f0;
}

.odnowa-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.odnowa-gallery-item:hover img {
  transform: scale(1.05);
}

.odnowa-gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  opacity: 0;
  transition: all 0.2s;
}

.odnowa-gallery-item:hover .odnowa-gallery-item__overlay {
  background: rgba(0, 0, 0, 0.35);
  opacity: 1;
}

/* =============================================
   SZCZEGÓŁY REALIZACJI
============================================= */
.album-description p {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}

.album-details-box {
  margin-top: 28px;
  background: #f7f7f5;
  border-radius: 8px;
  padding: 20px 24px;
}

.album-details-box h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.album-details-table {
  width: 100%;
  border-collapse: collapse;
}

.album-details-table tr {
  border-bottom: 1px dashed #e0e0e0;
}

.album-details-table tr:last-child {
  border-bottom: none;
}

.album-details-table td {
  padding: 10px 0;
  font-size: 14px;
  color: #666;
}

.album-details-table td:first-child {
  width: 160px;
  color: #888;
}

.album-details-table td strong {
  color: #1a1a1a;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1024px) {
  .odnowa-albumy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .odnowa-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .odnowa-przed-po--large {
    height: 360px;
  }
}

@media (max-width: 768px) {
  .odnowa-albumy-grid {
    grid-template-columns: 1fr;
  }
  .odnowa-albumy-grid--3 {
    grid-template-columns: 1fr;
  }
  .odnowa-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .odnowa-przed-po--large {
    height: 260px;
  }
  .odnowa-przed-po {
    height: 200px;
  }
}
