/* ============================================================
   HRS OUTBOOKS LLC — FOOTER STYLES
   Dynamic 5-Column Footer with Newsletter & Map
   ============================================================ */

/* ─── Footer Main ─── */
#site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  position: relative;
  overflow: hidden;
}

/* Decorative top gradient line */
#site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(30, 94, 255, 0.6) 30%, rgba(0, 198, 255, 0.6) 70%, transparent 100%);
}

/* Background blob */
#site-footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(30, 94, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── Footer Top Strip ─── */
.footer-top {
  background: linear-gradient(135deg, rgba(30, 94, 255, 0.08) 0%, rgba(0, 198, 255, 0.04) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 28px 0;
}

.footer-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-top-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.footer-top-badge svg {
  color: var(--cyan-accent);
  width: 18px;
  height: 18px;
}

/* ─── Footer Main Body ─── */
.footer-body {
  padding: 80px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 48px;
}

/* ─── Footer Brand Column ─── */
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(30, 94, 255, 0.3);
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-logo-text span { color: var(--cyan-accent); }

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
  max-width: 300px;
}

/* Social Icons */
.footer-social {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s var(--ease-bounce);
}

.social-icon:hover {
  background: var(--primary-bright);
  border-color: var(--primary-bright);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(30, 94, 255, 0.4);
}

/* Hours */
.footer-hours {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 16px 20px;
}

.footer-hours-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan-accent);
  margin-bottom: 10px;
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.footer-hours-row:last-child { border-bottom: none; }
.footer-hours-row span:last-child { color: rgba(255,255,255,0.75); font-weight: 500; }

/* ─── Footer Widget Columns ─── */
.footer-widget-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--grad-primary);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: all 0.2s ease;
  border-bottom: none;
}

.footer-link::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(30, 94, 255, 0.5);
  flex-shrink: 0;
  transition: background 0.2s ease;
}

.footer-link:hover {
  color: var(--white);
  padding-left: 6px;
}

.footer-link:hover::before {
  background: var(--cyan-accent);
}

/* ─── Newsletter Column ─── */
.footer-newsletter-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 18px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-input {
  width: 100%;
  padding: 12px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 0.875rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }

.newsletter-input:focus {
  border-color: var(--primary-bright);
  background: rgba(30, 94, 255, 0.08);
}

.newsletter-btn {
  width: 100%;
  padding: 12px;
  background: var(--grad-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(30, 94, 255, 0.3);
}

.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 94, 255, 0.45);
}

/* Footer Map */
.footer-map {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  height: 120px;
}

.footer-map iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(40%) invert(90%) hue-rotate(180deg);
  border: none;
  display: block;
}

/* ─── Footer Bottom ─── */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

.footer-copyright strong { color: rgba(255,255,255,0.7); }

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal-link {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s ease;
}

.footer-legal-link:hover { color: var(--white); }

.footer-legal-sep {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.15);
}

/* ─── Responsive ─── */
@media (max-width: 1199px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 36px;
  }

  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand { grid-column: 1 / -1; }

  .footer-body { padding: 60px 0 40px; }

  .footer-top-inner { flex-direction: column; align-items: flex-start; }

  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .footer-legal-links { justify-content: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
