/* =========================================================
   CUSTOM SAMPLES PAGE
   Page-specific styles for /custom-samples.html
========================================================= */

.custom-samples-page .custom-samples-hero {
  background-position: center;
}

.custom-samples-page .collection-context {
  margin-bottom: 1.5rem;
}

.sample-jump-nav {
  max-width: 1240px;
  margin: 0 auto 1.25rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(19, 45, 77, 0.16);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(19, 45, 77, 0.07);
  text-align: center;
}

.sample-jump-nav__label {
  display: block;
  margin-bottom: 0.7rem;
  color: #132d4d;
  font-family: "Cinzel", serif;
  font-weight: 700;
}

.sample-jump-nav__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.sample-jump-nav__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0.5rem 0.85rem;
  border: 1px solid #b99748;
  border-radius: 999px;
  color: #132d4d;
  background: #fffdf8;
  font-family: "Lato", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sample-jump-nav__links a:hover,
.sample-jump-nav__links a:focus-visible {
  color: #fff;
  background: #132d4d;
  transform: translateY(-1px);
}

.sample-gallery-note {
  max-width: 1040px;
  margin: 0 auto 2rem;
  padding: 0.9rem 1.1rem;
  border-left: 4px solid #b99748;
  border-radius: 8px;
  background: #f8f4e9;
  color: #24384e;
  font-family: "Lato", sans-serif;
  line-height: 1.55;
}

.sample-section {
  max-width: 1240px;
  margin: 0 auto 2rem;
  padding: 1.5rem;
  border: 1px solid rgba(19, 45, 77, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(19, 45, 77, 0.08);
  scroll-margin-top: 1rem;
}

.sample-section .section-header {
  margin-bottom: 1.25rem;
  text-align: center;
}

.sample-section .section-header h2 {
  margin-bottom: 0.35rem;
}

.sample-section .section-header p {
  max-width: 820px;
  margin: 0 auto;
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}

.sample-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(19, 45, 77, 0.14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(19, 45, 77, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.sample-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(19, 45, 77, 0.12);
}

.sample-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 0.7rem;
  border-bottom: 1px solid rgba(19, 45, 77, 0.1);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.72), rgba(224,220,211,0.55)),
    #ece8df;
}

.sample-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 9px;
}

.sample-image-wrap .zoom-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  min-width: 58px;
  min-height: 32px;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(19, 45, 77, 0.22);
  border-radius: 999px;
  color: #132d4d;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
  font-family: "Lato", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.sample-image-wrap .zoom-badge:hover,
.sample-image-wrap .zoom-badge:focus-visible {
  color: #fff;
  background: #132d4d;
}

.sample-card__body {
  padding: 1rem 1rem 1.1rem;
}

.sample-card__meta {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.25rem 0.55rem;
  border: 1px solid rgba(185, 151, 72, 0.5);
  border-radius: 999px;
  color: #6c531b;
  background: #fffaf0;
  font-family: "Lato", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sample-card h3 {
  margin: 0 0 0.55rem;
  color: #132d4d;
  font-size: 1.02rem;
  line-height: 1.3;
}

.sample-card p {
  margin: 0;
  color: #394b5e;
  font-family: "Lato", sans-serif;
  font-size: 0.91rem;
  line-height: 1.52;
}

.custom-samples-cta {
  max-width: 1000px;
  margin: 2.25rem auto 0;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(185, 151, 72, 0.5);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(19,45,77,0.98), rgba(31,58,88,0.95));
  box-shadow: 0 14px 34px rgba(19, 45, 77, 0.18);
  color: #fff;
  text-align: center;
}

.custom-samples-cta h2 {
  margin: 0 0 0.55rem;
  color: #d8bd72;
}

.custom-samples-cta p {
  max-width: 720px;
  margin: 0 auto 1.15rem;
  color: rgba(255,255,255,0.92);
  font-family: "Lato", sans-serif;
  line-height: 1.6;
}

.custom-samples-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.2rem;
  border: 1px solid #d8bd72;
  border-radius: 999px;
  color: #132d4d;
  background: #d8bd72;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.custom-samples-cta__button:hover,
.custom-samples-cta__button:focus-visible {
  background: #ead79e;
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .sample-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .sample-jump-nav,
  .sample-section {
    border-radius: 12px;
  }

  .sample-section {
    padding: 1rem;
  }

  .sample-jump-nav__links {
    gap: 0.45rem;
  }

  .sample-jump-nav__links a {
    flex: 1 1 45%;
  }
}

@media (max-width: 560px) {
  .sample-grid {
    grid-template-columns: 1fr;
  }

  .sample-jump-nav__links a {
    flex-basis: 100%;
  }

  .sample-card h3 {
    font-size: 1.08rem;
  }
}
