/* =====================================================
   Footer CSS (SEO + PageSpeed safe)
   File: /theme/css/footer.css
   ===================================================== */

/* Footer background */
.fmt-footer{
  margin-top:0 !important;
  background: linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
              url("/assets/images/fes-morocco-tours-footer.jpg") no-repeat center/cover;
  color:#fff;
  padding:60px 0 25px;
  font-family:"Poppins", Arial, sans-serif;
}

.fmt-footer-container{
  max-width:1200px;
  margin:0 auto;
  padding:20px 20px 0;
}

/* CTA */
.fmt-footer-cta{
  text-align:center;
  margin:0 0 28px;
}
.fmt-footer-cta-title{
  margin:0 0 10px;
  font-size:20px;
  font-weight:600;
  color:#fff;
}
.fmt-footer-cta-btn{
  display:inline-block;
  padding:10px 18px;
  border-radius:10px;
  background:#f4b73b;
  color:#111827 !important;
  font-weight:600;
  text-decoration:none;
  transition:opacity .2s ease, transform .2s ease;
}
.fmt-footer-cta-btn:hover{
  opacity:.92;
  transform: translateY(-1px);
}

/* Grid */
.fmt-footer-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:40px;
}

/* Titles */
.fmt-footer-title{
  font-size:18px;
  font-weight:600;
  margin:0 0 18px;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.fmt-footer-title::after{
  content:"";
  width:40px;
  height:3px;
  background:#f4b73b;
  display:block;
  margin-top:6px;
}

/* Text */
.fmt-footer p{
  font-size:14px;
  line-height:1.7;
  color:#e5e7eb;
  margin:0 0 10px;
}
.fmt-footer-small{
  margin-top:10px;
  font-size:13px;
  color:#e5e7eb;
}

/* Links */
.fmt-footer a{
  color:#d1d5db;
  text-decoration:none;
  transition: color .2s ease, opacity .2s ease;
}
.fmt-footer a:hover{
  color:#f4b73b;
}

/* Footer links list */
.fmt-footer-links ul{
  list-style:none;
  padding:0;
  margin:0;
}
.fmt-footer-links li{
  margin-bottom:8px;
}
.fmt-footer-links a{
  font-size:14px;
}

/* Social */
.fmt-social{ margin-top:16px; }
.fmt-social a{
  display:inline-flex;
  width:34px;
  height:34px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.15);
  justify-content:center;
  align-items:center;
  margin-right:8px;
  color:#fff;
  font-size:14px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.fmt-social a:hover{
  background:#f4b73b;
  color:#111827;
  transform: translateY(-2px);
}

/* Address */
.fmt-footer-address{ font-style:normal; }

/* TripAdvisor badge */
.fmt-tripadvisor-badge{
  width:160px;
  height:auto;
  display:inline-block;
  margin-bottom:10px;
}

/* Subfooter */
.fmt-subfooter{
  margin-top:40px;
  border-top:1px solid rgba(255,255,255,.15);
  padding-top:16px;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:10px;
  color:#d1d5db;
  font-size:13px;
}
.fmt-subfooter a{
  color:#f4b73b;
}
.fmt-subfooter a:hover{
  opacity:.85;
}

/* WhatsApp Floating Button */
#fmt-whatsapp{
  position:fixed;
  bottom:25px;
  left:25px;
  width:56px;
  height:56px;
  border-radius:50%;
  background:#25D366;
  display:flex;
  justify-content:center;
  align-items:center;
  z-index:999;
  box-shadow:0 4px 12px rgba(0,0,0,.35);
  overflow:hidden;
  transition: transform .2s ease;
}
#fmt-whatsapp:hover{ transform:scale(1.08); }
#fmt-whatsapp img{ width:32px; height:32px; }

/* Responsive */
@media (max-width:768px){
  .fmt-footer{ padding:45px 0 20px; }
  .fmt-footer-title{ font-size:16px; }
  .fmt-subfooter{
    flex-direction:column;
    text-align:center;
  }
  #fmt-whatsapp{
    bottom:20px;
    left:20px;
    width:52px;
    height:52px;
  }
}
#fmt-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

#fmt-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}