﻿/* ==========================================================================
   Footer Component
   ========================================================================== */

.app-footer {
  position: relative;
  background: var(--secondary-cyan);
  padding: 32px 0 22px;
  color: var(--bg-white);
  overflow: hidden;
  border-top: 1px solid rgba(0,0,0,0.04);
}

.app-footer .container {
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 180px;
}

.footer-brand-name {
  font-size: 24px;
  font-weight: var(--weight-bold);
  color: var(--bg-white);
  line-height: 1.1;
}

.footer-tagline {
  font-size: clamp(9px, 2vw, 11px);
  color: rgba(255,255,255,0.8);
  margin: 4px 0 0 0;
  line-height: 1.5;
  white-space: nowrap;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 14px;
}

.footer-nav a,
.footer-legal a {
  color: rgba(255,255,255,0.85);
  transition: color var(--transition-fast);
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--bg-white);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  align-items: flex-start;
}

.footer-bottom {
  margin-top: 14px;
  margin-left:  0px;
  font-size: 10px;
  color: rgba(255,255,255,0.8);
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    justify-content: center;
  }

  .footer-brand-text {
    align-items: center;
    text-align: center;
    max-width: none;
  }
  
  .footer-nav,
  .footer-legal {
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  .footer-bottom {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}
