/* =====================================================
   Poetic Pilot Academy - Homepage (FullSky Version)
   Matching user's custom class names
===================================================== */

:root {
  --ppa-gold: #f0b429;
  --ppa-bg: #fff8e5;
  --ppa-dark: #0a0a0a;
}

/* ========== FULL WIDTH FIX ========== */
body.page-id-498 #content,
body.page-id-498 .site-content,
body.page-id-498 .site-main,
.ppa-home {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  overflow-x: hidden;
}
.container {
  max-width: 100%;
  width: 100%;
  padding: 0 5%;
}

/* ========== HERO ========== */
.ppa-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.ppa-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ppa-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ppa-hero-inner {
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 0 15px;
}
.ppa-hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--ppa-gold);
  margin-bottom: 15px;
}
.ppa-hero-sub {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 35px;
  line-height: 1.5;
}
.ppa-hero-ctas {
  display: flex;
  justify-content: center;
  gap: 15px;
}
.ppa-btn {
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  font-size: 1rem;
}
.ppa-btn-primary {
  background: var(--ppa-gold);
  color: #000;
}
.ppa-btn-outline {
  border: 2px solid var(--ppa-gold);
  color: var(--ppa-gold);
}
.ppa-btn-primary:hover,
.ppa-btn-outline:hover {
  background: var(--ppa-gold);
  color: #fff;
}

/* ========== INTRO ========== */
.ppa-intro {
  background: var(--ppa-bg);
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ppa-dark);
  padding: 60px 10%;
}

/* ========== SECTION TITLES ========== */
.ppa-section {
  background: var(--ppa-bg);
  padding: 80px 5%;
}
.ppa-section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--ppa-dark);
  margin-bottom: 40px;
}

/* =====================================================
   REMOVE OLD SLIDER CSS (ANIMATIONS/CONFLICTS)
   ===================================================== */

/* ❌ Removed: .ppa-slider, .ppa-slide-track, .update-track, .airline-track, .hof-track */
/* ❌ Removed: @keyframes slideLoop, slideUpdates, airlineScroll, hofSlide */
/* ❌ Removed: swiper-latest related widths */
/* ❌ Removed: animation-based CSS scrolling */

/* =====================================================
   SPLIDE SLIDER CLEAN STYLE (REPLACES OLD SLIDERS)
   ===================================================== */

.splide__slide img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}


.splide__track {
  overflow: hidden;
}

.splide__list {
  display: flex;
  gap: 20px;
}

.splide__arrow {
  background: var(--ppa-gold);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  opacity: 0.85;
  transition: 0.3s;
  object-fit: contain;
}
.splide__arrow:hover {
  opacity: 1;
  background: #d9a124;
}

.splide__pagination {
  margin-top: 15px;
}

/* Make sliders match your brand look */
.ppa-latest-updates,
.ppa-airline-selected,
.ppa-hof-section {
  padding: 60px 0;
}
/* Hall of Fame slider size fix */
#hof-slider {
  max-width: 500px;   /* adjust this width */
  margin: 0 auto;     /* center the slider */
}

#hof-slider .splide__slide img {
  width: 100%;
  height: auto;
  border-radius: 20px;  /* optional: rounded corners */
  object-fit: contain;  /* prevents zoom / cropping */
}

/* ===============================
   FIX: Restore Courses Grid Layout
   =============================== */

.ppa-courses-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 2rem !important;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Restore Course Card Design */
.ppa-course-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Fix Heading */
.ppa-course-card h3 {
  color: #C69300;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Fix Description */
.ppa-course-card p {
  color: #444;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* Restore Yellow Button */
.ppa-course-card .ppa-btn {
  background: #FFD500;
  color: #000;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
  transition: 0.3s;
}

.ppa-course-card .ppa-btn:hover {
  transform: translateY(-2px);
}


/* =====================================================
   === WHY CHOOSE PPA ===
===================================================== */
.ppa-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}
.ppa-feature {
  background: #fff;
  border: 2px solid var(--ppa-gold);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
}
.ppa-feature h3 {
  color: var(--ppa-gold);
  margin-bottom: 10px;
}
.ppa-feature p {
  color: var(--ppa-dark);
}

/* =====================================================
   === CONTACT ===
===================================================== */
.ppa-contact-section {
  padding: 100px 8%;
  background: #fff;
  text-align: center;
}

/* =====================================================
   === RESPONSIVE HERO TEXT ===
===================================================== */
@media (max-width: 768px) {
  .ppa-hero-title {
    font-size: 2rem;
  }
  .ppa-hero-sub {
    font-size: 1rem;
    padding: 0 10px;
  }
  .ppa-hero-inner .ppa-btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
  .ppa-hero {
    height: 70vh;
  }
}

/* =====================================================
   === GOOGLE REVIEWS ===
===================================================== */
.ppa-reviews-section.fullsky {
  background: linear-gradient(180deg, #fff8e5 0%, #fdf3d0 100%);
  padding: 80px 0;
  text-align: center;
}

.ppa-reviews-section .ppa-section-title {
  font-size: 2.4rem;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.ppa-reviews-container {
  max-width: 1000px;
  margin: 0 auto;
}
