/* ===========================================
   STUDIMO V4 — Collections Bento Grid
   Based on studimo-redesign-v3.html reference
   Fonts: Marcellus + Montserrat
   Layout: Bento 1+2, gold text on light gradients
   =========================================== */

/* ── Section — full bleed background ── */
.studimo-collections {
  padding: 100px 0;
  background: #FFF8F0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ── Header ── */
.studimo-collections__header {
  text-align: center;
  margin-bottom: 60px;
}

.studimo-collections__title {
  font-family: 'Marcellus', serif;
  font-size: 48px;
  font-weight: 700;
  color: #9A7236;
  margin: 0 0 20px 0;
}

.studimo-collections__line {
  width: 60px;
  height: 1px;
  background: #9A7236;
  opacity: 0.2;
  margin: 0 auto;
}

/* ── Grid ── */
.studimo-collections__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: 245px 245px;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Keramika = large card spanning 2 rows */
.studimo-collections__card:first-child {
  grid-row: 1 / 3;
}

/* ── Card ── */
.studimo-collections__card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none !important;
  display: block;
}

.studimo-collections__card:hover {
  text-decoration: none !important;
}

/* Background layer (for zoom on hover) */
.studimo-collections__card-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.studimo-collections__card:hover .studimo-collections__card-bg {
  transform: scale(1.03);
}

/* Gradients from v3 reference */
.studimo-collections__card--keramika .studimo-collections__card-bg {
  background: linear-gradient(135deg, #DFD290, #F1E0B2);
}

.studimo-collections__card--sperky .studimo-collections__card-bg {
  background: linear-gradient(135deg, #F3CDC4, #FFD2BB);
}

.studimo-collections__card--novinky .studimo-collections__card-bg {
  background: linear-gradient(135deg, #E5D9E5, #FFF8F0);
}

/* Subtle overlay — NOT dark, just a faint warm tint */
.studimo-collections__card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 32px;
  background: linear-gradient(transparent, rgba(154, 114, 54, 0.15));
  transition: background 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
}

.studimo-collections__card:hover .studimo-collections__card-overlay {
  background: linear-gradient(transparent, rgba(154, 114, 54, 0.08));
}

/* ── Text — gold on light ── */
.studimo-collections__label {
  font-family: 'Marcellus', serif;
  font-size: 32px;
  font-weight: 700;
  color: #9A7236;
  margin: 0;
  line-height: 1.2;
}

.studimo-collections__desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #9A7236;
  opacity: 0.6;
  margin: 6px 0 0 0;
}

/* ── Responsive ── */

/* Tablet */
@media (max-width: 991px) {
  .studimo-collections {
    padding: 80px 0;
  }

  .studimo-collections__title {
    font-size: 40px;
  }

  .studimo-collections__grid {
    grid-template-rows: 200px 200px;
  }

  .studimo-collections__label {
    font-size: 28px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .studimo-collections {
    padding: 60px 0;
  }

  .studimo-collections__title {
    font-size: 35px;
  }

  .studimo-collections__header {
    margin-bottom: 40px;
  }

  .studimo-collections__grid {
    grid-template-columns: 1fr;
    grid-template-rows: 200px 160px 160px;
    gap: 12px;
    padding: 0 16px;
  }

  .studimo-collections__card:first-child {
    grid-row: auto;
  }

  .studimo-collections__card-overlay {
    padding: 24px 20px;
  }

  .studimo-collections__label {
    font-size: 26px;
  }

  .studimo-collections__desc {
    font-size: 10px;
  }
}
