/* Footer-specific styles for TravelGearumo */

.tg-footer {
  font-size: var(--font-size-sm);
}

.tg-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.tg-footer__top {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.tg-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.tg-footer__logo {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle at 20% 0, #60a5fa, #1d4ed8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.tg-footer__logo-mark {
  font-weight: 700;
  font-size: var(--font-size-sm);
}

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

.tg-footer__site-name {
  font-weight: 600;
}

.tg-footer__tagline {
  font-size: var(--font-size-xs);
  color: #9ca3af;
}

.tg-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-16);
}

.tg-footer__heading {
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
  color:white;
}

.tg-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tg-footer__list li + li {
  margin-top: var(--space-2);
}

.tg-footer__list a {
  color: #e5e7eb;
}

.tg-footer__list a:hover {
  color: #ffffff;
}

.tg-footer__note-text {
  color: #9ca3af;
  max-width: 70ch;
}

.tg-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: var(--space-8);
}

.tg-footer__copyright {
  font-size: var(--font-size-xs);
  color:white;
}

.tg-footer__meta {
  font-size: var(--font-size-xs);
}

/* Cookie banner */
.tg-cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  background: transparent;
}

.tg-cookie-banner[aria-hidden="false"] {
  display: block;
}

.tg-cookie-banner--visible {
  animation: tg-cookie-slide-up 220ms ease-out forwards;
}

.tg-cookie-banner--hidden {
  animation: tg-cookie-slide-down 180ms ease-in forwards;
}

.tg-cookie-banner__inner {
  margin: 0 auto var(--space-6);
  max-width: 1120px;
  border-radius: var(--radius-xl);
  background-color: #020617;
  color: #e5e7eb;
  box-shadow: var(--shadow-lg);
  padding: var(--space-8) var(--space-10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
}

.tg-cookie-banner__text {
  max-width: 60ch;
}

.tg-cookie-banner__title {
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.tg-cookie-banner__description {
  font-size: var(--font-size-xs);
  color: #cbd5f5;
  margin-bottom: var(--space-2);
}

.tg-cookie-banner__links {
  font-size: var(--font-size-xs);
}

.tg-cookie-banner__links a {
  text-decoration: underline;
}

.tg-cookie-banner__actions {
  display: flex;
  flex-shrink: 0;
  gap: var(--space-4);
}

.tg-cookie-banner__button {
  font-size: var(--font-size-xs);
  padding-inline: 0.9rem;
}

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

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

/* Responsive footer */
@media (max-width: 900px) {
  .tg-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tg-footer__grid {
    grid-template-columns: 1fr;
  }

  .tg-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .tg-cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .tg-cookie-banner__actions {
    width: 100%;
    justify-content: flex-end;
  }
}
