/* ============================================
   Carousel Styles - V3 Single Slide View
   ============================================ */

.about-carousel-section {
  padding: 3rem 0;
  background-color: #494d5f;
}

.about-person-name {
  font-family: "Alan Sans", sans-serif;
  text-align: center;
  font-size: 4rem;
  color: rgb(255, 255, 255);
  font-variation-settings: "wght" 200, "ital" 0;
  text-shadow: none;
  transition: all 0.5s;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.about-person-name:hover {
  font-variation-settings: "wght" 700, "ital" 1;
  color: rgb(255, 208, 0);
  text-shadow:
    3px 3px 0px #f65d10,
    6px 6px 0px #6a03b9,
    9px 9px 0px #48019e,
    12px 12px 2px #0a0004;
}

/* Carousel Container */
.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

/* Carousel Track - Horizontal Sliding */
.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* Carousel Slides - Full Width */
.carousel-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 0 1rem;
}

/* Slide Content - Desktop: Side by Side */
.slide-content {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.slide-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

.slide-video {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

.slide-text {
  padding-right: 1rem;
}

.slide-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.slide-text p {
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.media-name {
  color: var(--primary-color);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.slide-text strong {
  color: var(--primary-color);
}

.slide-text span {
  color: var(--secondary-color);
  font-weight: 600;
}

.slide-text .btn {
  margin-top: 1rem;
}

/* Carousel Navigation */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 0.5rem;
  pointer-events: none;
  z-index: 10;
}

.carousel-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.carousel-btn:active {
  transform: scale(0.95);
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.7);
}

.indicator.active {
  background: var(--primary-color);
  width: 28px;
  border-radius: 5px;
}

/* ============================================
   Responsive - Tablet (1024px)
   ============================================ */
@media (max-width: 1024px) {
  .about-carousel-section {
    padding: 2rem 0;
  }

  .about-person-name {
    font-size: 3rem;
  }

  .slide-content {
    grid-template-columns: 250px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .slide-image,
  .slide-video {
    height: 260px;
  }

  .slide-text h3 {
    font-size: 1.3rem;
  }

  .slide-text p {
    font-size: 0.95rem;
  }
}

/* ============================================
   Responsive - Mobile (768px)
   ============================================ */
@media (max-width: 768px) {
  .about-carousel-section {
    padding: 1.5rem 0;
  }

  .about-person-name {
    font-size: 2.2rem;
    font-variation-settings: "wght" 600, "ital" 1;
    margin-bottom: 1rem;
  }

  .carousel-container {
    padding: 0;
  }

  .carousel-slide {
    padding: 0 0.5rem;
  }

  /* Mobile: Image on top, text below */
  .slide-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.25rem;
    gap: 1rem;
  }

  .slide-image,
  .slide-video {
    width: 100%;
    max-width: 280px;
    height: 220px;
    margin: 0 auto;
  }

  .slide-text {
    padding-right: 0;
  }

  .slide-text h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }

  .slide-text p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.6;
  }

  .slide-text .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
    margin-top: 0.75rem;
  }

  .carousel-btn {
    width: 36px;
    height: 36px;
  }

  .carousel-btn i {
    font-size: 0.9rem;
  }

  .carousel-indicators {
    margin-top: 1rem;
  }

  .indicator {
    width: 8px;
    height: 8px;
  }

  .indicator.active {
    width: 22px;
  }
}

/* ============================================
   Responsive - Small Mobile (480px)
   ============================================ */
@media (max-width: 480px) {
  .about-person-name {
    font-size: 1.8rem;
  }

  .slide-content {
    padding: 1rem;
  }

  .slide-image,
  .slide-video {
    max-width: 240px;
    height: 180px;
  }

  .slide-text {
    padding: 1.3rem;
  }

  .slide-text h3 {
    font-size: 1.05rem;
  }

  .slide-text p {
    font-size: 0.85rem;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center {
  text-align: center;
}

.hidden {
  display: none;
}