/* High Performance Basketball Training Styles */
:root {
  --hpbt-primary: #f59e0b;
  --hpbt-secondary: #3b82f6;
  --hpbt-dark: #0f172a;
  --hpbt-dark-lighter: #1e293b;
  --hpbt-light: #ffffff;
  --hpbt-muted: #f8fafc;
  --hpbt-border: #e2e8f0;
  --hpbt-slate-400: #94a3b8;
  --hpbt-slate-500: #64748b;
  --hpbt-slate-600: #475569;
  --hpbt-slate-800: #1e293b;
}

.hpbt-container {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--hpbt-dark);
}

.hpbt-container * {
  box-sizing: border-box;
}

/* Buttons */
.hpbt-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.hpbt-btn-primary {
  background-color: var(--hpbt-primary);
  color: var(--hpbt-dark);
}

.hpbt-btn-primary:hover {
  background-color: #d97706;
  color: var(--hpbt-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

/* Added outline button style for hero */
.hpbt-btn-outline {
  background-color: transparent;
  color: var(--hpbt-light);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.hpbt-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--hpbt-light);
}

.hpbt-btn-disabled {
  background-color: rgba(30, 41, 59, 0.2);
  color: rgba(30, 41, 59, 0.5);
  cursor: not-allowed;
}

.hpbt-btn-full {
  width: 100%;
}

/* Completely redesigned hero - clean split layout with crisp typography */
.hpbt-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--hpbt-dark);
}

.hpbt-hero-split-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .hpbt-hero-split-bg {
    grid-template-columns: 1fr 1fr;
  }
}

.hpbt-hero-split-left {
  background-color: var(--hpbt-dark);
}

.hpbt-hero-split-right {
  display: none;
  position: relative;
}

@media (min-width: 1024px) {
  .hpbt-hero-split-right {
    display: block;
  }
}

.hpbt-hero-split-right-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hpbt-hero-split-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--hpbt-dark) 0%, rgba(15, 23, 42, 0.8) 30%, transparent 100%);
}

.hpbt-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}

@media (min-width: 1024px) {
  .hpbt-hero-content {
    padding: 120px 48px 140px;
  }
}

.hpbt-hero-inner {
  max-width: 640px;
}

.hpbt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 9999px;
  padding: 6px 16px;
  margin-bottom: 32px;
}

.hpbt-hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--hpbt-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hpbt-hero-badge-text {
  color: var(--hpbt-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hpbt-hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--hpbt-light);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .hpbt-hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hpbt-hero-title {
    font-size: 4rem;
  }
}

.hpbt-hero-title-accent {
  display: block;
  color: var(--hpbt-primary);
  margin-top: 8px;
}

.hpbt-hero-description {
  font-size: 1.125rem;
  color: var(--hpbt-slate-400);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 540px;
}

.hpbt-hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
}

@media (min-width: 480px) {
  .hpbt-hero-buttons {
    flex-direction: row;
  }
}

.hpbt-hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--hpbt-primary);
  color: var(--hpbt-dark);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hpbt-hero-btn-primary:hover {
  background-color: #fbbf24;
  color: var(--hpbt-dark);
  transform: translateY(-2px);
}

.hpbt-hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--hpbt-light);
  font-weight: 600;
  font-size: 1rem;
  padding: 16px 32px;
  border: 1px solid var(--hpbt-slate-600);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hpbt-hero-btn-secondary:hover {
  background-color: var(--hpbt-slate-800);
  border-color: var(--hpbt-slate-500);
  color: var(--hpbt-light);
}

.hpbt-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--hpbt-slate-800);
}

.hpbt-hero-stat {
  display: flex;
  flex-direction: column;
}

.hpbt-hero-stat-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.hpbt-hero-stat-icon {
  width: 16px;
  height: 16px;
  color: var(--hpbt-primary);
}

.hpbt-hero-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hpbt-light);
  line-height: 1;
}

@media (min-width: 768px) {
  .hpbt-hero-stat-number {
    font-size: 2rem;
  }
}

.hpbt-hero-stat-label {
  font-size: 0.7rem;
  color: var(--hpbt-slate-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .hpbt-hero-stat-label {
    font-size: 0.8rem;
  }
}

.hpbt-hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--hpbt-slate-500);
}

.hpbt-hero-scroll-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hpbt-hero-scroll svg {
  width: 20px;
  height: 20px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-6px);
  }
  60% {
    transform: translateY(-3px);
  }
}
/* End hero section styles */

/* Section Styles */
.hpbt-section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hpbt-section-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--hpbt-dark);
}

.hpbt-section-subtitle {
  text-align: center;
  color: rgba(30, 41, 59, 0.7);
  margin-bottom: 10px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Program Overview */
.hpbt-program-overview {
  padding: 64px 20px;
  background-color: var(--hpbt-muted);
}

.hpbt-program-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 768px) {
  .hpbt-program-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hpbt-program-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hpbt-program-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hpbt-dark);
  padding-left: 16px;
  border-left: 4px solid;
}

.hpbt-border-primary {
  border-color: var(--hpbt-primary);
}

.hpbt-border-secondary {
  border-color: var(--hpbt-secondary);
}

.hpbt-program-description {
  color: rgba(30, 41, 59, 0.8);
  line-height: 1.7;
}

/* Equipment Grid */
/* Updated equipment grid for 4 items */
.hpbt-equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.hpbt-equipment-grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 480px) {
  .hpbt-equipment-grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hpbt-equipment-card {
  background: var(--hpbt-light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hpbt-equipment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.15);
}

.hpbt-equipment-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.hpbt-equipment-card p {
  font-size: 0.7rem;
  text-align: center;
  padding: 10px 6px;
  font-weight: 500;
  color: rgba(30, 41, 59, 0.8);
  margin: 0;
  line-height: 1.3;
}

/* Cards */
.hpbt-card {
  background: var(--hpbt-light);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hpbt-card-image {
  padding: 0;
  overflow: hidden;
}

.hpbt-card-image img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  background-color: #404040;
}

.hpbt-video-placeholder {
  aspect-ratio: 16 / 9;
  background-color: rgba(30, 41, 59, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hpbt-video-placeholder span {
  color: rgba(30, 41, 59, 0.5);
  font-size: 0.875rem;
}

/* Video embed styles for YouTube iframes */
.hpbt-video-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 480px) {
  .hpbt-video-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.hpbt-video-embed {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background-color: rgba(30, 41, 59, 0.1);
}

.hpbt-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

.hpbt-video-single {
  padding-bottom: 56.25%;
}

/* Services Section */
.hpbt-services {
  padding: 64px 20px;
  background-color: var(--hpbt-light);
}

.hpbt-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .hpbt-services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hpbt-service-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hpbt-service-available {
  box-shadow: 0 0 0 2px var(--hpbt-primary), 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hpbt-service-header {
  background-color: var(--hpbt-dark);
  color: var(--hpbt-light);
  padding: 24px;
}

.hpbt-service-header-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.hpbt-service-icon {
  padding: 8px;
  border-radius: 8px;
  background-color: rgba(245, 158, 11, 0.2);
}

.hpbt-service-icon svg {
  color: var(--hpbt-primary);
}

.hpbt-service-badge {
  font-size: 0.75rem;
  font-weight: 600;
  background-color: var(--hpbt-primary);
  color: var(--hpbt-dark);
  padding: 4px 8px;
  border-radius: 9999px;
}

.hpbt-service-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.hpbt-service-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hpbt-service-info {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(30, 41, 59, 0.7);
}

.hpbt-service-info svg {
  color: var(--hpbt-secondary);
  flex-shrink: 0;
}

.hpbt-service-info span {
  font-weight: 500;
}

.hpbt-pricing-list {
  margin: 0 0 0 32px;
  padding: 0;
  list-style: disc;
  color: rgba(30, 41, 59, 0.7);
}

.hpbt-pricing-list li {
  margin-bottom: 4px;
}

.hpbt-service-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: var(--hpbt-muted);
  padding: 16px;
  border-radius: 8px;
}

.hpbt-service-note svg {
  color: var(--hpbt-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.hpbt-service-note p {
  font-size: 0.875rem;
  color: rgba(30, 41, 59, 0.7);
  margin: 0;
}

/* Workshop Section */
.hpbt-workshop {
  padding: 64px 20px;
  background-color: rgba(245, 158, 11, 0.1);
}

.hpbt-workshop-card {
  background: var(--hpbt-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .hpbt-workshop-card {
    grid-template-columns: 1fr 1fr;
  }
}

.hpbt-workshop-content {
  padding: 32px;
}

.hpbt-workshop-badge {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hpbt-primary);
  background-color: rgba(245, 158, 11, 0.2);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.hpbt-workshop-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--hpbt-dark);
  margin-bottom: 16px;
}

.hpbt-workshop-description {
  color: rgba(30, 41, 59, 0.7);
  margin-bottom: 24px;
  line-height: 1.7;
}

.hpbt-workshop-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.hpbt-workshop-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(30, 41, 59, 0.7);
}

.hpbt-workshop-detail svg {
  color: var(--hpbt-secondary);
}

.hpbt-workshop-image {
  display: none;
}

@media (min-width: 768px) {
  .hpbt-workshop-image {
    display: block;
  }
}

.hpbt-workshop-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Schedule Section */
.hpbt-schedule {
  padding: 64px 20px;
  background-color: var(--hpbt-light);
}

.hpbt-schedule-card {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hpbt-schedule-header {
  background-color: var(--hpbt-dark);
  color: var(--hpbt-light);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.hpbt-schedule-header svg {
  color: var(--hpbt-primary);
}

.hpbt-schedule-table {
  width: 100%;
  border-collapse: collapse;
}

.hpbt-schedule-table th {
  text-align: left;
  padding: 16px 24px;
  background-color: var(--hpbt-muted);
  font-weight: 600;
  color: var(--hpbt-dark);
}

.hpbt-schedule-table td {
  padding: 16px 24px;
  border-top: 1px solid var(--hpbt-border);
}

.hpbt-schedule-table tbody tr:nth-child(even) {
  background-color: rgba(248, 250, 252, 0.5);
}

.hpbt-schedule-table td:first-child {
  font-weight: 500;
  color: var(--hpbt-dark);
}

.hpbt-time-slot {
  display: inline-block;
  background-color: rgba(245, 158, 11, 0.2);
  color: var(--hpbt-dark);
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 4px 8px 4px 0;
}

/* Footer */
.hpbt-footer {
  padding: 48px 20px;
  background-color: var(--hpbt-dark);
  color: var(--hpbt-light);
  text-align: center;
}

.hpbt-footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(245, 158, 11, 0.2);
  margin-bottom: 16px;
}

.hpbt-footer-icon svg {
  color: var(--hpbt-primary);
}

.hpbt-footer-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
}

.hpbt-footer-highlight {
  font-weight: 600;
  color: var(--hpbt-primary);
}

.hpbt-footer-copyright {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Gravity Forms Integration Styling */
.hpbt-container .gform_wrapper {
  margin: 0;
}

.hpbt-container .gform_wrapper input[type="submit"],
.hpbt-container .gform_wrapper .gform_button {
  background-color: var(--hpbt-primary) !important;
  color: var(--hpbt-dark) !important;
  padding: 12px 32px !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  border: none !important;
  width: 100%;
  cursor: pointer;
}

.hpbt-container .gform_wrapper input[type="submit"]:hover,
.hpbt-container .gform_wrapper .gform_button:hover {
  background-color: #d97706 !important;
}

/* Responsive */
@media (max-width: 767px) {
  /* Note: hpbt-hero-title is handled within the new hero section definition */
  .hpbt-equipment-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
