/* Design System & Variables */
:root {
  --brand-1: #f8ebe7; /* warm white */
  --accent-1: #f6d7d3; /* blush */
  --accent-2: #e9e6ff; /* lavender */
  --muted: #8a817c;
  --radius: 14px;
  --primary-btn: #8FAF8A;
  --plyr-color-main: #f0f1ec;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
}

/* Animations & Fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.6s ease-out;
}

.fade-in.show {
  opacity: 1;
  transform: none;
}

/* Navigation */
.nav-transparent {
  background: transparent;
}

.nav-solid {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.hero-banner {
    background-image: url('./assets/images/HeroBanner.png');
    background-size: 100% auto;
    background-color: rgb(240 241 236);  
    background-repeat: no-repeat;   
    background-position: center;   
    background-attachment: fixed;
}

.hero-banner-paid-course {
  background-image: url('./assets/images/ProgramIntroToPilates.png');
  background-size: auto 75%;
}

.hero-banner-free-course {
  background-image: url('./assets/images/freeCourses/freeCoursesHero.png');
  background-size: auto 75%;
}

@media (max-width: 767px) {
  .hero-banner {
    background-image: url('./assets/images/main/HeroBannerMobile.png');
  }
  .hero-banner-paid-course {
    background-image: url('./assets/images/ProgramIntroToPilates.png');
    background-size: auto 60%;
  } 
  .hero-banner-free-course {
    background-image: url('./assets/images/freeCourses/freeCoursesHero.png');
    background-size: auto 50%;
  }  
  .hide-mobile {
    display: none;
  }
  .section-courses {
    padding: 20px!important;
  }
  .slick-prev:before, .slick-next:before {
    color: #fff !important;
  }
}

/* Testimonial Slider */
.slider {
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.slider > * {
  scroll-snap-align: center;
}

/* Instagram Grid Placeholders */
.insta-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Feature Cards */
.feature-card {
  position: relative;
  height: 400px !important;
  width: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem;
  color: white;
  background-size: 100% auto;
  background-position: center;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 1;
}

.feature-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.feature-card > * {
  position: relative;
  z-index: 2;
}

.feature-card h3 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  max-width: 90%;
}

.feature-btn {
  padding: 0.75rem 1.5rem;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--muted);
  border: none;
  border-radius: 8px;
  font-weight: 400;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.feature-btn:hover,
.feature-btn:focus {
  background-color: white;
}

.feature-btn:active {
  transform: scale(0.98);
}

/* Slick Carousel Customization */
.slick-track {
  display: flex;
  align-items: stretch;
}

.slick-slide {
  height: auto;
  display: flex !important;
  align-items: stretch;
  padding: 0 15px;
}

.slick-slide .feature-card {
  height: 100%;
}

.slick-dots {
  bottom: -60px;
  margin-top: 20px;
}

.slick-dots li button:before {
  color: var(--muted);
  font-size: 12px;
}

.slick-dots li.slick-active button:before {
  color: var(--accent-1);
}

.slick-prev:before,
.slick-next:before {
  color: transparent;
  font-size: 0;
}

.slick-prev,
.slick-next {
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 0;
}

.slick-prev:hover,
.slick-next:hover {
  transform: translateY(-50%) scale(1.15);
}

.slick-prev:before {
  content: '‹';
  color: var(--muted);
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
}

.slick-next:before {
  content: '›';
  color: var(--muted);
  font-size: 64px;
  font-weight: 300;
  line-height: 1;
}

.slick-prev {
  left: -50px;
}

.slick-next {
  right: -50px;
}

@media (max-width: 768px) {
  .slick-prev:before,
  .slick-next:before {
    font-size: 48px;
  }

  .slick-prev {
    left: 10px;
  }

  .slick-next {
    right: 10px;
  }
}

#featuresSlider {
  height: 400px;
}

.slick-list {
  margin: 0 -15px;
}

/* Section Styles */
.section-hero {
  background-attachment: fixed;
}

.section-courses {
  background-image: url('./assets/images/SliderBackgroundWhite.jpg');
  background-size: 100% auto;
  background-attachment: fixed;
  padding: 40px;
}

/* Video Section */
.section-video {
  background-color: #ffffff;
  padding: 60px 0;
}

.section-video-alt {
  background-color: #f0f1ec;
}

.video-container {
  width: 100%;
  height: auto;;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .section-video {
    padding: 40px 0;
  }
  
  .video-container {
    max-width: 100%;
  }
}

.courses-content-box {
  background-color: #fdfdf9;
  padding: 40px;
}


.courses-video-box {
  background-color: #fdfdf9;
  padding: 20px;
}
.courses-image-box {
  background-color: #e6e4df;
}

.section-trainings {
  background-color: white;
}

.section-testimonials {
  background-color: rgb(240, 241, 236);
  margin: 0;
  width: 100%;
}

.section-contact {
  background-image: url('./assets/images/contact/background7.jpg');
  background-position: center;
  background-size: cover;
}

.contact-form-wrapper {
  background-color: white;
  border-radius: 2rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.contact-form-input {
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
}

.contact-form-textarea {
  padding: 0.75rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-form-email {
  font-size: 0.875rem;
  color: #6b7280;
}

.contact-form-email-link {
  color: #ec4899;
}

.contact-submit-btn {
  padding: 0.625rem 1.25rem;
  background-color: var(--primary-btn);
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-weight: normal;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.contact-submit-btn:hover {
  background-color: #7a9a75;
}


