@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-light: #faf9f6;
  --bg-dark: #002b28;
  --bg-card: #ffffff;
  --bg-card-dark: #073531;
  --primary: #e58f1e;
  --primary-hover: #c77614;
  --primary-glow: rgba(229, 143, 30, 0.1);
  --accent: #002b28;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --text-light: #f3f4f6;
  --border-color: rgba(0, 0, 0, 0.06);
  --border-dark: rgba(255, 255, 255, 0.06);
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

/* Dark Theme Variables */
body.dark-theme {
  --bg-light: #061211;
  --bg-card: #0c1c1a;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border-color: rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--bg-dark);
  font-weight: 700;
  transition: color 0.3s ease;
}
body.dark-theme h1, body.dark-theme h2, body.dark-theme h3, body.dark-theme h4, body.dark-theme h5, body.dark-theme h6 {
  color: white;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

button, input, select, textarea {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  color: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 43, 40, 0.2);
  border-radius: 4px;
}
body.dark-theme ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography & Layout Helpers */
.text-primary { color: var(--primary); }
.text-accent { color: var(--primary); }
.uppercase-tag {
  font-family: var(--font-title);
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-dark);
  transition: var(--transition-smooth);
  padding: 4px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
}
.logo svg {
  fill: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-item {
  position: relative;
}
.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.8);
}
.nav-link:hover {
  color: var(--primary);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background: var(--bg-dark);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 12px;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-lg);
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu li {
  list-style: none;
}
.dropdown-link {
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--text-light);
}
.dropdown-link:hover {
  background: rgba(229, 143, 30, 0.1);
  color: var(--primary);
}

.theme-toggle-btn {
  font-size: 1.3rem;
  cursor: pointer;
  color: white;
  transition: var(--transition-smooth);
}
.theme-toggle-btn:hover {
  color: var(--primary);
  transform: rotate(20deg);
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 15px rgba(229, 143, 30, 0.3);
}
.btn-accent {
  background: var(--bg-dark);
  color: white;
}
.btn-accent:hover {
  opacity: 0.9;
}
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}
.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(229, 143, 30, 0.05);
}

/* Sections Global */
section {
  padding: 100px 0;
  position: relative;
}

/* Hero Section */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, #031a18 100%);
  color: white;
}
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.hero-content {
  position: relative;
}
.hero-content h1 {
  font-size: 4.2rem;
  line-height: 1.1;
  margin-bottom: 24px;
  color: white;
}
.hero-bg-text {
  position: absolute;
  bottom: -40px;
  left: 0;
  font-family: var(--font-title);
  font-size: 8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  letter-spacing: 6px;
  line-height: 1;
  pointer-events: none;
  text-transform: uppercase;
}
.hero-showcase-card {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-showcase-img-container {
  height: 380px;
  overflow: hidden;
}
.hero-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-showcase-card:hover .hero-showcase-img {
  transform: scale(1.03);
}
.hero-showcase-details {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero-showcase-details h3 {
  font-size: 1.25rem;
  color: white;
}
.hero-showcase-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
}

/* About Us Section */
.about {
  padding: 80px 0;
}
.about-wrapper {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.about-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-card-thumb {
  border-radius: 12px;
  overflow: hidden;
  height: 220px;
}
.about-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.about-stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}
.about-stat-icon {
  background: var(--primary-glow);
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.about-stat-val {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--bg-dark);
}
body.dark-theme .about-stat-val {
  color: white;
}
.about-stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
}
.about-right h2 {
  font-size: 3rem;
  margin-bottom: 24px;
  line-height: 1.15;
}
.about-desc {
  color: var(--text-muted);
  margin-bottom: 24px;
}
.about-right-img {
  border-radius: 20px;
  overflow: hidden;
  height: 480px;
  box-shadow: var(--shadow-lg);
}
.about-right-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Features Section */
.features {
  background: rgba(0, 43, 40, 0.02);
  border-top: 1px solid var(--border-color);
}
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}
.section-title {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-top: 12px;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(229, 143, 30, 0.2);
}
.feature-icon-box {
  background: var(--bg-dark);
  color: var(--primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.6rem;
}
.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Personalized Training Section */
.personalized {
  padding: 100px 0;
}
.personal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.personal-left-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.personal-img-wrapper {
  border-radius: 16px;
  overflow: hidden;
  height: 340px;
  box-shadow: var(--shadow-sm);
}
.personal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.personal-right h2 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 24px;
}
.personal-stats-bar {
  display: flex;
  gap: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 30px;
}
.personal-stat-col {
  display: flex;
  flex-direction: column;
}
.personal-stat-num {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}
.personal-stat-name {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Elite Services Section */
.services {
  background: rgba(0, 43, 40, 0.02);
  border-top: 1px solid var(--border-color);
}
.services-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.services-img-box {
  border-radius: 20px;
  overflow: hidden;
  height: 520px;
  box-shadow: var(--shadow-lg);
}
.services-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 143, 30, 0.15);
  box-shadow: var(--shadow-lg);
}
.service-icon {
  background: var(--primary-glow);
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Trainers Section */
.trainers {
  padding: 100px 0;
}
.trainers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.trainer-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.trainer-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(229, 143, 30, 0.15);
}
.trainer-img-container {
  height: 320px;
  overflow: hidden;
}
.trainer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.trainer-card:hover .trainer-img {
  transform: scale(1.04);
}
.trainer-info {
  padding: 24px;
}
.trainer-info h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.trainer-role {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: block;
}
.trainer-socials {
  display: flex;
  gap: 12px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}
.trainer-social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.trainer-social-link:hover {
  background: var(--primary);
  color: white;
}

/* Testimonial Section */
.testimonial-banner {
  background: linear-gradient(rgba(0, 43, 40, 0.9), rgba(0, 43, 40, 0.95)), url('images/img_05_junior_academy.webp') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 100px 0;
  text-align: center;
}
.testi-profile-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 2px solid var(--primary);
}
.testi-stars {
  color: var(--primary);
  margin-bottom: 16px;
}
.testi-quote {
  font-size: 1.3rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 24px;
  font-style: italic;
  color: var(--text-light);
}
.testi-author {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
}
.faq-wrapper {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-title);
  font-size: 1.1rem;
}
.faq-toggle-icon {
  font-size: 1.2rem;
  transition: var(--transition-smooth);
}
.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--primary);
}
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}
.faq-item.open .faq-answer {
  padding: 0 24px 20px;
  max-height: 200px;
}
.faq-img-box {
  border-radius: 20px;
  overflow: hidden;
  height: 520px;
  box-shadow: var(--shadow-lg);
}
.faq-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer Section */
footer {
  background: var(--bg-dark);
  color: white;
  border-top: 1px solid var(--border-dark);
  padding: 80px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
}
.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 300px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-contact li {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}
.footer-contact li svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 4px;
}
.newsletter-form {
  display: flex;
  gap: 12px;
}
.newsletter-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  padding: 12px 18px;
  border-radius: 4px;
  color: white;
  font-size: 0.9rem;
}
.newsletter-input:focus {
  border-color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.3);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.3);
}
.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* Floating Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary);
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 99;
  box-shadow: var(--shadow-lg);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-4px);
}

/* Secondary Page Banner */
.page-banner {
  padding: 160px 0 60px;
  background: linear-gradient(rgba(0, 43, 40, 0.8), rgba(0, 43, 40, 0.9)), url('images/img_05_junior_academy.webp') no-repeat center center;
  background-size: cover;
  text-align: center;
  color: white;
  border-bottom: 1px solid var(--border-dark);
}
.page-banner h1 {
  font-size: 3rem;
  margin-bottom: 12px;
  color: white;
}
.breadcrumbs {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}
.breadcrumbs span {
  color: var(--primary);
}

/* Shop Layout Page */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 60px 0;
}
.shop-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  height: fit-content;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget {
  margin-bottom: 30px;
}
.sidebar-widget:last-child {
  margin-bottom: 0;
}
.sidebar-widget h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}
.shop-search {
  display: flex;
  align-items: center;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 10px 20px;
}
.shop-search input {
  width: 100%;
  font-size: 0.9rem;
  color: var(--text-main);
}
.shop-search span {
  color: var(--text-muted);
}
.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.category-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}
.category-item:hover, .category-item.active {
  color: var(--primary);
}
.shop-main-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.results-count {
  color: var(--text-muted);
  font-size: 0.95rem;
}
.shop-sort select {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Booking Drawer */
.booking-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.booking-drawer.open {
  right: 0;
}
.booking-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.booking-close {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}
.booking-close:hover {
  color: var(--bg-dark);
}
.booking-content-container {
  flex-grow: 1;
  padding: 24px;
  overflow-y: auto;
}
.booking-footer {
  padding: 24px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-light);
}
.booking-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 700;
}
.booking-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}
.booking-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Product Detail Page */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  padding: 80px 0;
}
.product-main-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}
.product-info-col {
  display: flex;
  flex-direction: column;
}
.product-detail-badge {
  background: var(--primary-glow);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  width: fit-content;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.product-detail-title {
  font-size: 3rem;
  margin-bottom: 16px;
  line-height: 1.15;
}
.product-detail-price {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 24px;
  font-family: var(--font-title);
}
.product-detail-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
  line-height: 1.7;
}
.product-meta-specs {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.spec-row {
  display: flex;
  font-size: 0.95rem;
}
.spec-label {
  width: 140px;
  font-weight: 600;
  color: var(--text-muted);
}
.spec-val {
  color: var(--text-main);
}
.purchase-controls {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

/* Blog list page */
.blog-layout {
  padding: 60px 0;
}
.blog-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.page-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.page-num:hover, .page-num.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Blog Detail Page */
.blog-detail-layout {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 24px;
}
.blog-detail-header {
  text-align: center;
  margin-bottom: 40px;
}
.blog-detail-title {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
}
.blog-detail-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.blog-detail-hero-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
}
.blog-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-main);
}
.blog-content p {
  margin-bottom: 24px;
}
.blog-content h2, .blog-content h3 {
  margin-top: 40px;
  margin-bottom: 20px;
}
.blog-content blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 24px;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--bg-dark);
  margin: 40px 0;
}
body.dark-theme .blog-content blockquote {
  color: white;
}

/* Contact page styling */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 80px 0;
}
.contact-info-col h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.contact-info-col p {
  color: var(--text-muted);
  margin-bottom: 40px;
}
.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.contact-detail-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.contact-icon {
  background: var(--primary-glow);
  border: 1px solid var(--primary);
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-detail-content h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.contact-detail-content p {
  margin-bottom: 0;
}

.contact-form-col {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.contact-form-col h3 {
  font-size: 1.6rem;
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-muted);
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: 4px;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--primary);
  background: white;
}
body.dark-theme .form-input:focus, body.dark-theme .form-textarea:focus, body.dark-theme .form-select:focus {
  background: var(--bg-card);
}

/* Accordion FAQs Section */
.faq-section {
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
}
.faq-section h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 50px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.toast {
  background: var(--bg-dark);
  color: white;
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  transform: translateX(-120%);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast.show {
  transform: translateX(0);
}

/* Image Fail Safe placeholder styling */
.img-fallback-svg {
  background: var(--accent);
  fill: rgba(255, 255, 255, 0.35);
  display: block;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-content h1 {
    font-size: 3.2rem;
  }
  .features-grid, .trainers-grid, .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-wrapper, .personal-grid, .services-wrapper, .faq-wrapper, .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-dark);
    flex-direction: column;
    padding: 40px;
    gap: 24px;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-dark);
  }
  .nav-menu.open {
    left: 0;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .nav-container {
    height: 80px;
  }
  .features-grid, .trainers-grid, .gallery-grid, .services-grid, .blog-list-grid {
    grid-template-columns: 1fr;
  }
  .booking-drawer {
    width: 100%;
    right: -100%;
  }
}

/* Fix blog card image overflow */
.blog-card img, .blog-img {
  max-width: 100%;
  height: auto;
  display: block;
}
.blog-card, .blog-img-wrapper {
  overflow: hidden;
  max-width: 100%;
}
.blog-list-grid {
  overflow: hidden;
}
