/* Main Content Styles */

/* Page Layout */
.content-area {
  padding-top: 90px;
  min-height: 100vh;
}

/* Hero Sections */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(rgba(43,43,43,0.6), rgba(43,43,43,0.7)), url('../images/hero1-modern-gym-interior_orig.jpg') center/cover;
  background-attachment: fixed;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #fff, var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.1);
  filter: blur(2px);
  animation: float 6s ease-in-out infinite;
}

.floating-circle:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-circle:nth-child(2) {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-circle:nth-child(3) {
  width: 80px;
  height: 80px;
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

/* Feature Sections */
.features-section {
  background: var(--bg-primary);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: -4px -4px 10px rgba(255,255,255,0.3), 4px 4px 10px rgba(0,0,0,0.2);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  stroke: white;
  fill: none;
  stroke-width: 2;
}

/* About Section */
.about-section {
  background: var(--bg-secondary);
}

.about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text-content h2 {
  color: var(--primary);
  margin-bottom: 2rem;
}

.about-image-gallery {
  position: relative;
}

.about-main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: -8px -8px 20px rgba(255,255,255,0.8), 8px 8px 20px rgba(0,0,0,0.1);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 12px;
  box-shadow: -3px -3px 8px rgba(255,255,255,0.8), 3px 3px 8px rgba(0,0,0,0.1);
}

.stat-number {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* Services Section */
.services-section {
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: -6px -6px 15px rgba(255,255,255,0.8), 6px 6px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.service-card:hover {
  transform: perspective(1000px) rotateY(5deg) translateY(-8px);
  box-shadow: -10px -10px 25px rgba(255,255,255,0.8), 10px 10px 25px rgba(0,0,0,0.15);
}

.service-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-card-content {
  padding: 2rem;
  background: var(--bg-card);
}

.service-card-title {
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Team Section */
.team-section {
  background: var(--bg-secondary);
}

.team-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-member-card {
  text-align: center;
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.team-member-card:nth-child(1) { animation-delay: 0.1s; }
.team-member-card:nth-child(2) { animation-delay: 0.2s; }
.team-member-card:nth-child(3) { animation-delay: 0.3s; }
.team-member-card:nth-child(4) { animation-delay: 0.4s; }

.team-member-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  box-shadow: -6px -6px 15px rgba(255,255,255,0.8), 6px 6px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.team-member-card:hover .team-member-photo {
  transform: scale(1.05);
  box-shadow: -8px -8px 20px rgba(255,255,255,0.8), 8px 8px 20px rgba(0,0,0,0.15);
}

.team-member-name {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.team-member-role {
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1rem;
}

/* Schedule Section */
.schedule-section {
  background: var(--bg-primary);
}

.schedule-table-wrapper {
  overflow-x: auto;
  margin-top: 2rem;
  border-radius: 16px;
  box-shadow: -6px -6px 15px rgba(255,255,255,0.8), 6px 6px 15px rgba(0,0,0,0.1);
}

.schedule-table {
  width: 100%;
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
}

.schedule-table th,
.schedule-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.schedule-table th {
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  color: white;
  font-weight: 500;
}

.schedule-table tr:hover {
  background: rgba(45, 90, 61, 0.05);
}

.class-time {
  font-weight: 600;
  color: var(--primary);
}

.class-name {
  color: var(--text-primary);
  font-weight: 500;
}

.class-duration {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.class-price {
  color: var(--accent);
  font-weight: 600;
}

/* Blog Section */
.blog-section {
  background: var(--bg-secondary);
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.blog-post-card {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
}

.blog-post-card:nth-child(1) { animation-delay: 0.1s; }
.blog-post-card:nth-child(2) { animation-delay: 0.2s; }
.blog-post-card:nth-child(3) { animation-delay: 0.3s; }

.blog-post-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.blog-post-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.blog-post-title {
  color: var(--primary);
  margin-bottom: 1rem;
}

.blog-post-excerpt {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.read-more-link {
  color: var(--accent);
  font-weight: 500;
}

.read-more-link:hover {
  color: var(--accent-hover);
}

/* Contact Section */
.contact-section {
  background: var(--bg-primary);
}

.contact-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form-wrapper {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: -6px -6px 15px rgba(255,255,255,0.8), 6px 6px 15px rgba(0,0,0,0.1);
}

.contact-info-wrapper h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-info-icon {
  width: 20px;
  height: 20px;
  margin-right: 1rem;
  stroke: var(--primary);
}

.map-wrapper {
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: -4px -4px 10px rgba(255,255,255,0.8), 4px 4px 10px rgba(0,0,0,0.1);
}

.map-wrapper iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* FAQ Section */
.faq-section {
  background: var(--bg-secondary);
}

.faq-item {
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: -4px -4px 10px rgba(255,255,255,0.8), 4px 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  color: var(--primary);
  background: linear-gradient(145deg, #fff, #f8f5f0);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: linear-gradient(145deg, #f8f5f0, #fff);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 1.5rem;
  max-height: 200px;
}

/* Breathing Companion */
.breathing-companion {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  cursor: pointer;
}

.breathing-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  text-align: center;
  box-shadow: -4px -4px 10px rgba(255,255,255,0.3), 4px 4px 10px rgba(0,0,0,0.3);
  animation: breathe 6s ease-in-out infinite;
}

.breathing-circle:hover {
  transform: scale(1.1);
}

/* Success Message */
.success-message {
  background: linear-gradient(145deg, #22c55e, #16a34a);
  color: white;
  padding: 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  text-align: center;
  display: none;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .about-content-wrapper,
  .contact-content-wrapper {
    grid-template-columns: 1fr;
  }
  
  .services-grid,
  .team-members-grid,
  .blog-posts-grid {
    grid-template-columns: 1fr;
  }
  
  .schedule-table-wrapper {
    font-size: 0.9rem;
  }
  
  .breathing-companion {
    bottom: 20px;
    right: 20px;
  }
  
  .breathing-circle {
    width: 60px;
    height: 60px;
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .feature-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}