/* ============================================================
   pečeTe – gallery_sand.css  |  Styly pro stránku Galerie (Nová barevná škála)
   ============================================================ */

/* ---------- PAGE HERO (menší než homepage hero) ---------- */
.page-hero {
  position: relative; min-height: 340px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding-top: 160px;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #967e67 0%, #bca38a 50%, #d8c9b8 100%);
}
.page-hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content {
  position: relative; z-index: 1; text-align: center;
  padding: 48px 24px 56px; color: var(--white);
  animation: fadeUp .7s ease both;
}
.page-hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white); margin: 12px 0 16px;
  text-shadow: 0 2px 16px rgba(0,0,0,.12);
}
.page-hero-content p {
  font-size: 1.05rem; color: rgba(255,255,255,.9);
  max-width: 480px; margin: 0 auto 20px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: .85rem; color: rgba(255,255,255,.75);
}
.breadcrumb a { color: rgba(255,255,255,.9); transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }

/* ---------- GALLERY SECTION ---------- */
.gallery-section { padding: 80px 0 100px; background: var(--cream); }
.gallery-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---------- FILTER BUTTONS ---------- */
.gallery-filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-bottom: 48px;
}
.filter-btn {
  padding: 10px 24px; border-radius: 50px;
  border: 2px solid var(--pink-light); background: var(--white);
  color: var(--brown); font-size: .9rem; font-weight: 700;
  font-family: var(--font-sans); cursor: pointer;
  transition: var(--transition); letter-spacing: .3px;
}
.filter-btn:hover  { border-color: var(--pink); color: var(--pink-dark); background: var(--pink-pale); }
.filter-btn.active { background: var(--pink); border-color: var(--pink); color: var(--white); }

/* ---------- GALLERY GRID ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}

/* ---------- GALLERY ITEMS ---------- */
.gallery-item {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: opacity .4s ease, transform .4s ease;
}
.gallery-item--tall { grid-row: span 2; }

.gallery-card {
  position: relative; width: 100%; height: 100%;
  cursor: pointer; overflow: hidden;
}
.gallery-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.gallery-card:hover img { transform: scale(1.07); }

/* Overlay */
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(107, 90, 74, .85) 0%, rgba(107, 90, 74, .2) 60%, transparent 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding: 20px; opacity: 0; transition: opacity .35s ease;
}
.gallery-card:hover .gallery-overlay { opacity: 1; }

.gallery-zoom-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -70%);
  font-size: 1.8rem; filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
  transition: transform .35s ease;
}
.gallery-card:hover .gallery-zoom-icon { transform: translate(-50%, -50%); }

.gallery-overlay-caption {
  color: rgba(255,255,255,.9); font-size: .85rem;
  text-align: center; line-height: 1.4;
}

/* Card info strip */
.gallery-card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 18px 14px;
  background: linear-gradient(to top, rgba(74, 63, 53, .9) 0%, transparent 100%);
  transform: translateY(100%); transition: transform .35s ease;
}
.gallery-card:hover .gallery-card-info { transform: translateY(0); }
.gallery-card-info h3 {
  font-family: var(--font-serif); color: var(--white);
  font-size: 1rem; margin-bottom: 4px;
}
.gallery-tag {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  background: rgba(188, 163, 138, .7); color: var(--white);
  padding: 2px 10px; border-radius: 20px;
}

/* Empty message */
.gallery-empty {
  text-align: center; color: var(--text-light);
  padding: 60px 0; font-size: 1.05rem; grid-column: 1 / -1;
}

/* ---------- CTA BANNER ---------- */
.gallery-cta {
  padding: 80px 24px; text-align: center;
  background: linear-gradient(135deg, var(--pink) 0%, var(--pink-dark) 100%);
}
.gallery-cta-inner { max-width: 560px; margin: 0 auto; }
.gallery-cta h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white); margin-bottom: 14px;
}
.gallery-cta p {
  color: rgba(255,255,255,.9); font-size: 1.05rem;
  margin-bottom: 32px;
}
.gallery-cta .btn-primary {
  background: var(--white); color: var(--pink-dark);
  border-color: var(--white);
}
.gallery-cta .btn-primary:hover {
  background: var(--cream); border-color: var(--cream);
}

/* ---------- NAVBAR ACTIVE LINK ---------- */
.nav-active {
  background: var(--pink-pale) !important;
  color: var(--pink-dark) !important;
}
.navbar:not(.scrolled) .nav-active {
  background: rgba(255,255,255,.2) !important;
  color: var(--white) !important;
}

/* ---------- NAV ORDER BUTTON ---------- */
.nav-order-btn {
  padding: 8px 20px !important; font-size: .85rem !important;
}

/* ---------- FOOTER CONTACT COLUMN ---------- */
.footer-container { grid-template-columns: 2fr 1fr 1fr 1fr; }
.footer-contact h4 { font-family: var(--font-serif); font-size: 1.1rem; color: var(--white); margin-bottom: 20px; }
.footer-contact ul { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.footer-contact li { font-size: .9rem; opacity: .75; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-item--tall { grid-row: span 1; }
  .footer-container { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .filter-btn { padding: 8px 16px; font-size: .82rem; }
}
