/* ==========================================================================
   Unified Asfar Rahal Site Footer (مطابق لتصميم أسفار الرحال المعتمد)
   ========================================================================== */

.asfar-unified-footer {
  position: relative;
  background: linear-gradient(135deg, #01383b 0%, #024b50 50%, #012b2e 100%);
  color: #ffffff;
  padding: 65px 0 30px;
  font-family: 'Alexandria', 'Tajawal', system-ui, -apple-system, sans-serif;
  direction: rtl;
  text-align: right;
  overflow: hidden;
  box-sizing: border-box;
  border-top: 3px solid #14b8a6;
}

/* Background decorative wave curves */
.asfar-unified-footer::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.asfar-unified-footer::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 350px;
  height: 250px;
  background: radial-gradient(circle at top left, rgba(45, 212, 191, 0.15) 0%, transparent 65%);
  pointer-events: none;
}

.asfar-footer-container {
  width: min(100% - 32px, 1260px);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Top 5-Column Grid */
.asfar-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr 1fr 1.4fr;
  gap: 28px;
  align-items: start;
}

/* Brand Column */
.asfar-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.asfar-footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 14px;
}

.asfar-footer-logo-svg {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.asfar-footer-logo-text {
  display: flex;
  flex-direction: column;
}

.asfar-footer-logo-text .brand-ar {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.asfar-footer-logo-text .brand-en {
  font-size: 0.72rem;
  font-weight: 600;
  color: #5eead4;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.asfar-footer-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0 0 20px 0;
  max-width: 290px;
}

/* Social media links */
.asfar-footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.asfar-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.25s ease;
}

.asfar-social-btn svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.asfar-social-btn:hover {
  background: #14b8a6;
  border-color: #14b8a6;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(20, 184, 166, 0.4);
}

/* Official Tourism License Badge */
.asfar-license-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(45, 212, 191, 0.35);
  padding: 10px 14px;
  border-radius: 12px;
  margin-top: 14px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  max-width: 290px;
}

.asfar-license-card:hover {
  background: rgba(20, 184, 166, 0.22);
  border-color: #2dd4bf;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 184, 166, 0.25);
}

.asfar-license-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0e7490, #14b8a6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(14, 116, 144, 0.4);
}

.asfar-license-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.asfar-license-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.asfar-license-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: #2dd4bf;
  display: flex;
  align-items: center;
  gap: 4px;
}

.asfar-license-number {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.asfar-license-cr {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
}

.asfar-footer-sep {
  opacity: 0.4;
  margin: 0 8px;
}

/* Nav Columns */
.asfar-footer-col {
  display: flex;
  flex-direction: column;
}

.asfar-footer-heading {
  position: relative;
  font-size: 1.08rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
  padding-bottom: 8px;
}

.asfar-footer-heading::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: #14b8a6;
}

.asfar-footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.asfar-footer-nav-list li a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.asfar-footer-nav-list li a .chevron {
  font-size: 0.95rem;
  color: #2dd4bf;
  transition: transform 0.2s ease;
}

.asfar-footer-nav-list li a:hover {
  color: #ffffff;
  transform: translateX(-4px);
}

.asfar-footer-nav-list li a:hover .chevron {
  color: #5eead4;
}

/* Contact Us Column */
.asfar-contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.asfar-contact-card-item {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.asfar-contact-card-item:hover {
  transform: translateX(-3px);
}

.asfar-contact-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #14b8a6;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(20, 184, 166, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.asfar-contact-card-item:hover .asfar-contact-icon-badge {
  background: #0d9488;
  transform: scale(1.05);
}

.asfar-contact-icon-badge svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.asfar-contact-card-info {
  display: flex;
  flex-direction: column;
}

.asfar-contact-card-label {
  font-size: 0.76rem;
  color: #a7f3d0;
  margin-bottom: 2px;
}

.asfar-contact-card-val {
  font-size: 0.92rem;
  font-weight: 700;
  direction: ltr;
  text-align: right;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Location & Map Card Box (موقعنا)
   ========================================================================== */
.asfar-location-box {
  margin-top: 36px;
  padding: 20px 24px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.asfar-location-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}

.asfar-location-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #14b8a6;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.4);
}

.asfar-location-badge svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.asfar-location-texts {
  display: flex;
  flex-direction: column;
}

.asfar-location-title {
  margin: 0 0 6px 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.asfar-location-addr {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
}

.asfar-location-welcome {
  margin: 6px 0 12px 0;
  font-size: 0.8rem;
  color: #99f6e4;
}

.asfar-location-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
  color: #ffffff;
  padding: 9px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
  width: fit-content;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.35);
  transition: all 0.2s ease;
}

.asfar-location-map-btn:hover {
  background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(20, 184, 166, 0.5);
  color: #ffffff;
}

.asfar-location-map-btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.asfar-location-map-embed {
  flex: 1.4;
  height: 165px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.asfar-location-map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ==========================================================================
   Bottom Bar (حقوق النشر والشعار الختامي)
   ========================================================================== */
.asfar-footer-bottom {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
}

.asfar-footer-copy {
  display: flex;
  align-items: center;
  gap: 6px;
}

.asfar-footer-copy strong {
  color: #ffffff;
  font-weight: 700;
}

.asfar-footer-slogan {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.asfar-footer-slogan .slogan-line {
  display: inline-block;
  width: 45px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.asfar-footer-slogan .plane-icon {
  display: inline-flex;
  align-items: center;
  color: #5eead4;
}

.asfar-footer-slogan .plane-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1060px) {
  .asfar-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .asfar-footer-brand {
    grid-column: 1 / -1;
  }
  .asfar-location-box {
    flex-direction: column-reverse;
    align-items: stretch;
  }
  .asfar-location-map-embed {
    height: 180px;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .asfar-unified-footer {
    padding: 45px 0 95px; /* bottom padding for mobile action bar */
  }
  .asfar-footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .asfar-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .asfar-location-box {
    padding: 16px;
  }
  .asfar-location-info {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Universal Card Click & Interactive Behavior
   ========================================================================== */
.hotel-card-v2,
.svc-card,
.card,
.cat,
.room-card,
.ext-dest-card {
  cursor: pointer !important;
}

.hotel-card-v2 .h-card-media img,
.svc-card .svc-media img,
.room-card .room-image img {
  cursor: pointer !important;
}

.hotel-card-v2 a,
.hotel-card-v2 button,
.svc-card a,
.svc-card button,
.card a,
.card button {
  cursor: pointer;
}

a.h-card-media,
a.svc-media {
  display: block !important;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer !important;
  position: relative !important;
}

a.h-card-media img,
a.svc-media img {
  cursor: pointer !important;
  display: block !important;
  width: 100% !important;
}


