/* About page styles */

.about-hero {
  padding-top: calc(var(--nav-height) + var(--space-xl));
  min-height: 70vh;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 768px) {
  .about-hero__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-hero__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.about-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-section-title);
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.about-hero__lead {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--text-body-large);
  color: var(--text-dark);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-md);
}

.about-hero__body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--text-dark-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-sm);
}

/* Services */

.about-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

@media (min-width: 768px) {
  .about-services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.about-service h3 {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.about-service p {
  color: var(--text-dark-secondary);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
}

.about-services h2.section-title {
  color: var(--text-dark);
}

/* Light theme overrides for about page */
.page--light .about-hero__title {
  color: var(--text-dark);
}

.page--light .about-hero__lead {
  color: var(--text-dark);
}

.page--light .about-hero__body {
  color: var(--text-dark-secondary);
}

.page--light .about-services .section-title,
.page--light .about-services h2 {
  color: var(--text-dark);
}

.page--light .about-service h3 {
  color: var(--text-dark);
}

.page--light .about-service p {
  color: var(--text-dark-secondary);
}

/* BTS Carousel */
.about-bts {
  background: var(--bg-light);
  overflow: hidden;
}

.about-bts__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.bts-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.bts-carousel {
  flex: 1;
  overflow: hidden;
}

.bts-carousel__track {
  display: flex;
  gap: 1rem;
  transition: transform 0.5s var(--ease-out-expo);
}

.bts-carousel__item {
  flex: 0 0 calc(33.33% - 0.67rem);
  height: 280px;
  overflow: hidden;
  border-radius: var(--border-radius);
}

@media (max-width: 767px) {
  .bts-carousel__item {
    flex: 0 0 calc(80% - 0.5rem);
    height: 220px;
  }
}

.bts-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out-expo);
}

.bts-carousel__item:hover img {
  transform: scale(1.03);
}

.bts-arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.2);
  background: white;
  color: var(--text-dark);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-fast), border-color var(--duration-fast);
  z-index: 2;
}

.bts-arrow:hover {
  background: var(--text-dark);
  color: white;
  border-color: var(--text-dark);
}
