/* ============================================
   GARAGEBOX NEDERLAND — OVERZICHT BOXEN
   Plugin: garagebox-beheer
   Mobile-first · Colors: #01386A (navy) · #FF6310 (orange)
   ============================================ */

/* ── Reset & Container Overrides ── */
html,
body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  background-color: #01386A !important;
}

.ct-container-full {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  max-width: 100% !important;
}

.entry-content.is-layout-constrained {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

.entry-content.is-layout-constrained>* {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ── Footer color override ── */
footer.ct-footer,
.ct-footer {
  background: #01386A !important;
  border-top: none !important;
}

.ct-footer,
.ct-footer a,
.ct-footer .ct-footer-copyright,
.ct-footer p {
  color: rgba(255, 255, 255, 0.7) !important;
}

.ct-footer a:hover {
  color: #FF6310 !important;
}

/* ── Base ── */
.gbn-overzicht *,
.gbn-overzicht *::before,
.gbn-overzicht *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.gbn-overzicht {
  font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #2D3748;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden;
}

/* ── Hero ── */
.gbn-hero {
  background: #01386A;
  padding: 40px 20px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100% !important;
}

.gbn-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 99, 16, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.gbn-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  position: relative;
  font-family: inherit;
}

.gbn-hero .gbn-accent {
  color: #FF6310;
}

.gbn-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  font-family: inherit;
  font-weight: 400;
}

/* ── Cards Wrapper ── */
.gbn-cards-wrapper {
  background: #F5F7FA;
  width: 100% !important;
  padding: 0;
}

.gbn-cards {
  padding: 24px 16px 32px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Card ── */
.gbn-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(1, 56, 106, 0.10);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.gbn-card:hover {
  box-shadow: 0 8px 40px rgba(1, 56, 106, 0.18);
  transform: translateY(-4px);
}

/* ── Card Image ── */
.gbn-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.gbn-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gbn-card:hover .gbn-card-img img {
  transform: scale(1.05);
}

/* ── Badge ── */
.gbn-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gbn-badge--verhuurd {
  background: rgba(1, 56, 106, 0.88);
  color: #fff;
}

.gbn-badge--beschikbaar {
  background: rgba(16, 185, 129, 0.90);
  color: #fff;
}

/* ── Card Body ── */
.gbn-card-body {
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.gbn-card-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FF6310;
  letter-spacing: -0.01em;
  margin: 0;
  font-family: inherit;
}

/* ── Address ── */
.gbn-address {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  color: #718096;
  margin-top: 2px;
}

.gbn-address svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: #718096;
}

/* ── Size pill ── */
.gbn-size {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F5F7FA;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #01386A;
  align-self: flex-start;
}

.gbn-size svg {
  width: 18px;
  height: 18px;
  fill: #01386A;
}

/* ── Pricing (beschikbaar only) ── */
.gbn-pricing {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gbn-price-wrapper {
  position: relative;
  display: inline-block;
  cursor: default;
}

.gbn-price-line {
  font-size: 1.25rem;
  font-weight: 700;
  color: #01386A;
  letter-spacing: -0.01em;
  border-bottom: 1.5px dotted #01386A;
  padding-bottom: 2px;
}

.gbn-price-btw {
  font-size: 0.85rem;
  font-weight: 400;
  color: #718096;
}

.gbn-price-tooltip {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 300px;
  padding: 12px 16px;
  background: #01386A;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 400;
  border-radius: 8px;
  line-height: 1.5;
  box-shadow: 0 4px 16px rgba(1, 56, 106, 0.25);
  z-index: 10;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.gbn-price-tooltip::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 24px;
  border: 6px solid transparent;
  border-bottom-color: #01386A;
}

.gbn-price-wrapper:hover .gbn-price-tooltip,
.gbn-price-wrapper:focus .gbn-price-tooltip,
.gbn-price-wrapper.active .gbn-price-tooltip {
  visibility: visible;
  opacity: 1;
}

/* ── Features ── */
.gbn-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.gbn-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #2D3748;
  padding: 4px 0;
}

.gbn-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: #FF6310;
}

/* ── Card Footer ── */
.gbn-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid #E8ECF1;
  margin-top: auto;
}

/* ── Button ── */
.gbn-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FF6310;
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.gbn-btn:hover {
  background: #e55a0e;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255, 99, 16, 0.3);
  color: #fff !important;
  text-decoration: none !important;
}

.gbn-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.gbn-btn:hover svg {
  transform: translateX(3px);
}

/* ── CTA ── */
.gbn-cta {
  background: #01386A;
  padding: 48px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100% !important;
}

.gbn-cta::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 99, 16, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.gbn-cta h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  font-family: inherit;
}

.gbn-cta p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.gbn-cta .gbn-btn {
  position: relative;
  font-size: 1rem;
  padding: 14px 32px;
}

/* ── Responsive: Tablet ── */
@media (min-width: 768px) {
  .gbn-hero {
    padding: 56px 32px 48px;
  }

  .gbn-hero h1 {
    font-size: 2.5rem;
  }

  .gbn-cards {
    padding: 36px 32px 44px;
    gap: 28px;
  }

  .gbn-card {
    flex-direction: row;
  }

  .gbn-card-img {
    width: 40%;
    min-width: 280px;
    height: auto;
    min-height: 300px;
  }

  .gbn-card-body {
    padding: 28px 32px;
    width: 60%;
  }

  .gbn-features {
    grid-template-columns: 1fr 1fr;
  }

  .gbn-cta {
    padding: 56px 32px;
  }

  .gbn-cta h2 {
    font-size: 2rem;
  }
}

/* ── Responsive: Desktop ── */
@media (min-width: 1024px) {
  .gbn-hero {
    padding: 64px 40px 52px;
  }

  .gbn-hero h1 {
    font-size: 2.8rem;
  }

  .gbn-hero p {
    font-size: 1.15rem;
  }

  .gbn-cards {
    padding: 44px 40px 52px;
    gap: 32px;
  }

  .gbn-card-img {
    width: 38%;
    min-width: 360px;
    min-height: 320px;
  }

  .gbn-card-body {
    padding: 32px 40px;
  }

  .gbn-card-body h2 {
    font-size: 1.75rem;
  }

  .gbn-cta {
    padding: 64px 40px;
  }

  .gbn-cta h2 {
    font-size: 2.2rem;
  }
}