/* Footer layout & cookie banner styling for Zagrebia */
.site-footer {
  margin-top: var(--space-12);
}

.footer-section--statement {
  background: radial-gradient(circle at top left, rgba(247, 239, 227, 0.8), #ffffff);
}

.footer-section--nav {
  background: #ffffff;
}

.footer-section--reservation {
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.96));
}

.footer-section--reservation .footer-reservation-title {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: #f9fafb;
  margin-bottom: var(--space-2);
}

.footer-section--reservation .footer-reservation-copy {
  color: rgba(209, 213, 219, 0.92);
}

.footer-reservation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.footer-section--contact {
  background: #ffffff;
}

.footer-contact-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-contact-row--bottom {
  margin-top: var(--space-4);
  border-top: 1px solid var(--gray-200);
  padding-top: var(--space-3);
  justify-content: space-between;
}

.footer-contact-note {
  color: var(--color-text-muted);
}

.footer-contact-copy {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
}

@media (min-width: 768px) {
  .footer-contact-row {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  pointer-events: auto;
  margin: var(--space-3);
  max-width: 900px;
  width: 100%;
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-4);
  background: rgba(15, 23, 42, 0.96);
  color: #f9fafb;
  box-shadow: var(--shadow-glass);
  border: 1px solid rgba(248, 250, 252, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  transform: translateY(110%);
  opacity: 0;
  transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.cookie-banner.is-visible .cookie-banner-inner,
.cookie-banner.cookie-banner--visible .cookie-banner-inner {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner-text {
  flex: 1 1 260px;
}

.cookie-banner-title {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.cookie-banner-description {
  font-size: var(--font-size-sm);
  color: rgba(209, 213, 219, 0.9);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: flex-end;
}

.cookie-btn-reject {
  background: rgba(15, 23, 42, 0.4);
  color: #e5e7eb;
  border-color: rgba(148, 163, 184, 0.8);
}

.cookie-btn-reject:hover {
  background: rgba(15, 23, 42, 0.8);
}

.cookie-btn-accept {
  background: linear-gradient(120deg, var(--color-primary), var(--color-turquoise));
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    padding: var(--space-3);
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: stretch;
  }

  .cookie-banner-actions .btn {
    flex: 1 1 45%;
    justify-content: center;
  }
}
