/* Footer styles for Czech Venue Hub */

.cvh-footer {
  border-top: 1px solid var(--gray-200);
  background-color: #ffffff;
}

.cvh-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
  gap: 2.5rem;
  padding-top: var(--space-8);
  padding-bottom: var(--space-8);
}

@media (max-width: 768px) {
  .cvh-footer__inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

.cvh-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text);
}

.cvh-footer__logo-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: radial-gradient(circle at 20% 0, #ffffff, #e3e9f6);
  color: var(--color-primary);
  border: 1px solid rgba(15, 59, 130, 0.18);
  box-shadow: var(--shadow-sm);
}

.cvh-footer__brand-text {
  display: flex;
  flex-direction: column;
}

.cvh-footer__brand-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cvh-footer__brand-subtitle {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.cvh-footer__copy {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.cvh-footer__links-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

@media (max-width: 640px) {
  .cvh-footer__links-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

.cvh-footer__heading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gray-700);
  margin-bottom: 0.85rem;
}

.cvh-footer__links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cvh-footer__links-list a {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.cvh-footer__links-list a:hover,
.cvh-footer__links-list a:focus-visible {
  color: var(--color-primary);
}

.cvh-footer__meta-bar {
  border-top: 1px solid var(--gray-200);
  background-color: var(--gray-50);
}

.cvh-footer__meta-inner {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.cvh-footer__meta-text {
  font-size: 0.75rem;
  color: var(--gray-600);
}

/* Cookie banner */

.cvh-cookie {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  display: none;
  padding: 0.75rem;
  background: linear-gradient(135deg, rgba(15, 59, 130, 0.03), rgba(215, 38, 56, 0.03));
}

.cvh-cookie[aria-hidden="true"] {
  display: none !important;
}

.cvh-cookie--visible {
  display: block;
  animation: cvh-cookie-slide-up 260ms ease-out forwards;
}

.cvh-cookie--hiding {
  animation: cvh-cookie-slide-down 220ms ease-in forwards;
}

.cvh-cookie__inner {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
  background-color: #ffffff;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 768px) {
  .cvh-cookie__inner {
    flex-direction: column;
    align-items: stretch;
  }
}

.cvh-cookie__text {
  min-width: 0;
}

.cvh-cookie__title {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.cvh-cookie__description {
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
}

.cvh-cookie__more {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  color: var(--color-primary);
  cursor: pointer;
  text-decoration: underline;
}

.cvh-cookie__more:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.cvh-cookie__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 480px) {
  .cvh-cookie__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
}

.cvh-cookie__button {
  min-width: 7rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

.cvh-cookie__button--secondary {
  background-color: #ffffff;
  border-color: var(--gray-300);
  color: var(--gray-800);
}

.cvh-cookie__button--secondary:hover,
.cvh-cookie__button--secondary:focus-visible {
  border-color: var(--gray-500);
}

.cvh-cookie__button--primary {
  background: linear-gradient(135deg, var(--color-primary), #071b3d);
  color: #ffffff;
  border-color: rgba(15, 59, 130, 0.7);
  box-shadow: var(--shadow-sm);
}

.cvh-cookie__button--primary:hover,
.cvh-cookie__button--primary:focus-visible {
  background: linear-gradient(135deg, var(--color-primary-hover), #050f26);
  box-shadow: var(--shadow-md);
}

@keyframes cvh-cookie-slide-up {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes cvh-cookie-slide-down {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}
