/* ── Family Fun Location Pages CSS ── */

/* ── Container ── */
.ff-loc-inner { max-width: 1200px; margin: 0 auto; width: 100%; }

/* ── Hero ── */
.ff-loc-hero { padding: 160px 24px 80px; overflow: visible; }
.ff-loc-hero-zp { background: #fff8e6; }
.ff-loc-hero-pt { background: #e0f9f8; }
.ff-loc-hero-wrap { display: flex; align-items: center; gap: 48px; justify-content: space-between; }
.ff-loc-hero-content { display: flex; flex-direction: column; align-items: flex-start; width: 52%; flex-shrink: 0; }
.ff-loc-hero-img { flex: 1; max-width: 420px; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.22); aspect-ratio: 4/3; }
.ff-loc-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Badge */
.ff-loc-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 9px 20px; border-radius: 50px; margin-bottom: 16px; }
.ff-loc-badge-zp { background: #ffc43a; color: #333; }
.ff-loc-badge-pt { background: #00ACAA; color: #fff; }

/* Title */
.ff-loc-title { font-size: 58px; line-height: 1.1; font-weight: 800; color: #1a1a1a; margin: 0 0 24px; font-family: Poppins, sans-serif; }

/* Hours */
.ff-loc-hours { display: inline-flex; align-items: stretch; margin-bottom: 24px; padding: 14px 20px; background: rgba(255,255,255,0.6); backdrop-filter: blur(6px); border-radius: 12px; align-self: flex-start; }
.ff-loc-hours-item { display: flex; flex-direction: column; gap: 3px; }
.ff-loc-hours-item + .ff-loc-hours-item { padding-left: 20px; margin-left: 20px; border-left: 1px solid rgba(0,0,0,0.12); }
.ff-loc-hours { justify-content: center; }
.ff-loc-hours-label { font-size: 11px; color: rgba(0,0,0,0.5); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.ff-loc-hours-time { font-size: 15px; color: #1a1a1a; font-weight: 700; }

/* Buttons */
.ff-loc-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ff-loc-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 50px; font-weight: 700; font-size: 15px; text-decoration: none !important; border-bottom: none !important; transition: transform 0.15s, box-shadow 0.15s; white-space: nowrap; cursor: pointer; }
.ff-loc-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.ff-loc-btn svg { width: 15px; height: 15px; flex-shrink: 0; }
.ff-loc-btn-zp { background: #ffc43a; color: #333; }
.ff-loc-btn-pt { background: #00ACAA; color: #fff; }
.ff-loc-btn-outline-dark { background: transparent; color: #333; border: 2px solid rgba(0,0,0,0.55); border-bottom: 2px solid rgba(0,0,0,0.55) !important; }
.ff-loc-btn-outline-dark:hover { border-bottom: 2px solid rgba(0,0,0,0.55) !important; }
.ff-loc-btn-outline-teal { background: transparent; color: #00ACAA; border: 2px solid #00ACAA; border-bottom: 2px solid #00ACAA !important; }
.ff-loc-btn-outline-teal:hover { border-bottom: 2px solid #00ACAA !important; }
.ff-loc-btn-dark { background: #1a1a1a; color: #fff; }

/* Price column inside hours card */
.ff-loc-hours-item--price .ff-loc-hours-time { color: #1a1a1a; }
.ff-loc-hours-item--price .ff-loc-hours-time small { font-size: 12px; font-weight: 600; color: rgba(0,0,0,0.55); margin-left: 2px; }
.ff-loc-price-note { font-size: 13px; color: rgba(0,0,0,0.55); margin: 0 0 24px; line-height: 1.5; }

/* Note */
.ff-loc-note { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(0,0,0,0.5); }
.ff-loc-note svg { flex-shrink: 0; }

/* ── Sections ── */
.ff-loc-section { padding: 80px 24px; background: #fff; }
.ff-loc-section-alt { background: #fffbf2; }
.ff-loc-section-reviews { background: #f9f6f1; }
.ff-loc-section-booking { background: #fff; scroll-margin-top: 80px; }

/* ── Section header ── */
.ff-loc-header { text-align: center; margin-bottom: 48px; }
.ff-loc-label { font-family: Courgette, sans-serif; color: #00ACAA; font-size: 24px; font-weight: 400; margin: 0 0 8px; }
.ff-loc-header h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 800; color: #1a1a1a; margin: 0; text-transform: none; }

/* ── Ponudba cards ── */
.ff-loc-ponudba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ff-loc-ponudba-card {
  background: linear-gradient(180deg, #fff8e6 0%, #fff 60%);
  border: 1.5px solid #ece4d8;
  border-top: 4px solid #ffc43a;
  border-radius: 20px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.ff-loc-ponudba-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(20,20,20,0.06);
  border-color: #ffc43a;
}
.ff-loc-ponudba-card:hover .ff-loc-pc-icon {
  transform: scale(1.04) rotate(-2deg);
}
.ff-loc-pc-icon {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid #ffc43a;
  margin: 0 auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.ff-loc-pc-icon img { width: 80px; height: 80px; object-fit: contain; }
.ff-loc-pc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0;
  text-align: center;
  gap: 12px;
}
.ff-loc-pc-title {
  font-family: Poppins, sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
  text-transform: none;
}
.ff-loc-pc-text {
  font-size: 15.5px;
  color: #5a4a3a;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.ff-loc-pc-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.ff-loc-ponudba-card .ff-loc-btn { justify-content: center; }

/* ── About ── */
.ff-loc-about-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ff-loc-about-img { border-radius: 20px; width: 100%; height: 420px; object-fit: cover; }
.ff-loc-about-label { font-family: Courgette, sans-serif; color: #00ACAA; font-size: 24px; font-weight: 400; margin: 0 0 8px; }
.ff-loc-about-title { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 800; color: #1a1a1a; margin: 0 0 16px; text-transform: none; line-height: 1.2; }
.ff-loc-about-text { font-size: 17px; color: #555; line-height: 1.7; margin: 0 0 24px; }

/* ── Reviews ── */
.ff-loc-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ff-loc-review-card { background: #fff; border: 1.5px solid #ece4d8; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.ff-loc-review-stars { color: #ffc43a; font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; line-height: 1; }
.ff-loc-review-text { font-size: 15px; color: #444; line-height: 1.7; flex: 1; margin: 0 0 20px; }
.ff-loc-review-author { display: flex; align-items: center; gap: 10px; padding-top: 16px; border-top: 1px solid #f0f0f0; }
.ff-loc-review-avatar { width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0; background: #f0f9f8; padding: 6px; }
.ff-loc-review-name { font-size: 14px; font-weight: 700; color: #1a1a1a; }

/* ── Gallery ── */
.ff-loc-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ff-loc-gallery-item { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; border-bottom: none !important; }
.ff-loc-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.ff-loc-gallery-item:hover img { transform: scale(1.04); }

/* ── Lightbox ── */
.ff-lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; align-items: center; justify-content: center; }
.ff-lightbox.open { display: flex; }
.ff-lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: 8px; object-fit: contain; }
.ff-lightbox-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 32px; cursor: pointer; line-height: 1; opacity: 0.8; }
.ff-lightbox-close:hover { opacity: 1; }

/* ── Responsive ── */
@media (max-width: 991px) {
  .ff-loc-hero-content { width: 60%; }
  .ff-loc-title { font-size: 42px; }
  .ff-loc-hero-img { max-width: 340px; }
  .ff-loc-ponudba-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .ff-loc-pc-body { text-align: left; }
  .ff-loc-about-wrap { grid-template-columns: 1fr; gap: 32px; }
  .ff-loc-about-img { height: 300px; }
  .ff-loc-reviews-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .ff-loc-header { text-align: left; }
  .ff-loc-hero { padding: 88px 20px 48px; }
  .ff-loc-hero-wrap { flex-direction: column; gap: 28px; }
  .ff-loc-hero-content { width: 100%; align-items: center; text-align: center; }
  .ff-loc-hero-img { max-width: 100%; width: 100%; }
  .ff-loc-title { font-size: 32px; }
  .ff-loc-hero-btns { flex-direction: column; }
  .ff-loc-hero-btns .ff-loc-btn { justify-content: center; width: 100%; box-sizing: border-box; }
  .ff-loc-hours { align-self: stretch; justify-content: space-between; }
  .ff-loc-hours-item + .ff-loc-hours-item { flex: 1; }
  .ff-loc-section { padding: 56px 20px; }
  .ff-loc-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ff-loc-reviews-grid { grid-template-columns: 1fr; }
  .ff-loc-pc-body { text-align: left; }
}
@media (max-width: 479px) { .ff-loc-title { font-size: 28px; } }

/* ────────────────────────────────────────────── */
/* ──     LOCATION PAGES MOBILE REDESIGN       ── */
/* ────────────────────────────────────────────── */
@media (max-width: 767px) {
  /* Typography */
  h2 { font-size: 24px !important; line-height: 1.3 !important; }

  /* Hero refinements */
  .ff-loc-hero { padding: 96px 20px 40px !important; }
  .ff-loc-hero-content { align-items: flex-start !important; text-align: left !important; gap: 14px; }
  .ff-loc-badge { font-size: 13px; padding: 8px 16px; margin-bottom: 12px; }
  .ff-loc-title { font-size: clamp(28px, 8vw, 36px) !important; line-height: 1.1; margin: 0 0 16px; }

  /* Hours card — horizontal scroll if needed, kept tight */
  .ff-loc-hours { padding: 12px 14px; gap: 14px; flex-wrap: wrap; row-gap: 10px; }
  .ff-loc-hours-item + .ff-loc-hours-item { padding-left: 14px; margin-left: 0; }
  .ff-loc-hours-label { font-size: 10px; }
  .ff-loc-hours-time { font-size: 14px; }

  /* Price item: when it wraps to new row, remove left border */
  .ff-loc-hours-item--price { width: 100%; padding-left: 0 !important; margin-left: 0 !important; border-left: none !important; padding-top: 10px; border-top: 1px solid rgba(0,0,0,0.08); }

  .ff-loc-price-note { font-size: 12px; line-height: 1.5; margin-bottom: 20px; }

  .ff-loc-hero-btns { gap: 10px; }
  .ff-loc-btn { min-height: 50px; font-size: 16px; padding: 0 24px; }
  .ff-loc-note { font-size: 12px; align-self: flex-start; }

  .ff-loc-hero-img { width: 100%; }
  .ff-loc-hero-img img { width: 100%; height: auto; max-height: 280px; object-fit: cover; border-radius: 16px; }

  /* Sections — tighter */
  .ff-loc-section { padding: 48px 20px !important; }
  .ff-loc-header h2 { font-size: 24px !important; }

  /* Ponudba cards full-width */
  .ff-loc-ponudba-card { padding: 24px 20px !important; border-radius: 18px; }
  .ff-loc-pc-btn { width: 100%; min-height: 48px; justify-content: center; }
  .ff-loc-pc-btns { flex-direction: column; gap: 8px; }

  /* Gallery 2 cols, smaller gap */
  .ff-loc-gallery-grid { gap: 8px !important; }
  .ff-loc-gallery-item img { aspect-ratio: 1; object-fit: cover; }

  /* Reviews single column */
  .ff-loc-reviews-grid { gap: 14px; }

  /* Booking embed — full bleed */
  #rezervacija { padding: 32px 0 !important; }
}

@media (max-width: 380px) {
  .ff-loc-hero { padding: 88px 16px 36px !important; }
  .ff-loc-title { font-size: 26px !important; }
  .ff-loc-hours { gap: 10px; padding: 10px 12px; }
}
