
/* Atlas V3.4 - illustration backgrounds on all pages/sections */
:root{
  --rtt-bg-opacity-heavy:.78;
  --rtt-bg-opacity-mid:.72;
  --rtt-bg-opacity-soft:.66;
}
body{
  background:
    linear-gradient(180deg,rgba(246,250,252,.98) 0%,rgba(250,252,253,.98) 100%),
    url('../images/backgrounds/travel-doodle-soft.png') center top/540px auto repeat;
}
body::before,
body::after{
  content:"";
  position:fixed;
  inset:auto;
  pointer-events:none;
  z-index:0;
}
body::before{
  left:-16px; top:120px; width:min(26vw,320px); height:min(26vw,320px);
  background:url('../images/backgrounds/world-map-flight.png') center/contain no-repeat;
  opacity:.18;
}
body::after{
  right:-24px; bottom:90px; width:min(25vw,300px); height:min(25vw,300px);
  background:url('../images/backgrounds/route-line-plane.png') center/contain no-repeat;
  opacity:.22;
}
#main,.site-header,.site-footer{position:relative;z-index:1}

/* global section illustration layers */
.section,
.atlas-hero,
.rtt-page-banner,
.service-page-shell,
.horizon-interior,
.vedika-posts,
.archive .page-content,
.blog .page-content,
.search .page-content,
.error404 .page-content{
  position:relative;
  isolation:isolate;
}
.section > .container,
.atlas-hero > *,
.rtt-page-banner > *,
.service-page-shell > *,
.horizon-interior > *,
.site-footer > *{position:relative;z-index:2}

.section::before,
.atlas-hero::before,
.rtt-page-banner::before,
.service-page-shell::before,
.horizon-interior::before{
  content:"";
  position:absolute;
  inset:18px auto auto 18px;
  width:clamp(110px,18vw,220px);
  height:clamp(110px,18vw,220px);
  background:url('../images/backgrounds/route-line-plane.png') center/contain no-repeat;
  opacity:.30;
  pointer-events:none;
  z-index:0;
}
.section::after,
.atlas-hero::after,
.rtt-page-banner::after,
.service-page-shell::after,
.horizon-interior::after{
  content:"";
  position:absolute;
  right:18px;
  bottom:18px;
  width:clamp(120px,22vw,260px);
  height:clamp(120px,22vw,260px);
  background:url('../images/backgrounds/world-globe-arc.png') center/contain no-repeat;
  opacity:.20;
  pointer-events:none;
  z-index:0;
}
.section:nth-of-type(odd)::before{background-image:url('../images/backgrounds/travel-doodle-green.png'); background-size:240px auto; opacity:.14}
.section:nth-of-type(even)::before{background-image:url('../images/backgrounds/route-line-plane.png'); opacity:.25}
.section:nth-of-type(3n)::after{background-image:url('../images/backgrounds/world-map-flight.png'); opacity:.14}
.section:nth-of-type(4n)::after{background-image:url('../images/backgrounds/tempo-group-illustration.png'); opacity:.10}
.section:nth-of-type(5n)::before{background-image:url('../images/backgrounds/family-travel-illustration.png'); opacity:.11}

/* page-specific stronger backgrounds */
.atlas-hero::before{left:auto;right:2%;top:5%;width:min(24vw,280px);height:min(24vw,280px);background-image:url('../images/backgrounds/family-travel-illustration.png');opacity:.18}
.atlas-hero::after{right:auto;left:2%;bottom:5%;width:min(24vw,280px);height:min(24vw,280px);background-image:url('../images/backgrounds/tempo-group-illustration.png');opacity:.16}
.atlas-copy,
.atlas-photo,
.atlas-book,
.rental-card,
.vehicle-card,
.pricing-card,
.review-card,
.vedika-post,
.contact-card,
.enquiry-panel,
.service-hero-card,
.service-highlight-card,
.service-prose-card,
.rtt-detail-grid > div,
.feature-chip,
.reviews-summary,
.horizon-page-cta,
.atlas-inner-banner,
.rtt-page-banner{
  position:relative;
  overflow:hidden;
}
.atlas-copy::before{
  content:"";
  position:absolute;
  right:-24px;
  top:-10px;
  width:180px;
  height:180px;
  background:url('../images/backgrounds/world-map-flight.png') center/contain no-repeat;
  opacity:.12;
  pointer-events:none;
}
.atlas-book::after,
.contact-card::after,
.enquiry-panel::after,
.service-prose-card::after,
.horizon-page-cta::after{
  content:"";
  position:absolute;
  inset:auto 12px 12px auto;
  width:170px;
  height:170px;
  background:url('../images/backgrounds/route-line-plane.png') center/contain no-repeat;
  opacity:.12;
  pointer-events:none;
}
.rental-card::after,
.vehicle-card::after,
.pricing-card::after,
.review-card::after,
.vedika-post::after,
.feature-chip::after,
.service-highlight-card::after,
.rtt-detail-grid > div::after{
  content:"";
  position:absolute;
  right:-26px;
  bottom:-26px;
  width:110px;
  height:110px;
  background:url('../images/backgrounds/travel-doodle-green.png') center/contain no-repeat;
  opacity:.09;
  pointer-events:none;
}
.review-card::after,
.vedika-post::after{background-image:url('../images/backgrounds/world-map-flight.png'); opacity:.08}
.contact-card::before{
  content:"";
  position:absolute;
  left:-16px;
  bottom:-8px;
  width:190px;
  height:190px;
  background:url('../images/backgrounds/family-travel-illustration.png') center/contain no-repeat;
  opacity:.10;
  pointer-events:none;
}
.service-hero-card::before,
.rtt-page-banner::before,
.atlas-inner-banner::before{
  opacity:.18 !important;
  background-image:url('../images/backgrounds/world-map-flight.png') !important;
  background-size:contain !important;
}
.site-footer::before{
  content:"";
  position:absolute;
  left:3%;
  top:20px;
  width:min(22vw,250px);
  height:min(22vw,250px);
  background:url('../images/backgrounds/travel-doodle-green.png') center/contain no-repeat;
  opacity:.14;
  pointer-events:none;
}
.site-footer::after{
  content:"";
  position:absolute;
  right:3%;
  bottom:20px;
  width:min(24vw,260px);
  height:min(24vw,260px);
  background:url('../images/backgrounds/route-line-plane.png') center/contain no-repeat;
  opacity:.18;
  pointer-events:none;
}

/* soften on mobile/tablet while keeping visible */
@media (max-width: 1199px){
  body::before{width:220px;height:220px;opacity:.15}
  body::after{width:210px;height:210px;opacity:.18}
  .section::before,.atlas-hero::before,.rtt-page-banner::before,.service-page-shell::before,.horizon-interior::before{width:160px;height:160px;opacity:.18}
  .section::after,.atlas-hero::after,.rtt-page-banner::after,.service-page-shell::after,.horizon-interior::after{width:170px;height:170px;opacity:.14}
}
@media (max-width: 991px){
  body{background-size:420px auto}
  .section::before,.section::after,.atlas-hero::before,.atlas-hero::after,.rtt-page-banner::before,.rtt-page-banner::after,.service-page-shell::before,.service-page-shell::after,.horizon-interior::before,.horizon-interior::after{opacity:.14}
  .rental-card::after,.vehicle-card::after,.pricing-card::after,.review-card::after,.vedika-post::after,.feature-chip::after,.service-highlight-card::after,.rtt-detail-grid > div::after{opacity:.08}
}
@media (max-width: 767px){
  body{background-size:320px auto}
  body::before{top:88px;left:-8px;width:140px;height:140px;opacity:.12}
  body::after{right:-16px;bottom:112px;width:140px;height:140px;opacity:.14}
  .section::before,.section::after,
  .atlas-hero::before,.atlas-hero::after,
  .rtt-page-banner::before,.rtt-page-banner::after,
  .service-page-shell::before,.service-page-shell::after,
  .horizon-interior::before,.horizon-interior::after{
    width:110px;
    height:110px;
    opacity:.12;
  }
  .atlas-book::after,.contact-card::after,.enquiry-panel::after,.service-prose-card::after,.horizon-page-cta::after{width:110px;height:110px;opacity:.08}
  .rental-card::after,.vehicle-card::after,.pricing-card::after,.review-card::after,.vedika-post::after,.feature-chip::after,.service-highlight-card::after,.rtt-detail-grid > div::after{width:84px;height:84px;opacity:.06}
  .site-footer::before,.site-footer::after{width:120px;height:120px;opacity:.10}
}
