/* =============================================
   THE TRAVEL SPARK — footer.css
   Design System: Light Lime Green — fresh, vivid, premium
   ============================================= */

.footer {
  background: var(--color-forest);
  color: #FFFFFF;
  padding-top: 40px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 184, 75, 0.08) 0%, transparent 70%); /* subtle gold glow */
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(145deg, var(--primary-bg), #ffffff);
  padding: 24px 20px;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(13, 46, 82, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* Brand Column */
.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.footer-brand .footer-logo img {
  width: auto;
  /* Height is controlled via inline style in components.js */
}

.footer-brand .footer-logo .logo-text .name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  color: #FFFFFF;
}

.footer-brand .footer-logo .logo-text .sub {
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: var(--color-mint);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 6px;
  line-height: 1;
}

.footer-logo-text i {
  color: var(--color-sage);
  font-style: italic;
  font-weight: 700;
}

.footer-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: #000000;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 290px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-bg-page);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--primary-dark);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
  color: white;
}

/* Link Columns */
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--color-sage);
  border-radius: 2px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-mint);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a::before {
  content: '›';
  color: var(--color-sage);
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateX(-4px);
}

.footer-col ul li a:hover { color: #FFFFFF; padding-left: 6px; }
.footer-col ul li a:hover::before { opacity: 1; transform: translateX(0); }

/* Contact Column */
.footer-contact { display: flex; flex-direction: column; gap: 14px; }

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

.footer-contact-item .icon {
  width: 34px;
  height: 34px;
  background: var(--color-sage-pale);
  color: var(--color-forest);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.footer-contact-item .info {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-mint);
  line-height: 1.5;
}

.footer-contact-item .info a { color: var(--color-mint); transition: color 0.2s; }
.footer-contact-item .info a:hover { color: var(--color-sage); }

/* Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links { display: flex; gap: 20px; }

.footer-bottom-links a {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--color-sage); }

@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: span 4; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   FLOAT COMPONENTS (WhatsApp & Scroll Top)
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.2);
  z-index: 999;
  transition: all 0.25s;
}

.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; fill: white; }

.scroll-top {
  position: fixed;
  bottom: 94px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--color-sage);
  color: var(--color-forest);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.2);
  transition: all 0.25s;
  opacity: 0;
  pointer-events: none;
  z-index: 998;
}

.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--color-forest); color: white; transform: translateY(-3px); }
