/* Makkah Services Hero Section */
.makkah-hero {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  height: 70vh;
  min-height: 35rem;
  display: flex;
  align-items: center;
  background-color: #010101;
}

.makkah-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.makkah-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 4rem 1.25rem;
}

.makkah-hero__content {
  width: 100%;
  max-width: 45rem;
  text-align: right;
}

.makkah-hero__title {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin: 0 0 1rem;
  font-weight: 500;
  text-transform: uppercase;
  text-align: right;
}

.makkah-hero__subtitle {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 1.5rem;
  line-height: 1.2;
  text-align: right;
}

.makkah-hero__subtitle em {
  font-style: italic;
  color: #fff;
  position: relative;
}

.makkah-hero__description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin: 0 0 2rem;
  line-height: 1.6;
  text-align: right;
}


.makkah-hero__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #fff;
  color: #010101;
  padding: 1rem 2rem;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  transition: all 0.3s ease;
  border: 2px solid #fff;
}

.makkah-hero__button:hover {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

.makkah-hero__button svg {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.makkah-hero__button:hover svg {
  transform: translateX(-0.25rem);
}

/* LTR Support (override default RTL) */
html[dir="ltr"] .makkah-hero__inner {
  justify-content: flex-start;
}

html[dir="ltr"] .makkah-hero__content {
  text-align: left;
}

html[dir="ltr"] .makkah-hero__title {
  text-align: left;
}

html[dir="ltr"] .makkah-hero__subtitle {
  text-align: left;
}

html[dir="ltr"] .makkah-hero__description {
  text-align: left;
}


/* Arrow direction for LTR */
html[dir="ltr"] .makkah-hero__button:hover svg {
  transform: translateX(0.25rem);
}

/* Responsive Design */
@media (max-width: 80rem) {
  .makkah-hero {
    height: 70vh;
  }
  
  .makkah-hero__subtitle {
    font-size: 3rem;
  }
}

@media (max-width: 64rem) {
  .makkah-hero {
    height: 70vh;
  }
  
  .makkah-hero__subtitle {
    font-size: 2.5rem;
  }
  
  .makkah-hero__description {
    font-size: 1.125rem;
  }
}

@media (max-width: 48rem) {
  .makkah-hero {
    height: 60vh;
    min-height: 25rem;
  }

  .makkah-hero__inner {
    padding: 1.5rem 1rem;
    justify-content: center;
  }
  
  .makkah-hero__content {
    text-align: center;
  }

  .makkah-hero__title {
    font-size: 1rem;
    text-align: center;
  }

  .makkah-hero__subtitle {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .makkah-hero__description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .makkah-hero__button {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }
  
  /* Override directional styles on mobile - center everything */
  html[dir="ltr"] .makkah-hero__inner,
  html[dir="rtl"] .makkah-hero__inner {
    justify-content: center;
  }
  
  html[dir="ltr"] .makkah-hero__content,
  html[dir="rtl"] .makkah-hero__content {
    text-align: center;
  }
  
  html[dir="ltr"] .makkah-hero__title,
  html[dir="rtl"] .makkah-hero__title {
    text-align: center;
  }
  
  html[dir="ltr"] .makkah-hero__subtitle,
  html[dir="rtl"] .makkah-hero__subtitle {
    text-align: center;
  }
  
  html[dir="ltr"] .makkah-hero__description,
  html[dir="rtl"] .makkah-hero__description {
    text-align: center;
  }
}

@media (max-width: 36rem) {
  .makkah-hero {
    height: 50vh;
    min-height: 20rem;
  }
  
  .makkah-hero__title {
    font-size: 0.875rem;
  }
  
  .makkah-hero__subtitle {
    font-size: 1.75rem;
  }
  
  .makkah-hero__description {
    font-size: 0.9375rem;
  }
  
  .makkah-hero__button {
    font-size: 0.875rem;
    padding: 0.75rem 1.25rem;
  }
  
  .makkah-hero__button svg {
    width: 1rem;
    height: 1rem;
  }
}