/* Slider Container */
#slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 2rem auto;
}

/* Slide styling */
.glide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.glide__slide img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

/* Arrow Navigation */
.glide__arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.glide__arrow {
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glide__arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

.glide__arrow--left {
  margin-left: 1rem;
}

.glide__arrow--right {
  margin-right: 1rem;
}

.glide__arrow:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Bullet Navigation */
.glide__bullets {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.glide__bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.glide__bullet:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.glide__bullet--active {
  background: rgba(255, 255, 255, 1);
  width: 14px;
  height: 14px;
}

.glide__bullet:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .glide__slide img {
    max-height: 300px;
  }

  .glide__arrow {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .glide__arrow--left {
    margin-left: 0.5rem;
  }

  .glide__arrow--right {
    margin-right: 0.5rem;
  }

  .glide__bullets {
    bottom: 0.5rem;
  }

  .glide__bullet {
    width: 10px;
    height: 10px;
  }

  .glide__bullet--active {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  #slider {
    margin: 1rem auto;
  }

  .glide__slide img {
    max-height: 200px;
  }

  .glide__arrow {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
}