/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #000000;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ff1b1b;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 35px;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover {
  color: #ff1b1b;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ff1b1b;
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s;
}

/* Hero Section */
/* Fixed image path from absolute to relative for direct HTML opening */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("public/images/gym-hero-bg.jpg") center / cover;
  position: relative;
}

.hero-content {
  max-width: 900px;
  padding: 0 20px;
  margin-top: 80px;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 22px;
  color: #cccccc;
  margin-bottom: 40px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* Buttons */
.btn {
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background-color: #ff1b1b;
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #cc0000;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-secondary:hover {
  background-color: #ffffff;
  color: #000000;
}

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: #ff1b1b;
  color: #ff1b1b;
}

/* Sections */
.section {
  padding: 100px 0;
}

.section-dark {
  background-color: #0a0a0a;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 15px;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 18px;
  text-align: center;
  color: #999999;
  margin-bottom: 60px;
  font-weight: 300;
}

/* Motivation Section */
.motivation-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

.motivation-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}

.quote-icon {
  font-size: 80px;
  color: #ff1b1b;
  opacity: 0.3;
  position: absolute;
  top: 20px;
  left: 40px;
}

.motivation-quote {
  font-size: 32px;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 20px;
  font-style: italic;
}

.motivation-author {
  font-size: 18px;
  color: #999999;
  font-weight: 500;
}

/* Programs Grid */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 30px;
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #ff1b1b;
  border-color: #ff1b1b;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.program-card {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s;
}

.program-card:hover {
  border-color: #ff1b1b;
  transform: translateY(-5px);
}

.program-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.program-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 600;
}

.program-card p {
  color: #999999;
  margin-bottom: 20px;
  line-height: 1.7;
}

.program-features {
  list-style: none;
  margin-bottom: 25px;
}

.program-features li {
  padding: 8px 0;
  color: #cccccc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.program-features li:before {
  content: "✓ ";
  color: #ff1b1b;
  font-weight: bold;
  margin-right: 8px;
}

/* Exercise Tabs */
.exercise-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.exercise-tab {
  padding: 12px 30px;
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
}

.exercise-tab:hover,
.exercise-tab.active {
  background-color: #ff1b1b;
  border-color: #ff1b1b;
}

.exercises-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.exercise-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s;
}

.exercise-card:hover {
  border-color: #ff1b1b;
  transform: translateY(-5px);
}

.exercise-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.exercise-info {
  padding: 25px;
}

.exercise-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.exercise-category {
  display: inline-block;
  padding: 4px 12px;
  background-color: rgba(255, 27, 27, 0.2);
  color: #ff1b1b;
  font-size: 12px;
  border-radius: 4px;
  margin-bottom: 15px;
  font-weight: 600;
}

.exercise-info p {
  color: #999999;
  line-height: 1.7;
}

/* Schedule Section */
.schedule-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.schedule-tab {
  padding: 12px 30px;
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
}

.schedule-tab:hover,
.schedule-tab.active {
  background-color: #ff1b1b;
  border-color: #ff1b1b;
}

.schedule-content {
  max-width: 900px;
  margin: 0 auto;
}

.schedule-day {
  margin-bottom: 30px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.schedule-day h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #ff1b1b;
}

.schedule-day ul {
  list-style: none;
}

.schedule-day li {
  padding: 12px 0;
  color: #cccccc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 16px;
}

/* Diet Section */
.diet-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.diet-tab {
  padding: 12px 30px;
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
}

.diet-tab:hover,
.diet-tab.active {
  background-color: #ff1b1b;
  border-color: #ff1b1b;
}

.diet-content {
  max-width: 1000px;
  margin: 0 auto;
}

.diet-plan {
  display: none;
}

.diet-plan.active {
  display: block;
}

.diet-overview {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  margin-bottom: 30px;
}

.diet-overview h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.diet-overview p {
  color: #999999;
  line-height: 1.8;
  margin-bottom: 25px;
}

.diet-macros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.macro-item {
  text-align: center;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.macro-value {
  font-size: 32px;
  font-weight: 700;
  color: #ff1b1b;
  margin-bottom: 5px;
}

.macro-label {
  color: #999999;
  font-size: 14px;
}

.diet-meals {
  display: grid;
  gap: 20px;
}

.meal-card {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.meal-card h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #ff1b1b;
}

.meal-card ul {
  list-style: none;
}

.meal-card li {
  padding: 8px 0;
  color: #cccccc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Owner Section */
.owner-card {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 50px;
  padding: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.owner-image img {
  width: 100%;
  border-radius: 8px;
  border: 2px solid #ff1b1b;
}

.owner-info h3 {
  font-size: 36px;
  margin-bottom: 10px;
}

.owner-title {
  font-size: 18px;
  color: #ff1b1b;
  margin-bottom: 25px;
  font-weight: 600;
}

.owner-bio {
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 30px;
}

.owner-credentials h4 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #ffffff;
}

.owner-credentials ul {
  list-style: none;
  margin-bottom: 30px;
}

.owner-credentials li {
  padding: 10px 0;
  color: #cccccc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.owner-credentials li:before {
  content: "✓ ";
  color: #ff1b1b;
  font-weight: bold;
  margin-right: 10px;
}

.owner-quote {
  padding: 25px;
  border-left: 3px solid #ff1b1b;
  background: rgba(255, 27, 27, 0.05);
  border-radius: 4px;
}

.owner-quote p {
  font-style: italic;
  color: #cccccc;
  line-height: 1.7;
}

/* Trainers Grid */
.trainers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.trainer-card {
  text-align: center;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.3s;
}

.trainer-card:hover {
  border-color: #ff1b1b;
  transform: translateY(-5px);
}

.trainer-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #ff1b1b;
}

.trainer-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.trainer-specialty {
  color: #ff1b1b;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}

.trainer-bio {
  color: #999999;
  line-height: 1.6;
}

/* Membership Cards */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.membership-card {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  transition: all 0.3s;
  position: relative;
}

.membership-card:hover {
  border-color: #ff1b1b;
  transform: translateY(-5px);
}

.membership-card.featured {
  border-color: #ff1b1b;
  border-width: 2px;
}

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ff1b1b;
  color: #ffffff;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.membership-card h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.price {
  margin-bottom: 30px;
}

.currency {
  font-size: 18px;
  color: #999999;
}

.amount {
  font-size: 48px;
  font-weight: 700;
  color: #ff1b1b;
}

.period {
  font-size: 16px;
  color: #999999;
}

.membership-features {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.membership-features li {
  padding: 12px 0;
  color: #cccccc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Schedule Table */
.schedule-table {
  margin-top: 60px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.schedule-table h3 {
  font-size: 28px;
  margin-bottom: 25px;
  text-align: center;
}

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

.schedule-table th,
.schedule-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.schedule-table th {
  background-color: rgba(255, 27, 27, 0.1);
  color: #ff1b1b;
  font-weight: 600;
}

.schedule-table td {
  color: #cccccc;
}

/* BMI Calculator */
.bmi-calculator {
  max-width: 700px;
  margin: 0 auto;
  padding: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #cccccc;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: #ffffff;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff1b1b;
  background-color: rgba(255, 255, 255, 0.08);
}

.bmi-result {
  margin-top: 40px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 27, 27, 0.05);
}

.bmi-value {
  text-align: center;
  margin-bottom: 30px;
}

.bmi-value h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #999999;
}

.bmi-number {
  font-size: 64px;
  font-weight: 700;
  color: #ff1b1b;
  margin-bottom: 10px;
}

.bmi-category {
  font-size: 24px;
  font-weight: 600;
}

.bmi-info {
  margin-bottom: 25px;
}

.bmi-info h4 {
  font-size: 18px;
  margin-bottom: 15px;
}

.bmi-info ul {
  list-style: none;
}

.bmi-info li {
  padding: 10px 0;
  color: #cccccc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bmi-recommendation {
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: #cccccc;
  line-height: 1.7;
}

/* Testimonials */
.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonials-container {
  position: relative;
  height: 400px;
}

.testimonial-card {
  position: absolute;
  width: 100%;
  padding: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s;
}

.testimonial-card.active {
  opacity: 1;
}

.testimonial-image img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 25px;
  border: 3px solid #ff1b1b;
}

.testimonial-text {
  font-size: 20px;
  line-height: 1.7;
  color: #cccccc;
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-author {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.testimonial-rating {
  color: #ff1b1b;
  font-size: 20px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  transition: all 0.3s;
}

.slider-btn:hover {
  background-color: #ff1b1b;
  border-color: #ff1b1b;
}

.slider-btn.prev {
  left: -70px;
}

.slider-btn.next {
  right: -70px;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 28px;
  margin-bottom: 30px;
}

.contact-item {
  margin-bottom: 25px;
}

.contact-item strong {
  display: block;
  color: #ff1b1b;
  margin-bottom: 8px;
  font-size: 16px;
}

.contact-item p {
  color: #cccccc;
  line-height: 1.7;
}

.contact-form {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

/* Footer */
.footer {
  background-color: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #ff1b1b;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 15px;
}

.footer-section p {
  color: #999999;
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-location {
  color: #cccccc !important;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  padding: 8px 0;
}

.footer-section ul li a {
  color: #999999;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #ff1b1b;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #666666;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .owner-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .owner-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .slider-btn.prev {
    left: -10px;
  }

  .slider-btn.next {
    right: -10px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 30px 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    padding: 15px 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 36px;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .schedule-table {
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .section-title {
    font-size: 28px;
  }

  .programs-grid,
  .exercises-grid,
  .trainers-grid,
  .membership-grid {
    grid-template-columns: 1fr;
  }

  .bmi-calculator,
  .contact-form {
    padding: 30px 20px;
  }
}
