/* Custom styles for about.html */

/* Hero Section Enhancements */
.hero {
  background: linear-gradient(135deg, #fff 70%, #f5f5f5 100%);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  border-radius: 0 0 24px 24px;
  margin-bottom: 3rem;
  padding: 3rem 0;
}

.hero .container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #1a1a1a;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  color: #444;
  line-height: 1.5;
  max-width: 600px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Main Content Improvements */
main {
  line-height: 1.7;
}

main p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #333;
  line-height: 1.7;
}

/* About Section - Enhanced */
.about-section {
  background: linear-gradient(145deg, #fafafa, #f5f5f5);
  border-radius: 20px;
  padding: 2.5rem;
  margin: 2rem 0;
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e74c3c, #f39c12);
}

.about-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  position: relative;
  padding-bottom: 0.5rem;
}

.about-section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #e74c3c, #f39c12);
  border-radius: 2px;
}

.about-section p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}

.about-section p:last-child {
  margin-bottom: 0;
}

/* Carousel Section - Enhanced */
.carousel-section {
  margin: 3rem 0;
}

.image-carousel {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  background: #fff;
  border: 1px solid #e8e8e8;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 500px;
}

.carousel-container img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Carousel Navigation Buttons */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  padding: 1rem 1.2rem;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.carousel-button:hover {
  background: rgba(0,0,0,0.8);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.carousel-button.prev {
  left: 20px;
}

.carousel-button.next {
  right: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

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

.carousel-indicator.active {
  background: #fff;
  transform: scale(1.2);
}

/* Content Highlights */
.about-section p strong {
  color: #e74c3c;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 2rem 0;
    margin-bottom: 2rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .about-section {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .about-section h2 {
    font-size: 1.6rem;
  }
  
  .about-section p {
    font-size: 1rem;
  }
  
  .carousel-container {
    height: 300px;
  }
  
  .carousel-container img {
    height: 300px;
  }
  
  .carousel-button {
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }
  
  .carousel-button.prev {
    left: 10px;
  }
  
  .carousel-button.next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .about-section {
    padding: 1.2rem;
  }
  
  .about-section h2 {
    font-size: 1.4rem;
  }
  
  .carousel-container {
    height: 250px;
  }
  
  .carousel-container img {
    height: 250px;
  }
  
  .carousel-button {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
}

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

.about-section {
  animation: fadeInUp 0.6s ease-out;
}

.carousel-section {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Hover Effects */
.about-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

/* Focus States for Accessibility */
.carousel-button:focus {
  outline: 2px solid #e74c3c;
  outline-offset: 2px;
}

.carousel-indicator:focus {
  outline: 2px solid #e74c3c;
  outline-offset: 2px;
}
