/* visual-improvements.css */

/* --- General Open Design --- */
.open-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.open-section .section-title {
  font-size: 2.25rem; /* 36px */
  font-weight: 800;
  color: #1A237E; /* brandNavy */
  text-align: center;
  margin-bottom: 1rem;
}

.open-section .section-subtitle {
  font-size: 1.125rem; /* 18px */
  color: #475569; /* slate-600 */
  text-align: center;
  max-width: 65ch;
  margin: 0 auto 3rem auto;
}

/* --- Subtle Card Style --- */
.subtle-card {
  background-color: transparent;
  border-radius: 0.75rem; /* 12px */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.subtle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
}

.subtle-card img,
.subtle-card .gallery-thumb {
  border-radius: 0.5rem; /* 8px */
}

/* --- Staggered Animation --- */
.stagger-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: stagger-in 0.5s ease-out forwards;
}

@keyframes stagger-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- SMOOTH Ken Burns Effect for Hero Background --- */
@keyframes smooth-ken-burns {
  0% {
    transform: scale(1.08);
  }
  50% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1.08);
  }
}

.hero-bg .bg-slide {
  /* All slides are constantly animating in the background */
  animation: smooth-ken-burns 25s ease-in-out infinite;
  
  /* Visibility is controlled only by opacity */
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.hero-bg .bg-slide.is-active {
  /* The active slide is simply made visible */
  opacity: 1;
}


/* --- Improved Fleet Carousel --- */
.fleet-swiper .swiper-slide {
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0.4;
  transform: scale(0.85);
}

.fleet-swiper .swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}
