/* ============================
Font
============================ */
@font-face {
  font-family: 'IphoneMedium';
  src: url('Font/iPhone/iphone-fonst/Ios 15 Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Lalezar';
  src: url('Font/Lalezar/Digi Lalezar Plus.ttf') format('truetype');
}

/* ============================
Body
============================ */
body {
  margin: 0;
  background: #060606;
  font-family: 'IphoneMedium', sans-serif;
  font-size: 1rem;
  direction: rtl;
  text-align: right;
  scroll-behavior: smooth;
}

/* ============================
Header
============================ */
.header {
  background: #000;
  color: #fff;
  padding: 12px 0;
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}
.header-container {
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.header-links {
  display: flex;
  gap: clamp(40px, 9vw, 150px);
}
.header-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
  transition: color .3s, transform .3s;
}
.header-links a:hover {
  color: #bdbdbd;
  transform: scale(1.05);
}
.logo-container {
  display: flex;
  justify-content: center;
  flex-grow: 0.5;
}
.logo {
  max-width: 120px;
  transition: transform .3s;
  cursor: pointer;
}
.logo:hover { transform: scale(1.4); }

/* ============================
Hamburger
============================ */
.hamburger-btn {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 10px;
  z-index: 1001;
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: #222;
  color: #fff;
  transform: translateX(100%);
  transition: transform .3s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
  padding-top: 60px;
}
.mobile-nav a {
  display: block;
  padding: 15px 20px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #444;
  font-size: 1.1rem;
}
.mobile-nav a:hover { background: #333; }
.mobile-menu.open { transform: translateX(0); }
.overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease;
  z-index: 999;
}
.overlay.show { opacity: 1; visibility: visible; }
body.no-scroll { overflow: hidden; }

/* ============================
Reveal animation
============================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================
HERO — Bodybuilding Section
============================ */
.field-section {
  width: 100%;
  background:
    radial-gradient(circle at top, rgba(255, 0, 0, 0.14), transparent 28%),
    linear-gradient(180deg, #060606 0%, #0d0d0d 45%, #050505 100%);
  position: relative;
  padding: 60px 40px 50px;
  box-sizing: border-box;
}

.field-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

/* badge */
.section-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255, 0, 0, 0.12);
  border: 1px solid rgba(255, 0, 0, 0.30);
  color: #ff6b6b;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  margin-bottom: 14px;
}

.field-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.field-content h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin: 8px 0 18px;
  color: #fff;
  text-align: center;
}
.highlight { color: #cf1f00; }

.field-content p {
  font-size: 1.05rem;
  line-height: 2;
  color: rgba(255,255,255,0.75);
  text-align: center;
  max-width: 480px;
}

/* آمار */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
  padding: 18px 28px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  backdrop-filter: blur(8px);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-number {
  font-size: 1.6rem;
  font-weight: 900;
  color: #cf1f00;
  font-family: 'Lalezar', cursive;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.12);
}

/* تصویر */
.field-image {
  flex: 1;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.field-image img {
  width: 100%;
  display: block;
  border-radius: 20px;
  transition: transform 0.4s ease;
}
.field-image:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,0,0,0.12);
}
.field-image:hover img {
  transform: scale(1.03);
}

/* دکمه مربیان */
.coach-button-container {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}
.coach-button {
  padding: 14px 52px;
  border-radius: 50px;
  background: #fff;
  color: #000;
  font-size: 1.05rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(255,255,255,0.15);
  margin-bottom: 20px;
}
.coach-button:hover {
  transform: translateY(-4px) scale(1.06);
  background: #161616;
  color: #fff;
  box-shadow: 0 12px 35px rgba(0,0,0,0.5);
}

/* ============================
FEATURES SECTION
============================ */
.features-section {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255,0,0,0.07), transparent 60%),
    linear-gradient(180deg, #050505 0%, #0c0c0c 100%);
  padding: 80px 40px;
  box-sizing: border-box;
}

.features-title {
  text-align: center;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(207,31,0,0.35);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 20px rgba(207,31,0,0.08);
}
.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
}
.feature-card p {
  font-size: 0.87rem;
  line-height: 1.9;
  color: rgba(255,255,255,0.62);
  margin: 0;
}

/* ============================
TUITION SECTION
============================ */
.tuition-section {
  background:
    radial-gradient(circle at top, rgba(255,0,0,0.10), transparent 30%),
    linear-gradient(180deg, #0d0d0d 0%, #060606 100%);
  padding: 80px 40px;
  box-sizing: border-box;
  position: relative;
}

.tuition-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 95%);
  pointer-events: none;
}

.tuition-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 32px 36px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05);
}

.tuition-header {
  text-align: center;
  margin-bottom: 30px;
}

.tuition-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(255,0,0,0.10);
  border: 1px solid rgba(255,0,0,0.28);
  color: #ff6b6b;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  box-shadow: 0 0 12px rgba(255,0,0,0.10);
}

.tuition-header h2 {
  margin: 12px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 20px rgba(255,0,0,0.12);
}

.choice-block {
  margin-top: 22px;
}

.choice-block h3 {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #fff;
  position: relative;
  padding-right: 12px;
}

.choice-block h3::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 3px;
  height: 16px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #ff3b3b, #b80000);
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(255,0,0,0.5);
}

.choice-grid {
  display: grid;
  gap: 10px;
}

.gender-group  { grid-template-columns: repeat(2, 1fr); }
.duration-group { grid-template-columns: repeat(4, 1fr); }

.choice-card {
  padding: 13px 10px;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  color: #f0f0f0;
  cursor: pointer;
  font-size: 0.92rem;
  font-family: 'IphoneMedium', sans-serif;
  transition: all 0.22s ease;
}

.choice-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,0,0,0.28);
  background: rgba(255,0,0,0.07);
}

.choice-card.active {
  background: linear-gradient(160deg, rgba(255,59,59,0.25), rgba(184,0,0,0.18));
  border-color: rgba(255,0,0,0.45);
  box-shadow: 0 0 14px rgba(255,0,0,0.14);
  color: #fff;
}

.price-panel {
  margin-top: 26px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}

.price-label {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.price-value {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
  font-family: 'Lalezar', cursive;
}

.price-note {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.tuition-link-btn {
  display: inline-block;
  padding: 11px 32px;
  border-radius: 50px;
  background: #cf1f00;
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(207,31,0,0.3);
}

.tuition-link-btn:hover {
  background: #a81900;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(207,31,0,0.45);
}

/* ============================
Footer
============================ */
.footer {
  background: #0a0a0a;
  color: #eee;
  padding: 50px;
  font-family: 'IphoneMedium', sans-serif;
  border-top: 4px solid #0c0c0c;
  box-sizing: border-box;
}
.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.footer-section h3 {
  font-family: 'Lalezar', cursive;
  color: #fff;
  margin-bottom: 15px;
}
.footer-section p { margin-bottom: 10px; }
.location-link { color: #ddd; text-decoration: none; transition: all 0.3s ease; }
.location-link:hover { color: red; }
.contact-link { color: #ddd; text-decoration: none; transition: all 0.3s ease; }
.contact-link:hover { color: red; }
.social-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
  margin-top: 20px;
  background: #181818;
  padding: 3px;
  border-radius: 12px;
  width: 100%;
  border: 1px solid #333;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  align-items: center;
}
.social-link { display: flex; align-items: center; justify-content: center; }
.social-link img {
  width: 32px; height: 32px;
  transition: transform 0.3s ease, filter 0.3s;
  filter: grayscale(100%);
}
.social-link:hover img {
  transform: translateY(-5px) scale(1.1);
  filter: grayscale(0%);
}
.designer-link { color: #ff5252; text-decoration: none; font-weight: bold; }
.footer-motivational-text { font-style: italic; color: rgba(255,255,255,0.6); }

/* ============================
Responsive
============================ */
@media (max-width: 900px) {
  .hamburger-btn { display: block; }
  .header-links { display: none; }
  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .footer-section { width: 100%; text-align: center; margin-bottom: 20px; }
  .social-box { width: 100%; justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .duration-group { grid-template-columns: repeat(2, 1fr); }
  .tuition-inner { padding: 24px 18px; }
}

@media (max-width: 768px) {
  .field-section { padding: 40px 20px 30px; }
  .field-container { flex-direction: column; gap: 30px; }
  .field-content h2 { font-size: 2.1rem; }
  .hero-stats { gap: 16px; padding: 14px 20px; }
  .stat-number { font-size: 1.3rem; }
  .features-section,
  .plans-section { padding: 60px 20px; }
}

@media (max-width: 540px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }
}