/* =====================================================
   FITNESS 7 - MODERN GYM WEBSITE STYLES
   Colors: Orange (#FF6B35) & Charcoal (#2C3E50)
===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f4f4f4;
}

/* =====================================================
   NAVIGATION
===================================================== */

nav {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

nav .logo {
  font-size: 2em;
  font-weight: bold;
  color: #ff6b35;
  padding: 15px 0;
  text-decoration: none;
}

nav .logo span {
  color: white;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  padding: 25px 15px;
  display: block;
  transition: all 0.3s;
  font-weight: 500;
  border-bottom: 3px solid transparent;
}

nav ul li a:hover,
nav ul li a.active {
  background: rgba(255, 107, 53, 0.1);
  border-bottom: 3px solid #ff6b35;
}

/* =====================================================
   HERO SECTION
===================================================== */

.hero {
  background:
    linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 73, 94, 0.9)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%232C3E50" width="1200" height="600"/><path fill="%23FF6B35" opacity="0.1" d="M0 300L50 280C100 260 200 220 300 200C400 180 500 180 600 200C700 220 800 260 900 280C1000 300 1100 300 1150 300L1200 300V600H0Z"/></svg>');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 150px 20px 120px;
}

.hero h1 {
  font-size: 3.5em;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
}

.hero .tagline {
  font-size: 1.3em;
  margin-bottom: 15px;
  color: #ff6b35;
  font-weight: 600;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

.hero .stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.hero .stat-item {
  text-align: center;
}

.hero .stat-number {
  font-size: 3em;
  font-weight: bold;
  color: #ff6b35;
  display: block;
}

.hero .stat-label {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =====================================================
   BUTTONS
===================================================== */

.btn {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
  background: white;
  color: #2c3e50;
  border: 2px solid #2c3e50;
}

.btn-secondary:hover {
  background: #2c3e50;
  color: white;
}

/* =====================================================
   CONTAINER & SECTIONS
===================================================== */

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

.section {
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.8em;
  color: #2c3e50;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #ff6b35;
}

.section-title p {
  font-size: 1.2em;
  color: #666;
  max-width: 700px;
  margin: 20px auto 0;
}

.section-light {
  background: white;
}

.section-dark {
  background: #f8f9fa;
}

/* =====================================================
   CARDS & BOXES
===================================================== */

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

.card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  text-align: center;
  border: 2px solid transparent;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-color: #ff6b35;
}

.card-icon {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ff6b35;
}

.card h3 {
  font-size: 1.8em;
  color: #2c3e50;
  margin-bottom: 15px;
}

.card p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* =====================================================
   MEMBERSHIP PLANS
===================================================== */

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

.plan-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s;
  position: relative;
  border: 3px solid #e0e0e0;
}

.plan-card.featured {
  border-color: #ff6b35;
  transform: scale(1.05);
  background: linear-gradient(135deg, #fff 0%, #fff5f0 100%);
}

.plan-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 50px rgba(255, 107, 53, 0.2);
}

.plan-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff6b35;
  color: white;
  padding: 8px 25px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.plan-card h3 {
  font-size: 2em;
  color: #2c3e50;
  margin-bottom: 10px;
}

.plan-price {
  font-size: 3.5em;
  color: #ff6b35;
  font-weight: bold;
  margin: 20px 0;
}

.plan-price span {
  font-size: 0.4em;
  color: #666;
}

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

.plan-features li {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  color: #555;
  position: relative;
  padding-left: 30px;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff6b35;
  font-weight: bold;
  font-size: 1.2em;
}

/* =====================================================
   NEWS/BLOG CARDS
===================================================== */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.news-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, #ff6b35 0%, #2c3e50 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4em;
  color: white;
}

.news-content {
  padding: 30px;
}

.news-date {
  color: #ff6b35;
  font-weight: 600;
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-card h3 {
  font-size: 1.6em;
  color: #2c3e50;
  margin: 15px 0;
}

.news-card p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* =====================================================
   CONTACT FORM
===================================================== */

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-top: 40px;
}

.contact-info {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 40px;
  border-radius: 15px;
}

.contact-info h3 {
  font-size: 1.8em;
  margin-bottom: 30px;
  color: #ff6b35;
}

.info-item {
  margin-bottom: 25px;
  padding-left: 40px;
  position: relative;
}

.info-item::before {
  content: "📍";
  position: absolute;
  left: 0;
  font-size: 1.5em;
}

.info-item.phone::before {
  content: "📞";
}

.info-item.email::before {
  content: "✉️";
}

.info-item.hours::before {
  content: "🕐";
}

.info-item h4 {
  color: #ff6b35;
  margin-bottom: 8px;
  font-size: 1.1em;
}

.info-item p {
  opacity: 0.9;
  line-height: 1.6;
}

.contact-form {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #2c3e50;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1em;
  font-family: inherit;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.success-message {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.error-message {
  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  color: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 600;
}

/* =====================================================
   SUBMISSIONS DISPLAY
===================================================== */

.submissions-section {
  margin-top: 60px;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 15px;
}

.submissions-section h3 {
  color: #2c3e50;
  margin-bottom: 30px;
  font-size: 1.8em;
}

.submission-item {
  background: white;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 10px;
  border-left: 4px solid #ff6b35;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.submission-item strong {
  color: #2c3e50;
  display: inline-block;
  min-width: 120px;
}

/* =====================================================
   FOOTER
===================================================== */

footer {
  background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
  color: white;
  text-align: center;
  padding: 40px 20px;
  margin-top: 80px;
}

footer p {
  margin: 10px 0;
  opacity: 0.9;
}

footer a {
  color: #ff6b35;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* =====================================================
   RESPONSIVE DESIGN
===================================================== */

@media (max-width: 768px) {
  nav .container {
    flex-direction: column;
    padding: 10px 20px;
  }

  nav ul {
    margin-top: 15px;
  }

  nav ul li {
    margin-left: 15px;
  }

  .hero h1 {
    font-size: 2.5em;
  }

  .hero .stats {
    gap: 30px;
  }

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

  .card-grid,
  .plans-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 2em;
  }
}
