
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
}


a {
  text-decoration: none;
  color: #FFFFFF;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  padding: 20px 16px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 0 16px;
}

.section-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #FFFFFF;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #00BFA5;
}

.featured-carousel {
  position: relative;
  width: 100%;
  height: 430px; 
  margin-bottom: 40px;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.8s ease, transform 1.2s ease;
}

.carousel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px; 
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: #FFFFFF;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.5s ease;
}

.carousel-slide.active .carousel-content {
  transform: translateY(0);
  opacity: 1;
}

.carousel-content h2 {
  font-size: 2rem; 
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
  font-size: 1rem; 
  color: #B0B0B0;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 10;
}

.carousel-arrow {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: #FFFFFF;
  padding: 12px; 
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 40px; 
  height: 40px; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover {
  background: #00BFA5;
  transform: scale(1.1);
}

.carousel-indicators {
  display: flex;
  gap: 12px;
}

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

.carousel-indicator.active {
  background: #00BFA5;
  transform: scale(1);
}

/*
.search-results {
  margin-top: 20px;
}

.no-results {
  text-align: center;
  color: var(--text-gray);
  padding: 40px;
  font-size: 1.2rem;
}
*/

.dropdown {
  position: relative;
  margin-top: -5px;
}

.dropdown > a {
  cursor: pointer;
  display: inline-block;
  padding: 8px 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%; 
  left: 0px;
  background-color: #23272f;
  min-width: 150px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1000;
  flex-direction: column;
  padding: 10px 0;
}


.dropdown-content a {
  color: #f6f6f6;
  padding: 10px 16px;
  text-decoration: none;
  left: 10px;
  display: block;
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background-color: transparent;
  color: white;
}


.dropdown:hover .dropdown-content {
  display: flex;
  flex-direction: column;
}


@media screen and (max-width: 768px) {
  .featured-carousel {
    height: 300px; 
  }

  .carousel-content h2 {
    font-size: 1.5rem;
  }

  .carousel-content p {
    font-size: 0.9rem;
  }

  .carousel-content {
    padding: 30px;
  }
}

@media screen and (max-width: 480px) {
  .featured-carousel {
    height: 250px; 
  }

  .carousel-content h2 {
    font-size: 1.2rem;
  }

  .carousel-content {
    padding: 20px;
  }

  .carousel-arrow {
    padding: 8px;
    width: 35px;
    height: 35px;
  }

  .pagination {
    flex-direction: row;
    gap: 10px;
  }
}
