/* Shared Larmoond Travel and Tours component system for public Django views. */

body,
button,
input,
select,
textarea {
  font-family: "Jost", "Noto Sans Arabic", system-ui, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Jost", "Noto Sans Arabic", system-ui, sans-serif;
}

.aa-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #5f7b72;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

[dir="rtl"] .aa-eyebrow {
  letter-spacing: 0;
}

.aa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0.82rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.aa-btn:hover {
  transform: translateY(-2px);
}

.aa-btn-primary {
  color: #fff;
  background: var(--aa-deep-green);
}

.aa-btn-primary:hover {
  color: var(--aa-deep-green);
  background: var(--aa-lime);
}

.aa-btn-lime {
  color: var(--aa-deep-green);
  background: var(--aa-lime);
}

.aa-btn-lime:hover {
  color: var(--aa-deep-green);
  background: #b9f22f;
}

.aa-btn-ghost {
  color: var(--aa-deep-green);
  background: transparent;
  border-color: var(--aa-border);
}

.aa-btn-ghost:hover {
  color: var(--aa-deep-green);
  border-color: var(--aa-lime);
  background: var(--aa-lime-soft);
}

.aa-message-stack {
  position: fixed;
  z-index: 1080;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.aa-message-stack .alert {
  transition: opacity 280ms ease, transform 280ms ease;
}

.aa-message-stack .alert.is-hiding {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.aa-benefit-band {
  padding: 84px 0 30px;
  background: #fff;
}

.aa-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.aa-benefit-grid article {
  display: flex;
  gap: 20px;
  padding: 20px 42px;
  border-inline-end: 1px solid var(--aa-border);
}

.aa-benefit-grid article:first-child {
  padding-inline-start: 0;
}

.aa-benefit-grid article:last-child {
  padding-inline-end: 0;
  border-inline-end: 0;
}

.aa-benefit-grid article > span {
  display: grid;
  place-items: center;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  color: var(--aa-deep-green);
  background: var(--aa-lime);
  border-radius: 50%;
  font-size: 1.55rem;
}

.aa-benefit-grid h2 {
  margin: 0 0 7px;
  font-size: 1.05rem;
  letter-spacing: 0;
}

.aa-benefit-grid p {
  margin: 0;
  color: var(--aa-muted);
  line-height: 1.55;
}

.aa-slider-controls {
  display: flex;
  gap: 10px;
}

.aa-slider-controls button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--aa-deep-green);
  background: #fff;
  border: 1px solid var(--aa-border);
  border-radius: 50%;
}

.aa-slider-controls button:hover {
  background: var(--aa-lime);
  border-color: var(--aa-lime);
}

.aa-destination-rail {
  display: grid;
  grid-auto-columns: minmax(250px, 1fr);
  grid-auto-flow: column;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.aa-destination-rail::-webkit-scrollbar {
  display: none;
}

.aa-destination-card {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  color: #fff;
  border-radius: 10px;
  scroll-snap-align: start;
}

.aa-destination-card img {
  width: 100%;
  height: 100%;
  min-height: 370px;
  object-fit: cover;
  transition: transform 500ms ease;
}

.aa-destination-card:hover img {
  transform: scale(1.045);
}

.aa-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 39, 32, 0.92), rgba(7, 39, 32, 0.05) 58%);
}

.aa-destination-copy {
  position: absolute;
  inset: auto 22px 22px;
  display: flex;
  flex-direction: column;
}

.aa-destination-copy small {
  color: var(--aa-lime);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.aa-destination-copy strong {
  margin-top: 4px;
  color: #fff;
  font-size: 1.45rem;
}

.aa-destination-copy em {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: rgba(255,255,255,.78);
  font-size: 0.9rem;
  font-style: normal;
  line-height: 1.5;
  opacity: 0;
  transition: max-height 220ms ease, margin 220ms ease, opacity 220ms ease;
}

.aa-destination-card:hover .aa-destination-copy em,
.aa-destination-card:focus-visible .aa-destination-copy em {
  max-height: 90px;
  margin-top: 8px;
  opacity: 1;
}

.aa-tabs-head {
  align-items: center;
}

.aa-tab-list {
  display: flex;
  gap: 8px;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--aa-border);
  border-radius: 10px;
}

.aa-tab-list button {
  padding: 10px 16px;
  color: #50625d;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-weight: 650;
}

.aa-tab-list button.active,
.aa-tab-list button:hover {
  color: var(--aa-deep-green);
  background: var(--aa-lime);
}

.aa-tour-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.aa-tour-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--aa-border);
  border-radius: 10px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.aa-tour-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--aa-shadow-sm);
}

.aa-tour-card[hidden] {
  display: none;
}

.aa-tour-image {
  position: relative;
  display: block;
  aspect-ratio: 1.35 / 1;
  overflow: hidden;
}

.aa-tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.aa-tour-card:hover .aa-tour-image img {
  transform: scale(1.045);
}

.aa-tour-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 11px;
  color: var(--aa-deep-green);
  background: var(--aa-lime);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 750;
}

[dir="rtl"] .aa-tour-badge {
  right: 16px;
  left: auto;
}

.aa-tour-body {
  padding: 22px;
}

.aa-tour-location {
  color: #64756f;
  font-size: 0.82rem;
}

.aa-tour-body h3 {
  margin: 9px 0 10px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.aa-tour-body h3 a {
  color: var(--aa-ink);
}

.aa-tour-body p {
  margin: 0 0 18px;
  color: var(--aa-muted);
  line-height: 1.65;
}

.aa-tour-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 16px;
  border-top: 1px solid var(--aa-border);
}

.aa-tour-meta span {
  color: var(--aa-muted);
}

.aa-tour-meta strong {
  color: var(--aa-deep-green);
}

.aa-card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--aa-deep-green);
  font-weight: 700;
}

.aa-inline-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 18px;
  color: #42554f;
  background: var(--aa-lime-soft);
  border: 1px solid #d9ef9d;
  border-radius: 8px;
}

.aa-trust-section {
  position: relative;
  overflow: hidden;
}

.aa-trust-section::after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  top: -250px;
  right: -180px;
  border: 80px solid rgba(158,221,5,.08);
  border-radius: 50%;
}

.aa-trust-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, .9fr);
  gap: 90px;
}

.aa-trust-copy .aa-eyebrow {
  color: var(--aa-lime);
}

.aa-trust-copy h2 {
  max-width: 680px;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.aa-trust-copy p {
  max-width: 680px;
  margin: 22px 0 30px;
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
  line-height: 1.8;
}

.aa-process-list {
  display: grid;
  gap: 1px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  overflow: hidden;
}

.aa-process-list article {
  display: flex;
  gap: 22px;
  padding: 26px;
  background: var(--aa-deep-green);
}

.aa-process-list strong {
  color: var(--aa-lime);
  font-size: 1.45rem;
}

.aa-process-list h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.05rem;
}

.aa-process-list p {
  margin: 0;
  color: rgba(255,255,255,.68);
  line-height: 1.6;
}

.aa-trust-tags {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.aa-trust-tags span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 76px;
  color: rgba(255,255,255,.82);
  border-inline-end: 1px solid rgba(255,255,255,.14);
}

.aa-trust-tags span:last-child {
  border-inline-end: 0;
}

.aa-trust-tags i {
  color: var(--aa-lime);
  font-size: 1.25rem;
}

.aa-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.aa-story-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--aa-border);
  border-radius: 10px;
}

.aa-story-card > a {
  display: block;
  aspect-ratio: 1.5 / 1;
  overflow: hidden;
}

.aa-story-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

.aa-story-card:hover img {
  transform: scale(1.045);
}

.aa-story-card > div {
  padding: 24px;
}

.aa-story-card span {
  color: #6d7f79;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.aa-story-card h3 {
  margin: 8px 0 10px;
  font-size: 1.2rem;
}

.aa-story-card p {
  margin: 0;
  color: var(--aa-muted);
  line-height: 1.65;
}

.aa-planning-strip {
  padding: 58px 0;
  background: var(--aa-lime-soft);
}

.aa-planning-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  align-items: center;
  gap: 18px;
}

.aa-planning-grid h2 {
  margin: 0;
  font-size: 1.8rem;
}

.aa-planning-grid > a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 16px 18px;
  color: var(--aa-deep-green);
  background: #fff;
  border-radius: 8px;
  font-weight: 700;
}

.aa-planning-grid > a > i:first-child {
  font-size: 1.4rem;
}

.aa-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: 90px;
}

.aa-dashboard-visual {
  position: relative;
}

.aa-dashboard-visual > img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 10px;
}

.aa-dashboard-card {
  position: absolute;
  right: -28px;
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 340px;
  padding: 20px;
  background: #fff;
  border-radius: 9px;
  box-shadow: var(--aa-shadow);
}

[dir="rtl"] .aa-dashboard-card {
  right: auto;
  left: -28px;
}

.aa-dashboard-card > i {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  height: 52px;
  color: var(--aa-deep-green);
  background: var(--aa-lime);
  border-radius: 50%;
  font-size: 1.35rem;
}

.aa-dashboard-card strong,
.aa-dashboard-card span {
  display: block;
}

.aa-dashboard-card span {
  margin-top: 3px;
  color: var(--aa-muted);
  font-size: .88rem;
}

.aa-dashboard-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
}

.aa-dashboard-copy > p {
  margin: 20px 0;
  color: var(--aa-muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.aa-dashboard-copy ul {
  display: grid;
  gap: 12px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.aa-dashboard-copy li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aa-dashboard-copy li i {
  color: #6ba000;
  font-size: 1.2rem;
}

.aa-member-cta {
  padding: 62px 0;
  color: #fff;
  background: var(--aa-deep-green);
}

.aa-member-cta .aa-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.aa-member-cta .aa-eyebrow {
  color: var(--aa-lime);
}

.aa-member-cta h2 {
  margin: 0;
  color: #fff;
  font-size: 2rem;
}

.aa-member-cta p {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(255,255,255,.7);
}

.aa-page-hero {
  padding: 88px 0;
  color: #fff;
  background: var(--aa-deep-green);
}

.aa-page-hero .aa-eyebrow {
  color: var(--aa-lime);
}

.aa-page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
}

.aa-page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 1.05rem;
}

.aa-page-hero--image { min-height: 440px; display: flex; align-items: end; background-position: center; background-size: cover; color: #fff; }
.aa-page-hero--image h1, .aa-page-hero--image p { color: #fff; }
.aa-province-copy { max-width: 900px; margin: 0 auto 45px; color: #40534f; font-size: 1.05rem; line-height: 1.8; }
.aa-province-content-section { display: grid; grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr); gap: 34px; align-items: center; margin-bottom: 38px; padding: 26px; border: 1px solid #e2e9e7; border-radius: 18px; background: #fff; }
.aa-province-content-section:nth-child(even) img { order: 2; }
.aa-province-content-section img { width: 100%; height: 280px; border-radius: 13px; object-fit: cover; }
.aa-province-content-section h2 { margin: 0 0 12px; color: #082e29; }
.aa-province-content-section p { color: #52635f; line-height: 1.7; }
.aa-province-related { margin-top: 65px; }
@media (max-width: 760px) { .aa-province-content-section { grid-template-columns: 1fr; } .aa-province-content-section:nth-child(even) img { order: 0; } }

.aa-results-search {
  display: grid;
  grid-template-columns: 1.5fr 1fr .65fr auto;
  align-items: end;
  gap: 14px;
  margin: -132px 0 80px;
  padding: 22px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--aa-shadow);
}

.aa-results-search label {
  display: block;
  margin-bottom: 7px;
  font-size: .82rem;
  font-weight: 700;
}

.aa-results-search input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--aa-border);
  border-radius: 7px;
}

.aa-results-group + .aa-results-group {
  margin-top: 80px;
}

.aa-empty-state {
  padding: 60px 24px;
  text-align: center;
  background: var(--aa-surface);
  border: 1px dashed #b8c8c2;
  border-radius: 10px;
}

.aa-empty-state > i {
  color: var(--aa-deep-green);
  font-size: 2.5rem;
}

.aa-empty-state h3 {
  margin: 14px 0 8px;
}

.aa-empty-state p {
  max-width: 620px;
  margin: 0 auto 22px;
  color: var(--aa-muted);
}

.aa-legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 70px;
}

.aa-legal-nav {
  position: sticky;
  top: 24px;
  align-self: start;
  display: grid;
  padding: 10px;
  background: var(--aa-surface);
  border: 1px solid var(--aa-border);
  border-radius: 9px;
}

.aa-legal-nav a {
  padding: 12px 14px;
  border-radius: 7px;
}

.aa-legal-nav a:hover {
  background: var(--aa-lime-soft);
}

.aa-legal-copy {
  max-width: 850px;
}

.aa-legal-copy section + section {
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid var(--aa-border);
}

.aa-legal-copy h2 {
  font-size: 1.45rem;
}

.aa-legal-copy p {
  color: #4f625c;
  font-size: 1.02rem;
  line-height: 1.85;
}

/* Bring legacy public, dashboard, form, and content pages into one palette. */
.page-wrapper,
.content,
.main-wrapper,
.section,
section {
  --bs-primary: var(--aa-deep-green);
  --bs-link-color: var(--aa-deep-green);
  --bs-link-hover-color: var(--aa-deep-green-3);
}

.breadcrumb-bar,
.breadcrumb-bg,
.breadcrumb-section,
.breadcrumb-sec,
.inner-banner,
.page-header,
.dashboard-header {
  background-color: var(--aa-deep-green) !important;
}

.breadcrumb-bar::before,
.breadcrumb-bg::before,
.breadcrumb-section::before,
.inner-banner::before {
  background-color: rgba(7,39,32,.32) !important;
}

.service-wrap,
.tour-grid,
.place-item,
.location-wrap,
.testimonial-item,
.feature-item,
.faq-card,
.booking-info,
.profile-widget,
.dashboard-card {
  border-color: var(--aa-border) !important;
  border-radius: 10px !important;
}

.service-wrap:hover,
.tour-grid:hover,
.place-item:hover,
.location-wrap:hover {
  border-color: var(--aa-lime) !important;
  box-shadow: var(--aa-shadow-sm) !important;
}

.btn-primary,
.btn-dark,
.btn-outline-primary:hover,
.badge.bg-primary,
.badge-primary {
  background-color: var(--aa-deep-green) !important;
  border-color: var(--aa-deep-green) !important;
}

.btn-primary:hover,
.btn-dark:hover {
  color: var(--aa-deep-green) !important;
  background-color: var(--aa-lime) !important;
  border-color: var(--aa-lime) !important;
}

@media (max-width: 1199.98px) {
  .aa-benefit-grid article {
    padding-inline: 24px;
  }

  .aa-trust-layout,
  .aa-dashboard-layout {
    gap: 52px;
  }

  .aa-planning-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .aa-planning-grid > div {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991.98px) {
  .aa-benefit-grid {
    grid-template-columns: 1fr;
  }

  .aa-benefit-grid article,
  .aa-benefit-grid article:first-child,
  .aa-benefit-grid article:last-child {
    padding: 24px 0;
    border-inline-end: 0;
    border-bottom: 1px solid var(--aa-border);
  }

  .aa-benefit-grid article:last-child {
    border-bottom: 0;
  }

  .aa-tour-grid,
  .aa-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .aa-trust-layout,
  .aa-dashboard-layout {
    grid-template-columns: 1fr;
  }

  .aa-trust-tags {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .aa-dashboard-visual {
    max-width: 720px;
  }

  .aa-results-search {
    grid-template-columns: 1fr 1fr;
    margin-top: -118px;
  }

  .aa-legal-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .aa-legal-nav {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .aa-benefit-band {
    padding-top: 50px;
  }

  .aa-section {
    padding: 68px 0;
  }

  .aa-section-head {
    align-items: flex-start;
  }

  .aa-slider-controls {
    align-self: flex-end;
  }

  .aa-destination-rail {
    grid-auto-columns: minmax(260px, 84vw);
  }

  .aa-destination-card,
  .aa-destination-card img {
    min-height: 350px;
  }

  .aa-tab-list {
    width: 100%;
    overflow-x: auto;
  }

  .aa-tour-grid,
  .aa-story-grid,
  .aa-planning-grid,
  .aa-results-search {
    grid-template-columns: 1fr;
  }

  .aa-trust-layout {
    gap: 42px;
  }

  .aa-trust-tags {
    grid-template-columns: 1fr 1fr;
  }

  .aa-trust-tags span {
    justify-content: flex-start;
    padding-inline: 12px;
  }

  .aa-dashboard-visual > img {
    height: 430px;
  }

  .aa-dashboard-card,
  [dir="rtl"] .aa-dashboard-card {
    right: 16px;
    left: 16px;
    bottom: 18px;
  }

  .aa-member-cta .aa-container {
    align-items: flex-start;
    flex-direction: column;
  }

  .aa-page-hero {
    padding: 68px 0;
  }

  .aa-results-search {
    margin: -104px 0 58px;
  }
}
