/* Footer */
.footer-luxury {
  background: #0d0d0d;
  color: white;
  padding: 80px 0 30px;
  margin-top: auto;
  /* Added padding-bottom to prevent WhatsApp button overlap */
  padding-bottom: 100px;
}

.footer-luxury-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-img {
  height: 45px;
  width: auto;
  margin-bottom: 25px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 25px;
  font-weight: 300;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: #ff9966;
}

.footer-luxury-col h4 {
  font-size: 16px;
  margin-bottom: 25px;
  color: white;
  font-weight: 600;
}

.footer-luxury-col ul {
  list-style: none;
}

.footer-luxury-col ul li {
  margin-bottom: 12px;
}

.footer-luxury-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
  font-weight: 300;
}

.footer-luxury-col ul li a:hover {
  color: #ff9966;
}

.footer-luxury-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-luxury-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

.payment-methods-luxury {
  display: flex;
  gap: 15px;
}

.payment-methods-luxury i {
  font-size: 28px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.payment-methods-luxury i:hover {
  color: rgba(255, 255, 255, 0.8);
}

.tenma-brand {
  font-weight: bold;
}

/* Added styles for WhatsApp floating button */
.fab1 {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-indent: -9999px;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 998;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fab1::before {
  content: "\f232";
  font-family: "Font Awesome 6 Brands";
  text-indent: 0;
  position: absolute;
  font-size: 28px;
}

.fab1:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Added styles for WhatsApp popup component */
.whatsapp-popup {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: white;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 999;
  max-width: 280px;
  animation: slideUp 0.4s ease-out;
  direction: rtl; /* Added direction for RTL support from updates */
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-popup::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 25px;
  width: 16px;
  height: 16px;
  background: white;
  transform: rotate(45deg);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.whatsapp-popup .close-btn {
  position: absolute;
  top: 10px;
  left: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.whatsapp-popup .close-btn:hover {
  opacity: 1;
}

.whatsapp-popup .close-btn img {
  width: 16px;
  height: 16px;
}

.whatsapp-popup p {
  margin: 10px 0 15px 0;
  color: #333;
  line-height: 1.5;
  text-align: right;
}

.whatsapp-popup p img.emoji {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin-left: 4px;
}

.whatsapp-popup .chat-btn {
  width: 100%;
  background: linear-gradient(135deg, #25d366 0%, #20b858 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-popup .chat-btn:hover {
  background: linear-gradient(135deg, #20b858 0%, #1a9d4a 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-popup .chat-btn:active {
  transform: translateY(0);
}

/* ==========================================
   RESPONSIVE DESIGN - FOOTER
   ========================================== */

@media (max-width: 992px) {
  .footer-luxury-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-luxury-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-luxury-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  /* Responsive adjustments for mobile */
  .footer-luxury {
    padding-bottom: 120px;
  }

  .fab1 {
    bottom: 15px;
    right: 15px;
    width: 55px;
    height: 55px;
  }

  .fab1::before {
    font-size: 24px;
  }

  .whatsapp-popup {
    bottom: 80px;
    right: 15px;
    max-width: 260px;
    padding: 16px;
  }
}





/* Adding WhatsApp Floating Button Styles */
.fab1 {
  position: fixed;
  bottom: 40px;
  right: 30px;
  width: 80px;
  height: 80px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  /* مهم: لمحاذاة عمودي */
  justify-content: center;
  /* مهم: لمحاذاة أفقي */
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  font-size: 0;
  overflow: hidden;
}

.fab1::before {
  content: "\f232";
  /* أيقونة WhatsApp */
  font-family: "Font Awesome 6 Brands";
  font-size: 45px;
  color: white;
  display: block;
  /* flex مش مطلوب هنا */
  /* إزالة margin-top */
}


.fab1:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  background: #20bd5c;
}

.fab1:active {
  transform: translateY(-3px) scale(1.05);
}

/* Pulse animation for WhatsApp button */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.fab1 {
  animation: pulse 2s infinite;
}

.fab1:hover {
  animation: none;
}

/* Mobile responsive for WhatsApp button */
@media (max-width: 768px) {
  .fab1 {
    width: 65px;
    height: 65px;
    bottom: 25px;
    right: 25px;
  }

  .fab1::before {
    font-size: 30px;
    margin-top: 0;
    /* إزالة الـ margin-top */
  }
}

@media (max-width: 480px) {
  .fab1 {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
  }

  .fab1::before {
    font-size: 28px;
    margin-top: 0;
    /* إزالة الـ margin-top */
  }
}
























