
/* ==========================================================================
   SITE FOOTER (footer.php) — standalone stylesheet
   Colors match the site's existing design system (--ink, --red gradient)
   rather than the original reference screenshot's navy/gold palette.

   DEPENDENCIES — this file assumes the following are already defined
   elsewhere on the page (either paste them above this file, or keep
   them in your main stylesheet):

     --ink, --border, --font-display, --font-body
     (see :root in style.css / header-nav.css for exact values)

   Google Fonts + Bootstrap 5 should already be loaded in <head> from
   header.php's setup — no additional requirements beyond that.
   ========================================================================== */

.site-footer {
  --footer-bg: var(--ink, #0B0F14);
  --footer-accent: var(--red, #DC2626);
  --footer-accent-gradient: linear-gradient(135deg, #FF5F5F 0%, #E63946 55%, #C81E3A 100%);
  --footer-text: #FFFFFF;
  --footer-muted: #B7C0CC;
  --footer-border: rgba(255, 255, 255, 0.12);

  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 40px 0 32px;
  font-size: 0.92rem;
}

/* --- Top row: logo + simple nav --- */

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

.footer-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer-logo span {
  font-weight: 500;
  color: var(--footer-muted);
}

.footer-top-links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer-top-links a {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.2s ease;
}

.footer-top-links a:hover {
  color: var(--footer-accent);
}

/* --- Dotted section dividers --- */

.footer-divider {
  border: none;
  border-top: 1px dotted var(--footer-border);
  margin: 0;
}

/* --- 5-column sitemap grid --- */

.footer-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  padding: 28px 0;
}

.footer-col-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--footer-accent);
  margin-bottom: 14px;
}

.footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link-list li {
  margin-bottom: 10px;
}

.footer-link-list a {
  font-size: 0.88rem;
  color: var(--footer-text);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-link-list a:hover {
  color: var(--footer-accent);
  padding-left: 3px;
}

@media (max-width: 992px) {
  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* --- Disclaimer --- */

.footer-disclaimer {
  padding: 24px 0;
}

.footer-disclaimer h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 12px;
}

.footer-disclaimer p {
  font-size: 0.88rem;
  color: var(--footer-muted);
  max-width: 900px;
  margin-bottom: 14px;
}

.footer-disclaimer ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.footer-disclaimer li {
  font-size: 0.85rem;
  color: var(--footer-muted);
  margin-bottom: 8px;
  max-width: 900px;
}

/* --- Bottom bar: socials + copyright + legal links --- */

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

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

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--footer-accent);
  color: var(--footer-accent);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.footer-social-icon:hover {
  background: var(--footer-accent-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(200, 30, 58, 0.32);
  transform: translateY(-2px);
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--footer-muted);
  margin: 0;
  text-align: center;
}

.footer-copyright a {
  color: var(--footer-accent);
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.footer-copyright a:hover {
  opacity: 0.8;
}

.footer-legal-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.footer-legal-links a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  transition: color 0.2s ease;
}

.footer-legal-links a:hover {
  color: var(--footer-accent);
}

.footer-legal-divider {
  color: var(--footer-muted);
  font-size: 0.78rem;
}

@media (max-width: 700px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Floating WhatsApp pill (bottom-left)
   The old Bootstrap-4 modal markup and its global .modal-* overrides were
   removed: the modal could not open under Bootstrap 5, and the global
   overrides would have broken any other Bootstrap modal on the site.
   ========================================================================== */
.get-msg .get-msg-call {
  position: fixed;
  left: 14px;
  bottom: 16px;
  z-index: 1040;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 221px;
  height: 65px;
  padding: 0 0 0 8px;
  background: #fff;
  border-radius: 100px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.24);
  color: #000;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.get-msg .get-msg-call:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  color: #000;
}
.get-msg .order-call-icon {
  flex-shrink: 0;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background: #30a447;
  display: flex;
  align-items: center;
  justify-content: center;
}
.get-msg .order-call-icon i {
  color: #fff;
  font-size: 28px;
}
.get-msg .get-msg-title {
  display: block;
  font-family: var(--font-display, sans-serif);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin-bottom: 2px;
}
.get-msg .get-msg-sub {
  display: block;
  font-family: var(--font-body, sans-serif);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 14px;
  color: #424040;
  text-transform: uppercase;
}

/* Compact pill on small phones so it doesn't cover content */
@media (max-width: 575.98px) {
  .get-msg .get-msg-call {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
  }
  .get-msg .get-msg-call > span:last-child { display: none; }
  .get-msg .order-call-icon { width: 46px; height: 46px; }
}

/* ==========================================================================
   Back-to-top button (bottom-right) — toggled by the script in footer_in.php
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1040;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #c81e3a;
  background: linear-gradient(135deg, #ff5f5f 0%, #e63946 55%, #c81e3a 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(200, 30, 58, 0.32);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.back-to-top:hover {
  filter: brightness(0.92);
}
