/* HeyCoach Custom Theme Styles */

/* Fonts */
@import url('https://use.typekit.net/wvh8god.css');
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

:root {
  /* Color Palette */
  --navy-900: #002855;
  --navy-800: #003366;
  --navy-700: #004477;
  --navy-600: #005588;
  --navy-500: #006699;
  --navy-400: #3385AD;
  --navy-300: #66A3C1;
  --navy-200: #99C2D5;
  --navy-100: #CCE0E9;
  --navy-50: #E5F0F5;
  
  --yellow-900: #CC5A0A;
  --yellow-800: #E6720F;
  --yellow-700: #F08915;
  --yellow-600: #f5a623;
  --yellow-500: #f7b13d;
  --yellow-400: #f9bd5a;
  --yellow-300: #fbca7a;
  --yellow-200: #fdd89b;
  --yellow-100: #fee5bc;
  --yellow-50: #fff2de;
  
  --blue-900: #1A2D7D;
  --blue-800: #1E3391;
  --blue-700: #223aa5;
  --blue-600: #3A4FB3;
  --blue-500: #5264C1;
  --blue-400: #7686D0;
  --blue-300: #9AA8DF;
  --blue-200: #BECAED;
  --blue-100: #D9E0F4;
  --blue-50: #EEF1FA;
  
  --gray-900: #111827;
  --gray-800: #1F2937;
  --gray-700: #374151;
  --gray-600: #4B5563;
  --gray-500: #6B7280;
  --gray-400: #9CA3AF;
  --gray-300: #D1D5DB;
  --gray-200: #E5E7EB;
  --gray-100: #F3F4F6;
  --gray-50: #F9FAFB;
  
  /* Typography */
  --font-heading: 'bebas-neue-pro', sans-serif;
  --font-body: 'figtree', sans-serif;
}

/* Font Family Classes */
.font-heading {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  font-weight: 600;
}

.font-body {
  font-family: var(--font-body);
}

.custom-logo {
  max-width: 180px;
}

/* Custom Color Classes - Override Tailwind defaults */
.bg-navy-900 { background-color: var(--navy-900) !important; }
.bg-navy-800 { background-color: var(--navy-800) !important; }
.bg-navy-500 { background-color: var(--navy-500) !important; }
.bg-navy-50 { background-color: var(--navy-50) !important; }

.bg-yellow-600 { background-color: var(--yellow-600) !important; }
.bg-yellow-500 { background-color: var(--yellow-500) !important; }
.bg-yellow-400 { background-color: var(--yellow-400) !important; }
.bg-yellow-300 { background-color: var(--yellow-300) !important; }
.bg-yellow-200 { background-color: var(--yellow-200) !important; }
.bg-yellow-100 { background-color: var(--yellow-100) !important; }
.bg-yellow-50 { background-color: var(--yellow-50) !important; }

.bg-blue-600 { background-color: var(--blue-600) !important; }
.bg-blue-500 { background-color: var(--blue-500) !important; }
.bg-blue-50 { background-color: var(--blue-50) !important; }

.text-navy-900 { color: var(--navy-900) !important; }
.text-navy-800 { color: var(--navy-800) !important; }
.text-navy-600 { color: var(--navy-600) !important; }
.text-navy-200 { color: var(--navy-200) !important; }
.text-navy-100 { color: var(--navy-100) !important; }

.text-yellow-900 { color: var(--yellow-900) !important; }
.text-yellow-800 { color: var(--yellow-800) !important; }
.text-yellow-700 { color: var(--yellow-700) !important; }
.text-yellow-600 { color: var(--yellow-600) !important; }
.text-yellow-500 { color: var(--yellow-500) !important; }
.text-yellow-400 { color: var(--yellow-400) !important; }

.text-blue-600 { color: var(--blue-600) !important; }
.text-blue-200 { color: var(--blue-200) !important; }
.text-blue-100 { color: var(--blue-100) !important; }
.text-blue-50 { color: var(--blue-50) !important; }

.border-yellow-600 { border-color: var(--yellow-600) !important; }
.border-yellow-500 { border-color: var(--yellow-500) !important; }
.border-yellow-200 { border-color: var(--yellow-200) !important; }
.border-yellow-100 { border-color: var(--yellow-100) !important; }
.border-navy-200 { border-color: var(--navy-200) !important; }
.border-navy-700 { border-color: var(--navy-700) !important; }

/* Button Styles */
.btn-primary {
  background-image: linear-gradient(90deg, #f7b64a 0%, #f5a623 100%);
  color: var(--navy-900);
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-image: linear-gradient(90deg, #f5a623 0%, #f7b64a 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--yellow-600);
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  border: 2px solid var(--yellow-600);
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--yellow-600);
  color: var(--navy-900);
}

.btn-secondary-white {
  color: #FFFFFF !important;
  border-width: 0px !important;
  background-color: rgba(90, 90, 104, 0.49);
  box-shadow: inset 0px 0px 0px 2px rgba(255, 255, 255, 0.3);
  padding: 14px 32px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary-white:hover {
  background-color: rgba(90, 90, 104, 0.7);
  box-shadow: inset 0px 0px 0px 2px rgba(255, 255, 255, 0.5);
}

/* Card Styles */
.feature-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

/* Icon Background */
.icon-bg {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.icon-bg i {
  width: 32px;
  height: 32px;
}

/* Section Spacing */
.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 48px 0;
  }
}

/* Video Container */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Testimonial Card */
.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  height: 100%;
}

/* Global Typography */
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

/* Utility Classes */
.text-balance {
  text-wrap: balance;
}

.container-custom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .container-custom {
    padding: 0 16px;
  }
}

/* Navigation Menu Styles */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.site-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

/* Primary Menu - Desktop */
.primary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  align-items: center;
}

.primary-menu li {
  margin: 0;
  padding: 0;
  position: relative;
}

.primary-menu a {
  color: var(--navy-900);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
  display: block;
}

.primary-menu a:hover {
  color: var(--yellow-600);
}

.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
  color: var(--yellow-600);
  font-weight: 600;
}

/* Desktop Sub-menu Dropdown */
.primary-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  min-width: 200px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  z-index: 100;
}

.primary-menu li:hover > .sub-menu {
  display: block;
}

.primary-menu .sub-menu li {
  border-bottom: none;
}

.primary-menu .sub-menu a {
  padding: 0.6rem 1.25rem;
  font-size: 15px;
  white-space: nowrap;
}

.primary-menu .sub-menu a:hover {
  background-color: var(--gray-50);
  color: var(--yellow-600);
}

/* Hamburger Menu Button - Hidden on Desktop */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 60;
}

.hamburger-line {
  width: 28px;
  height: 3px;
  background-color: var(--navy-900);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Styles */
@media (max-width: 1023px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .primary-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 0;
    gap: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 55;
  }

  .primary-menu.active {
    max-height: 500px;
  }

  .primary-menu li {
    width: 100%;
    border-bottom: 1px solid var(--gray-200);
  }

  .primary-menu li:last-child {
    border-bottom: none;
  }

  .primary-menu a {
    padding: 1rem 1.5rem;
    font-size: 18px;
  }

  .primary-menu .sub-menu {
    position: static;
    display: block;
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
    padding: 0;
    background-color: var(--gray-50);
  }

  .primary-menu .sub-menu a {
    padding: 0.75rem 1.5rem 0.75rem 2.5rem;
    font-size: 16px;
    white-space: normal;
  }

  .primary-menu .sub-menu li {
    border-bottom: 1px solid var(--gray-200);
  }

  .primary-menu .sub-menu li:last-child {
    border-bottom: none;
  }

  .site-header nav {
    padding: 1rem 1.5rem;
    position: relative;
  }
}
