/* ═══════════════════════════════════════════════════════════════
   Hercules Fitness TN & Gymtech Solution — Components Stylesheet
   Dual-Color Architecture: Blaze Orange & Midnight Royal Navy
   ═══════════════════════════════════════════════════════════════ */

/* ─── Hero Flagship Showcase Carousel ─── */
.hero-carousel-stage {
  height: 460px;
  padding: 12px 8px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-carousel-img {
  max-height: 445px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.06);
  filter: drop-shadow(0 24px 36px rgba(251, 89, 0, 0.28));
  transition: transform 0.4s ease;
}

@media (max-width: 991px) {
  .hero-carousel-stage {
    height: 360px;
  }
  .hero-carousel-img {
    max-height: 350px;
  }
}

@media (max-width: 576px) {
  .hero-carousel-stage {
    height: 290px;
  }
  .hero-carousel-img {
    max-height: 280px;
  }
}

/* ─── Product Card Component ─── */
.product-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  box-shadow: 0 2px 10px rgba(1, 34, 88, 0.04);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(1, 34, 88, 0.12);
  border-color: rgba(251, 89, 0, 0.4);
}

.product-card-thumb {
  position: relative;
  background: var(--background-light);
  padding: 12px;
  text-align: center;
  overflow: hidden;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-thumb img {
  max-height: 276px;
  width: 100%;
  object-fit: contain;
  transition: transform 0.45s ease;
}

.product-card:hover .product-card-thumb img {
  transform: scale(1.06);
}

.product-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

.product-card-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-cat {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-orange);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 6px;
}

.product-card-title a {
  color: var(--primary-navy);
  transition: color var(--transition-fast);
}

.product-card-title a:hover {
  color: var(--primary-orange);
}

.product-card-model {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.spec-pill {
  background: #EDF2F7;
  color: var(--primary-navy);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.product-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.btn-card-enquire {
  flex-grow: 1;
  background: var(--gradient-orange);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-card-enquire:hover {
  box-shadow: 0 4px 14px var(--primary-orange-glow);
  transform: translateY(-2px);
}

.btn-card-whatsapp {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #25D366;
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: all var(--transition-fast);
}

.btn-card-whatsapp:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.btn-card-view {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: #F1F4F8;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.btn-card-view:hover {
  background: var(--primary-navy);
  color: #FFFFFF;
}

/* ─── Category Feature Cards ─── */
.cat-feature-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #FFFFFF;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cat-feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(1, 34, 88, 0.15) 0%, rgba(0, 22, 59, 0.94) 80%);
  transition: background var(--transition-normal);
  z-index: 1;
}

.cat-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(251, 89, 0, 0.25);
}

.cat-feature-card:hover::before {
  background: linear-gradient(180deg, rgba(1, 34, 88, 0.1) 0%, rgba(0, 22, 59, 0.98) 65%);
}

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

.cat-card-count {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--secondary-yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.cat-card-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin-bottom: 10px;
}

/* ─── Branch Showroom Card ─── */
.branch-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 28px;
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.branch-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-orange);
  box-shadow: 0 16px 36px rgba(1, 34, 88, 0.1);
}

.branch-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-orange);
  background: rgba(251, 89, 0, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
}

.branch-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

/* ─── Service Feature Card (Chip-Level Service) ─── */
.service-feature-card {
  background: linear-gradient(145deg, #012258 0%, #00163B 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(251, 89, 0, 0.3);
  padding: 36px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.service-feature-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(251, 89, 0, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}

/* ─── Client Success Badge Tile ─── */
.client-logo-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.client-logo-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-navy);
  box-shadow: 0 10px 25px rgba(1, 34, 88, 0.08);
}

.client-logo-card .client-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-top: 10px;
  margin-bottom: 4px;
}

.client-logo-card .client-loc {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ─── Form Controls ─── */
.form-floating-custom {
  position: relative;
  margin-bottom: 16px;
}

.form-control-custom {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control-custom:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--primary-orange);
  box-shadow: 0 0 15px rgba(251, 89, 0, 0.3);
}

.form-control-custom::placeholder {
  color: #94A3B8;
}

/* ─── Featured Equipment Single-Row Carousel ─── */
.featured-carousel-wrapper {
  position: relative;
  overflow: visible;
  padding: 10px 0;
}

.featured-carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
  padding: 12px 6px 18px;
}

.featured-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.featured-carousel-slide {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  display: flex;
}

@media (max-width: 1200px) {
  .featured-carousel-slide {
    flex: 0 0 calc((100% - 40px) / 3);
  }
}

@media (max-width: 991px) {
  .featured-carousel-slide {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

@media (max-width: 576px) {
  .featured-carousel-slide {
    flex: 0 0 100%;
  }
}

.featured-nav-btn {
  position: absolute;
  top: calc(50% - 15px);
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(1, 34, 88, 0.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.featured-nav-btn.prev {
  left: -22px;
}

.featured-nav-btn.next {
  right: -22px;
}

@media (max-width: 768px) {
  .featured-nav-btn.prev {
    left: 4px;
  }
  .featured-nav-btn.next {
    right: 4px;
  }
}

.featured-nav-btn:hover {
  background: var(--primary-orange);
  color: #FFFFFF;
  border-color: var(--primary-orange);
  box-shadow: 0 6px 20px var(--primary-orange-glow);
  transform: translateY(-50%) scale(1.08);
}

.featured-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.featured-carousel-dot.active {
  background: var(--primary-orange);
  width: 28px;
  border-radius: 6px;
  box-shadow: 0 0 10px var(--primary-orange-glow);
}
