/* Classes Section */
.classes-section {
  padding: 0;
  background-color: #ffffff;
  position: relative;
}

.classes-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
}

.classes-container-pt {
  /* max-width: 1100px; */
  margin: 0 auto;
  padding: 0;
}

.classes-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
  text-align: center;
  width: 100%;
  padding-top: 5rem;
}

.classes-logo {
  max-width: 180px;
  height: auto;
  display: block;
  margin-bottom: -1rem;
}

.classes-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a1a1a;
  margin: 0;
  text-align: center;
  width: 100%;
}

/* Class Content Layout with Background */
.class-content-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  background-color: #000;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

.class-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  z-index: 1;
}

.classes-content {
  display: flex;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Sidebar with class list */
.class-sidebar {
  width: 30%;
  background-color: #fff;
  padding: 2rem;
  flex-shrink: 0;
  align-self: center;
  margin: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.class-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.class-item {
  padding: 0.5rem 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #555;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: none;
  position: relative;
}

.class-item.active {
  background-color: transparent;
  color: #000;
  font-weight: 700;
  padding-left: 10px;
  border-left: 3px solid #666666;
}

.class-item:hover:not(.active) {
  color: #000;
}

/* Main content area */
.class-details {
  flex: 1;
  color: #fff;
  padding: 3rem 2rem;
  align-self: flex-end;
  margin-top: 6rem;
}

.class-type {
  margin-bottom: 2rem;
}

.class-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1;
}

.class-name span {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  margin-top: 0.5rem;
}

.class-name .registered {
  font-size: 1.5rem;
  vertical-align: super;
}

.class-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

.book-now-btn {
  display: inline-block;
  background-color: #666666;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  margin-bottom: 3rem;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.book-now-btn:hover {
    background-color: #666666;
}

.booking-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

/* Info boxes */
.class-info-boxes {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
}

.info-box {
  flex: 1;
}

.info-box-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.info-label {
  color: #fff;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.info-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #fff;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.info-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

  .info-description {
    font-size: 0.9rem;
    line-height: 1.0;
    color: rgba(255, 255, 255, 0.9);
  }

.info-description-item {
  position: relative;
  padding-left: 15px;
  margin-bottom: 0.5rem;
}

.info-description-item:before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
}

.info-list {
  font-size: 0.6rem;
  line-height: 1.0;
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .class-content-wrapper {
    flex-direction: column;
  }
  
  .class-sidebar {
    width: 100%;
    padding: 1.5rem;
  }
  
  .class-details {
    padding: 2rem 1.5rem;
  }
  
  .class-name {
    font-size: 4rem;
  }
  
  .class-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .class-item {
    padding: 0.75rem 1rem;
    font-size: 1rem;
  }
  
  .class-item.active {
    border-left: none;
    border-bottom: 2px solid #666666;
    padding-left: 1rem;
    padding-bottom: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .classes-section {
    padding: 0;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
  }
  
  .classes-container {
    height: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .classes-header {
    padding-top: 2rem;
    margin-bottom: 1rem;
  }
  
  .class-content-wrapper {
    flex: 1;
    height: calc(100% - 120px);
    max-height: calc(100vh - 120px);
    overflow: hidden;
  }
  
  .classes-content {
    flex-direction: column;
    height: 100%;
  }
  
  .class-sidebar {
    width: 100%;
    margin: 0;
    padding: 0;
    max-height: 60px;
    overflow-x: auto;
    box-shadow: none;
    border-radius: 0;
    background-color: transparent;
    position: relative;
    z-index: 3;
  }
  
  .class-list {
    display: flex;
    white-space: nowrap;
    padding: 0;
    margin: 0;
  }
  
  .class-item {
    padding: 15px 25px;
    margin-right: 0;
    font-size: 0.9rem;
    background-color: transparent;
    color: white;
    font-weight: 600;
    position: relative;
    border-radius: 0;
    text-align: center;
  }
  
  .class-item.active {
    border-left: none;
    background-color: transparent;
    color: white;
    padding-left: 25px;
    position: relative;
    font-weight: 800;
  }
  
  .class-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: white;
  }
  
  #class-content-container {
    flex: 1;
    overflow-y: auto;
    height: calc(100% - 60px);
    padding-bottom: 1rem;
  }
  
  .class-details {
    padding: 1rem;
  }
  
  .class-name {
    font-size: 2.5rem;
  }
  
  .class-description {
    font-size: 0.9rem;
  }
  
  .class-info-boxes {
    flex-direction: column;
    gap: 1rem;
  }
  
  .info-box {
    padding: 0.75rem;
  }
  
  .book-now-btn {
    width: 100%;
    padding: 0.75rem;
    margin: 1rem 0;
  }
}

/* Class Tab Content Styles */
#class-content-container {
  flex: 1;
}

.class-content {
  display: none; /* Hide all class content by default */
}

.class-content.active {
  display: block; /* Show active class content */
} 