/* CSS for Anytime Fitness Fès landing page replica */

/* Reset and global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #ffffff;
  background-color: #0c001a;
  line-height: 1.6;
}

/* Generic section label */
.section-title {
  display: inline-block;
  background: rgba(191, 90, 242, 0.2);
  color: #bf5af2;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

a {
  color: #bf5af2;
  text-decoration: none;
}

/* Hero section */
.hero {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 100px 5%;
  background: linear-gradient(135deg, #0a0037, #12002e);
  overflow: hidden;
}

.hero-content {
  flex: 1 1 50%;
  max-width: 600px;
}

.hero-content .tag {
  display: inline-block;
  background: rgba(191, 90, 242, 0.2);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 14px;
  margin-bottom: 20px;
  color: #bf5af2;
}

.hero-content h1 {
  font-size: 72px;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff;
}

.hero-content p {
  margin-bottom: 30px;
  color: #d1cfe3;
  max-width: 500px;
}

.buttons {
  margin-bottom: 40px;
}

.buttons a {
  display: inline-block;
  margin-right: 15px;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.buttons .btn-primary {
  background-image: linear-gradient(90deg, #bf5af2 0%, #6f41d6 100%);
  color: #ffffff;
}

.buttons .btn-primary:hover {
  opacity: 0.9;
}

.buttons .btn-secondary {
  border: 2px solid #bf5af2;
  color: #bf5af2;
  padding: 12px 28px;
}

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

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.feature-list .feature {
  display: flex;
  align-items: center;
  background: rgba(220, 38, 38, 0.15);
  border: 2px solid #dc2626;
  border-radius: 8px;
  padding: 10px 18px;
}

.feature-list .feature span.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #dc2626;
  color: #fff;
  border-radius: 4px;
  margin-right: 10px;
  font-size: 14px;
  font-weight: 700;
}

.feature-list .feature span.text {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.hero-image {
  flex: 1 1 50%;
  max-width: 700px;
  position: relative;
  margin-top: 40px;
}

.hero-image img {
  width: 100%;
  height: auto;
  min-height: 450px;
  object-fit: cover;
  border-radius: 20px;
}

/* Decorative bubbles in hero background */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.hero::before {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle at center, rgba(191, 90, 242, 0.5) 0%, rgba(191, 90, 242, 0) 70%);
  top: -200px;
  right: -250px;
}

.hero::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at center, rgba(111, 65, 214, 0.4) 0%, rgba(111, 65, 214, 0) 70%);
  bottom: -150px;
  left: -200px;
}

.hero-content,
.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(12, 0, 26, 0.85);
  padding: 20px;
  border-radius: 16px;
}

.hero-image-overlay .badge {
  display: inline-block;
  background: #bf5af2;
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 12px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
}

.hero-image-overlay h3 {
  margin-bottom: 8px;
  font-size: 24px;
  color: #ffffff;
}

.hero-image-overlay p {
  font-size: 14px;
  color: #d1cfe3;
}

/* Pourquoi nous choisir */
.why {
  padding: 80px 5%;
  text-align: center;
}

.why .section-title {
  display: inline-block;
  background: rgba(191, 90, 242, 0.2);
  color: #bf5af2;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 12px;
}

.why h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #ffffff;
}

.why .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.why .card {
  background: rgba(12, 0, 26, 0.75);
  border: 1px solid rgba(191, 90, 242, 0.3);
  border-radius: 20px;
  padding: 30px;
  width: 300px;
  text-align: left;
}

.why .card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #bf5af2;
}

.why .card p {
  font-size: 14px;
  color: #d1cfe3;
}

/* Club accessible section */
.club {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 80px 5%;
}

.club .image {
  flex: 1 1 45%;
}

.club .image img {
  width: 100%;
  border-radius: 20px;
}

.club .content {
  flex: 1 1 100%;
  padding-left: 0;
}

.club .content .tag {
  display: inline-block;
  background: rgba(191, 90, 242, 0.2);
  color: #bf5af2;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 12px;
}

.club .content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #ffffff;
}

.club .content p {
  color: #d1cfe3;
  margin-bottom: 30px;
  max-width: 700px;
}

.club .boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.club .boxes .box {
  background: rgba(12, 0, 26, 0.75);
  border: 1px solid rgba(191, 90, 242, 0.3);
  border-radius: 12px;
  padding: 16px 20px;
  flex: 1 1 180px;
  color: #d1cfe3;
  font-size: 14px;
}

/* Gallery section */
.gallery {
  padding: 80px 5%;
  text-align: center;
}

.gallery .section-title {
  display: inline-block;
  background: rgba(191, 90, 242, 0.2);
  color: #bf5af2;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 12px;
}

.gallery h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
}

/* CTA / Contact section */
.cta {
  padding: 80px 5%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: linear-gradient(135deg, #0a0037, #12002e);
}

.cta .cta-content {
  flex: 1 1 40%;
  margin-bottom: 40px;
}

.cta .cta-content .section-title {
  display: inline-block;
  background: rgba(191, 90, 242, 0.2);
  color: #bf5af2;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 12px;
}

.cta .cta-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #ffffff;
}

.cta .cta-content p {
  color: #d1cfe3;
  margin-bottom: 30px;
  max-width: 480px;
}

.cta .cta-form {
  flex: 1 1 50%;
  background: rgba(12, 0, 26, 0.85);
  border: 1px solid rgba(191, 90, 242, 0.3);
  border-radius: 20px;
  padding: 40px;
}

.cta .cta-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta .cta-form input,
.cta .cta-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: none;
  background: rgba(31, 7, 55, 0.8);
  color: #ffffff;
  font-size: 14px;
}

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

.cta .cta-form button {
  padding: 14px 20px;
  border: none;
  border-radius: 30px;
  background-image: linear-gradient(90deg, #bf5af2 0%, #6f41d6 100%);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.cta .cta-form button:hover {
  opacity: 0.9;
}

/* Footer */
footer {
  padding: 40px 5%;
  text-align: center;
  background: rgba(12, 0, 26, 0.85);
  border-top: 1px solid rgba(191, 90, 242, 0.3);
}

footer p {
  color: #d1cfe3;
  font-size: 14px;
}

/* Gradient text for highlighted words */
.gradient-text {
  background: linear-gradient(90deg, #bf5af2 0%, #6f41d6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* About section */
.about {
  padding: 80px 5%;
  background: linear-gradient(135deg, #12002e, #0a0037);
}

.about-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.about-image {
  flex: 1 1 45%;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
}

.about-content {
  flex: 1 1 50%;
}

.about-content h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #ffffff;
}

.about-content p {
  color: #d1cfe3;
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-list {
  list-style: none;
}

.about-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: #d1cfe3;
  font-size: 14px;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bf5af2;
}

/* Activities section */
.activities {
  padding: 80px 5%;
  text-align: center;
}

.activities h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #ffffff;
}

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

.activity {
  background: rgba(12, 0, 26, 0.75);
  border: 1px solid rgba(191, 90, 242, 0.3);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.activity:hover {
  transform: translateY(-5px);
}

.activity-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.activity h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #bf5af2;
}

.activity p {
  font-size: 14px;
  color: #d1cfe3;
}

/* Testimonials section */
.testimonials {
  padding: 80px 5%;
  text-align: center;
  background: linear-gradient(135deg, #0a0037, #12002e);
}

.testimonials h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #ffffff;
}

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

.testimonial {
  background: rgba(12, 0, 26, 0.8);
  border: 1px solid rgba(191, 90, 242, 0.3);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  min-height: 180px;
}

.testimonial p {
  font-style: italic;
  color: #d1cfe3;
  margin-bottom: 20px;
}

.testimonial .author {
  font-weight: 600;
  margin-bottom: 10px;
  color: #bf5af2;
}

.testimonial .stars {
  color: #f5c249;
  font-size: 16px;
}

/* Pricing section */
.pricing {
  padding: 80px 5%;
  text-align: center;
}

.pricing h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #ffffff;
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.price-card {
  background: rgba(12, 0, 26, 0.8);
  border: 1px solid rgba(191, 90, 242, 0.3);
  border-radius: 20px;
  padding: 40px 30px;
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #bf5af2;
}

.price-card .price {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.price-card ul {
  list-style: none;
  margin-bottom: 20px;
}

.price-card ul li {
  margin-bottom: 8px;
  color: #d1cfe3;
  font-size: 14px;
}

.price-card a {
  display: inline-block;
  margin-top: auto;
  padding: 10px 24px;
  border-radius: 30px;
  background-image: linear-gradient(90deg, #bf5af2 0%, #6f41d6 100%);
  color: #ffffff;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.price-card a:hover {
  opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .hero-content h1 {
    font-size: 48px;
  }
  .club .content {
    padding-left: 0;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .hero-image {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .club {
    flex-direction: column;
  }
  .club .content {
    margin-top: 20px;
  }
  .cta {
    flex-direction: column;
  }
  .cta .cta-content,
  .cta .cta-form {
    flex: 1 1 100%;
    margin-bottom: 30px;
  }
}