/* === MULTI ENGINE PAGE | POETIC PILOT ACADEMY === */

/* === GLOBAL RESETS === */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #222;
}

/* Remove Astra layout padding/margins */
.ast-container,
.site-content,
.site-content > .ast-container,
.entry-content,
.content-area,
.page-template,
#content {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

/* === HERO SECTION === */
.multi-hero {
  position: relative;
  width: 100vw;
  height: 50vh;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: url('/wp-content/uploads/multi/hero.jpg') center center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.multi-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 700px;
  padding: 20px;
}

.hero-content h1 {
  color: #ffcc00;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-content p {
  color: #f1f1f1;
  font-size: 1.2rem;
}

/* === ABOUT SECTION === */
.multi-about {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #fffbea;
  padding: 80px 5%;
}

.container {
  max-width: 1000px;
  margin: auto;
  background: #fff;
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

.multi-about h2 {
  color: #ffcc00;
  text-align: center;
  font-weight: 700;
  margin-bottom: 20px;
}

.multi-about p {
  text-align: justify;
  margin-bottom: 15px;
  line-height: 1.8;
}

/* === HOW PPA WILL GUIDE YOU === */
.ppa-guide {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 80px 5%;
  text-align: center;
  background: #f9f9f9;
}

.ppa-guide h2 {
  color: #ffcc00;
  font-weight: 700;
  margin-bottom: 40px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  justify-content: center;
}

.guide-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.guide-card:hover {
  transform: translateY(-5px);
}

.guide-card i {
  font-size: 2.5rem;
  color: #ffcc00;
  margin-bottom: 15px;
}

.guide-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #222;
}

/* === LOCATIONS === */
.locations {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 80px 5%;
  background: #fff;
  text-align: center;
}

.locations h2 {
  color: #ffcc00;
  margin-bottom: 40px;
  font-weight: 700;
}

.loc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.loc-card {
  background: #fffbea;
  border-radius: 20px;
  padding: 40px 25px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.loc-card:hover {
  transform: translateY(-5px);
}

.flag {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.loc-card h4 {
  color: #222;
  font-weight: 700;
  margin-bottom: 10px;
}

.loc-card p {
  color: #444;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-block;
  background: #ffcc00;
  color: #222;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #222;
  color: #ffcc00;
}

/* === CTA SECTION === */
.multi-cta {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #222;
  color: #fff;
  text-align: center;
  padding: 80px 5%;
}

.multi-cta h2 {
  color: #ffcc00;
  font-weight: 700;
  margin-bottom: 20px;
}

.multi-cta p {
  margin-bottom: 30px;
  color: #eee;
  font-size: 1.1rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .container {
    padding: 30px;
  }

  .guide-grid,
  .loc-grid {
    grid-template-columns: 1fr;
  }
}

/* === FIX: REMOVE HEADER GAP + FULL WIDTH === */

/* Remove Astra default content spacing */
.site-content,
.ast-container,
.content-area,
.entry-content,
.page,
#content {
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure hero starts exactly below header */
.multi-hero {
  margin-top: 0 !important;
  padding-top: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 60vh;
  background: url('/wp-content/uploads/multi/hero.jpg') center center/cover no-repeat;
}

/* Remove any top margin applied by Astra header spacing */
.ast-plain-container.ast-no-sidebar #primary {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Force full-width across all sections */
.multi-hero,
.multi-about,
.ppa-guide,
.locations,
.multi-cta {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* Optional: smooth blend between header and hero */
.multi-hero::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: #ffd700; /* same as your header color */
}
