/* =============================================
   MAHA SHIVA NAADI JOTHIDAM — footer.css
   Styles for: Footer · Floating Buttons
   ============================================= */

/* =============================================
   CSS Variables & Reset (shared)
   ============================================= */
:root {
  --deep-red: #8B0000;
  --crimson: #c0001a;
  --gold: #D4AF37;
  --gold-light: #f0d060;
  --gold-pale: #fdf3c0;
  --saffron: #FF6B00;
  --cream: #fdf5e4;
  --warm-white: #fffdf7;
  --dark: #1a0a00;
  --maroon-dark: #5c0000;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Crimson Text', Georgia, serif; overflow-x: hidden; }


/* ===== FOOTER ===== */
footer {
  background: linear-gradient(180deg, #3a0000, #5c0000);
  color: white;
  padding: 60px 30px 0;
}
.footer-top {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}
.f-logo {
  display: inline-block;
  margin-bottom: 18px;
  text-decoration: none;
}
.f-logo-fallback {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 1px;
  align-items: center;
  gap: 8px;
}
.f-logo img {
  height: 70px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  /* Brighten + gold glow so logo is vivid on dark footer */
  filter: brightness(1.3)
          drop-shadow(0 2px 8px rgba(0,0,0,0.6))
          drop-shadow(0 0 18px rgba(212,175,55,0.5));
  transition: filter 0.3s ease, transform 0.3s ease;
  background: transparent;
}
.f-logo img:hover {
  filter: brightness(1.5)
          drop-shadow(0 2px 12px rgba(0,0,0,0.7))
          drop-shadow(0 0 28px rgba(212,175,55,0.85));
  transform: scale(1.05);
}
.footer-brand p { font-size: 14px; line-height: 1.7; color: #ffccaa; }
.footer-brand .socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-brand .socials a {
  width: 38px; height: 38px;
  background: rgba(212,175,55,0.2);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
  text-decoration: none;
  transition: all 0.3s;
}
.footer-brand .socials a:hover { background: var(--gold); color: var(--dark); }
footer h4 { font-family: 'Cinzel', serif; font-size: 14px; color: var(--gold-light); margin-bottom: 15px; letter-spacing: 1px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a { color: #ffccaa; text-decoration: none; font-size: 14px; transition: color 0.2s; }
footer ul li a:hover { color: var(--gold-light); }
.footer-bottom {
  text-align: center;
  padding: 24px 18px 20px;
  color: #cc9977;
  font-size: 13px;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-bottom-logo {
  margin-bottom: 12px;
}
.footer-bottom-logo a {
  display: inline-block;
  text-decoration: none;
}
.footer-bottom-logo img {
  height: 65px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: brightness(1.3)
          drop-shadow(0 2px 8px rgba(0,0,0,0.5))
          drop-shadow(0 0 18px rgba(212,175,55,0.45));
  transition: filter 0.3s ease, transform 0.3s ease;
}
.footer-bottom-logo img:hover {
  filter: brightness(1.5)
          drop-shadow(0 2px 12px rgba(0,0,0,0.6))
          drop-shadow(0 0 28px rgba(212,175,55,0.8));
  transform: scale(1.05);
}
.footer-warning { margin-top: 4px; color: #aa6644; font-size: 12px; }

/* ===== FLOATING BUTTONS ===== */
.floating-menu {
  position: fixed;
  right: 22px;
  bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}
.float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn.wa   { background: #25D366; }
.float-btn.call { background: var(--crimson); }


/* =============================================
   RESPONSIVE — Footer & Floating Buttons
   ============================================= */
@media (max-width: 1024px) {
  .footer-top {
    gap: 30px;
  }
}

@media (max-width: 900px) {
  /* Footer */
  .footer-top {
    grid-template-columns: 1fr 1fr; gap: 30px;
  }
}

@media (max-width: 700px) {
  /* --- FOOTER --- */
  footer {
    padding: 40px 18px 0;
  }
  .footer-top {
    grid-template-columns: 1fr; gap: 24px;
  }
  .f-logo img {
    height: 55px;
  }
  .footer-brand p {
    font-size: 13px;
  }
  .footer-brand .socials {
    flex-wrap: wrap; gap: 10px;
  }
  footer h4 {
    font-size: 13px; margin-bottom: 10px;
  }
  footer ul li {
    margin-bottom: 8px;
  }
  footer ul li a {
    font-size: 13px;
  }
  .footer-bottom {
    font-size: 12px; padding: 16px 10px;
  }
  .footer-bottom-logo img {
    height: 50px;
  }
  .footer-warning {
    font-size: 11px; margin-top: 8px;
  }
  /* --- FLOATING BUTTONS --- */
  .floating-menu {
    right: 14px; bottom: 16px; gap: 10px;
  }
  .float-btn {
    width: 46px; height: 46px; font-size: 19px;
  }
}

@media (max-width: 380px) {
  /* Footer */
  .footer-bottom-logo img {
    height: 42px;
  }
  .f-logo img {
    height: 46px;
  }
  .footer-brand .socials a {
    width: 34px; height: 34px; font-size: 13px;
  }
}
