@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ======================================================================
   EvoGyms - Custom Color & Layout Overrides
   ====================================================================== */

/* ------------------------------------------------------------------
   1. Color Scheme Override
   ------------------------------------------------------------------ */
:root {
  --primary: #ac885a;
  --secondary: #415239;
  --black: #231f20;
  --body-color: #464646;
  --light-bg: #f4f0ec;
  --footer-bg: #231f20;
  --font-body: 'Poppins', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

/* ------------------------------------------------------------------
   2. Font Override — Poppins everywhere
   ------------------------------------------------------------------ */
body,
h1, h2, h3, h4, h5, h6,
p, a, span, li, label,
.content-title,
.slider .slider-content h1,
.btn, input, select, textarea {
  font-family: 'Poppins', sans-serif;
}

/* ------------------------------------------------------------------
   3. Hero Video Section
   ------------------------------------------------------------------ */
.slider {
  position: relative;
  overflow: hidden;
  background: none !important;
  background-image: none !important;
}

.slider .hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 0;
  object-fit: cover;
}

.slider::before {
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.slider .container {
  position: relative;
  z-index: 2;
}

.slider .slider-content {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 12px;
  padding: 40px 50px;
  display: inline-block;
}

/* ------------------------------------------------------------------
   4. Hero CTA Grid (5 vertically stacked buttons)
   ------------------------------------------------------------------ */
.hero-cta-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}

.hero-cta-grid .btn-cta {
  display: block;
  padding: 14px 24px;
  background: rgba(172, 136, 90, 0.85);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.hero-cta-grid .btn-cta:hover,
.hero-cta-grid .btn-cta:focus {
  background: var(--primary);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

/* ------------------------------------------------------------------
   5. Dark Teal Floating Navbar
   ------------------------------------------------------------------ */
.header-top {
  display: none !important;
}

#navbar {
  background-color: rgba(0, 0, 0, 0.4) !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  position: fixed;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 999;
  max-width: 80%;
  margin: 0 auto;
  transition: all 0.3s ease-in-out;
  padding: 0;
}

#navbar.scrolled {
  background-color: #193c44 !important;
  border: 1px solid #232323;
  border-style: none none solid none;
  border-radius: 0 !important;
  top: 0;
  left: 0;
  right: 0;
  max-width: 100%;
}

#navbar .navbar-nav .nav-item .nav-link {
  color: #fff !important;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

#navbar .navbar-nav .nav-item .nav-link:hover {
  color: var(--primary);
}

#navbar .navbar-nav .nav-item .nav-link.nav-cta {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  padding: 8px 20px;
  text-transform: uppercase;
}

#navbar .navbar-nav .nav-item .nav-link.nav-cta:hover {
  background: var(--primary);
  color: #fff;
}

#navbar .dropdown-menu {
  background: #193c44;
  border: none;
}

#navbar .dropdown-menu .dropdown-item {
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
}

#navbar .dropdown-menu .dropdown-item:hover {
  background: rgba(172, 136, 90, 0.2);
  color: var(--primary);
}

#navbar .navbar-toggler span {
  background: #fff;
}

/* Solid teal background when mobile menu is expanded */
#navbar.navbar-expand-lg .navbar-collapse.show,
#navbar.navbar-expand-lg .navbar-collapse.collapsing {
  background-color: #193c44;
  border-radius: 0 0 1rem 1rem;
  padding: 1rem;
}
#navbar:has(.navbar-collapse.show),
#navbar:has(.navbar-collapse.collapsing) {
  background-color: #193c44 !important;
}

/* Push page content below fixed navbar */
.slider {
  padding-top: 140px;
}

/* ------------------------------------------------------------------
   6. Button Colors
   ------------------------------------------------------------------ */
.btn-main {
  background: var(--primary);
  border-color: var(--primary);
}

.btn-main:hover,
.btn-main:focus {
  background: var(--secondary);
  border-color: var(--secondary);
}

/* ------------------------------------------------------------------
   7. Footer Override
   ------------------------------------------------------------------ */
footer.footer {
  background: var(--footer-bg);
}

/* ------------------------------------------------------------------
   8. CTA Block Override
   ------------------------------------------------------------------ */
.cta-block {
  background: var(--secondary);
}

.cta-block::before {
  background: rgba(65, 82, 57, 0.85);
}

/* ------------------------------------------------------------------
   9. Section Backgrounds
   ------------------------------------------------------------------ */
.section.intro {
  background: var(--light-bg);
}

/* ------------------------------------------------------------------
   10. Text Color Utility
   ------------------------------------------------------------------ */
.text-color {
  color: var(--primary);
}

/* ------------------------------------------------------------------
   11. Volunteer/Join Form Area
   ------------------------------------------------------------------ */
.volunteer .volunteer-form-wrap {
  background: var(--secondary);
}

/* ------------------------------------------------------------------
   12. Counter Section
   ------------------------------------------------------------------ */
.counter-section {
  background: var(--secondary);
}

.counter-item-2 .counter-stat {
  color: var(--primary);
}

/* ------------------------------------------------------------------
   13. Video Section Overlay
   ------------------------------------------------------------------ */
.video::before {
  background: rgba(65, 82, 57, 0.8);
}

.video-block .video-play-btn {
  background: var(--primary);
}

/* ------------------------------------------------------------------
   14. Gallery Hover
   ------------------------------------------------------------------ */
.gallery-item::before {
  background: rgba(172, 136, 90, 0.7);
}

.gallery-item:hover img {
  transform: none;
}

/* ------------------------------------------------------------------
   15. Logo Size in Navbar
   ------------------------------------------------------------------ */
.navbar-brand img {
  height: 45px;
  width: auto;
}

/* ------------------------------------------------------------------
   16. Tour Form Styling
   ------------------------------------------------------------------ */
.tour-form-page .form-control {
  border: 1px solid #ddd;
  padding: 12px 15px;
  border-radius: 4px;
}

.tour-form-page .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(172, 136, 90, 0.25);
}

/* ------------------------------------------------------------------
   17. Dark Teal Page Backgrounds (match trainers.evogyms.com)
   ------------------------------------------------------------------ */
body {
  background-color: #193c44;
}

/* Page title banner */
.page-title {
  background-color: #193c44;
  padding-top: 100px !important;
}

.page-title::before {
  background: none;
}

/* Inner page sections */
.section.page-title-next,
.section.about-page,
.section.feature,
.section.gallery,
.section.latest-blog {
  background-color: #193c44;
  color: #fff;
}

.section.page-title-next p,
.section.about-page p,
.section.feature p,
.section.gallery p,
.section.latest-blog p {
  color: rgba(255, 255, 255, 0.85);
}

.section.page-title-next h1,
.section.page-title-next h2,
.section.page-title-next h3,
.section.page-title-next h4,
.section.about-page h1,
.section.about-page h2,
.section.about-page h3,
.section.about-page h4,
.section.feature h4,
.section.gallery h2 {
  color: #fff;
}

/* About page content */
.about-item-content p,
.about-item-content h2,
.about-item-content a.btn {
  color: #fff;
}

.feature-inner {
  color: #fff;
}

.feature-inner i {
  color: var(--primary);
}

/* Explore page content */
.section .text-center p {
  font-family: 'Poppins', sans-serif !important;
  font-size: 17px;
  line-height: 1.8;
}

/* Explore gallery labels */
.gallery-item + h5 {
  color: #fff;
}

/* Contact page */
.contact__form .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.contact__form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Default single page content */
.section p, .section li {
  color: rgba(255, 255, 255, 0.85);
}

.section h1, .section h2, .section h3, .section h4, .section h5 {
  color: #fff;
}

.section a:not(.btn):not(.nav-link):not(.navbar-brand):not(.gallery-popup):not(.dropdown-item):not(.nav-cta) {
  color: var(--primary);
}

/* Book tour & volunteer forms on dark bg */
.volunteer-form-page .form-control,
.tour-form-page .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.volunteer-form-page .form-control::placeholder,
.tour-form-page .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.tour-form-page select.form-control {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.tour-form-page select.form-control option {
  background-color: #193c44;
  color: #fff;
}

/* CTA block on dark pages */
.cta-block {
  background: #232323;
}

.cta-block::before {
  background: none;
}

/* Footer */
footer.footer {
  background: #232323;
}

/* Section divider */
.section-divider {
  border-color: rgba(255, 255, 255, 0.1);
}

/* ------------------------------------------------------------------
   18. Program Form Section — force black text on brown bg
   ------------------------------------------------------------------ */
.program-form-section,
.program-form-section p,
.program-form-section li,
.program-form-section h1,
.program-form-section h2,
.program-form-section h3,
.program-form-section h4,
.program-form-section h5,
.program-form-section label,
.program-form-section span,
.program-form-section a,
.program-form-section div,
.program-form-section legend {
  color: #000 !important;
  font-family: 'Poppins', sans-serif !important;
}
.program-form-section input,
.program-form-section select,
.program-form-section textarea {
  color: #000 !important;
  font-family: 'Poppins', sans-serif !important;
}
.program-form-section input[type="submit"],
.program-form-section .hs-button,
.program-form-section .mc-form-submit {
  background-color: #193c44 !important;
  color: #fff !important;
}

/* ------------------------------------------------------------------
   19. Mailchimp Form Styles
   ------------------------------------------------------------------ */
.mc-form {
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
}
.mc-form-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
}
.mc-form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.mc-form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mc-form-half {
  flex: 1;
}
.mc-form-field label {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.mc-required {
  color: #e74c3c;
}
.mc-form-field input,
.mc-form-field select,
.mc-form-field textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  background-color: rgba(255,255,255,0.1);
  color: #fff;
  width: 100%;
  box-sizing: border-box;
}
.mc-form-field input::placeholder,
.mc-form-field textarea::placeholder {
  color: rgba(255,255,255,0.5);
}
.mc-form-field select {
  color: #fff;
  appearance: auto;
}
.mc-form-field select option {
  background-color: #193c44;
  color: #fff;
}
.mc-form-submit {
  display: block;
  width: 100%;
  padding: 14px 30px;
  background-color: #193c44;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background-color 0.3s ease;
}
.mc-form-submit:hover {
  background-color: #0f2a30;
}
@media (max-width: 768px) {
  .mc-form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* Mailchimp form on brown/gold background (program pages) */
.program-form-section .mc-form-field input,
.program-form-section .mc-form-field select,
.program-form-section .mc-form-field textarea {
  background-color: rgba(255,255,255,0.9);
  border-color: rgba(0,0,0,0.15);
  color: #000;
}
.program-form-section .mc-form-field input::placeholder,
.program-form-section .mc-form-field textarea::placeholder {
  color: rgba(0,0,0,0.4);
}
.program-form-section .mc-form-field select option {
  background-color: #fff;
  color: #000;
}
.program-form-section .mc-form-heading {
  color: #000;
}
.program-form-section .mc-form-field label {
  color: #000;
}
.program-form-section .mc-required {
  color: #c0392b;
}

/* Mailchimp form on dark teal background */
.dark-teal-form .mc-form-heading {
  color: #fff;
}
.dark-teal-form .mc-form-field label {
  color: #fff;
}

/* ------------------------------------------------------------------
   20. Apply Now Page Styles
   ------------------------------------------------------------------ */
.apply-hero {
  text-align: center;
  padding: 8rem 1.5rem 3rem;
  background-color: #193c44;
  color: #fff;
}
.apply-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 3.5rem;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.apply-hero p {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.apply-cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.apply-cta-btn {
  display: inline-block;
  padding: 16px 36px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.apply-cta-btn.trainer {
  background-color: #ac885a;
  color: #fff;
  border: 2px solid #ac885a;
}
.apply-cta-btn.trainer:hover {
  background-color: #c9a06e;
  border-color: #c9a06e;
  text-decoration: none;
  color: #fff;
}
.apply-cta-btn.client {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.apply-cta-btn.client:hover {
  background-color: rgba(255,255,255,0.1);
  text-decoration: none;
  color: #fff;
}
.apply-form-section {
  background-color: #ac885a;
  padding: 4rem 1.5rem;
}
.apply-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}
.apply-form-wrapper .mc-form-heading {
  color: #000;
}
.apply-form-wrapper .mc-form-field label {
  color: #000;
}
.apply-form-wrapper .mc-required {
  color: #c0392b;
}
.apply-form-wrapper .mc-form-field input,
.apply-form-wrapper .mc-form-field select,
.apply-form-wrapper .mc-form-field textarea {
  background-color: rgba(255,255,255,0.9);
  border-color: rgba(0,0,0,0.15);
  color: #000;
}
.apply-form-wrapper .mc-form-field input::placeholder,
.apply-form-wrapper .mc-form-field textarea::placeholder {
  color: rgba(0,0,0,0.4);
}
.apply-form-wrapper .mc-form-field select option {
  background-color: #fff;
  color: #000;
}
.apply-form-wrapper .mc-form-submit {
  background-color: #193c44;
  color: #fff;
}
.apply-form-wrapper .mc-form-submit:hover {
  background-color: #0f2a30;
}
@media (max-width: 768px) {
  .apply-hero h1 {
    font-size: 2.2rem;
  }
  .apply-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* ------------------------------------------------------------------
   21. Become a Trainer Page Styles
   ------------------------------------------------------------------ */
.become-trainer-wrap {
  background-color: #193c44;
  color: #fff;
}
.become-trainer-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 1.5rem 3rem;
}
.become-trainer-content h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  margin-bottom: 1.5rem;
}
.become-trainer-content h2,
.become-trainer-content h3 {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  margin-top: 2rem;
}
.become-trainer-content p,
.become-trainer-content li {
  font-family: 'Poppins', sans-serif;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
}
.become-trainer-form-section {
  background-color: #232323;
  padding: 4rem 1.5rem;
}
.become-trainer-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}
.become-trainer-form-wrapper .mc-form-heading {
  color: #fff;
}
.become-trainer-form-wrapper .mc-form-field label {
  color: #fff;
}

/* ------------------------------------------------------------------
   22. Explore Page CTA Block — brown bg, black text, teal button
   ------------------------------------------------------------------ */
.explore-cta-block {
  background-color: #ac885a;
  padding: 4rem 0;
}
.explore-cta-block::before {
  background: none;
}
.explore-cta-block h2 {
  color: #000 !important;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}
.explore-cta-block p {
  color: #000;
}
.explore-cta-btn {
  background-color: #193c44 !important;
  border-color: #193c44 !important;
  color: #fff !important;
  font-weight: 600;
}
.explore-cta-btn:hover,
.explore-cta-btn:focus {
  background-color: #0f2a30 !important;
  border-color: #0f2a30 !important;
  color: #fff !important;
}
