/* Foodse Banner Carousel Styles */
.foodse-banner-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

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

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Responsive Images - Desktop & Mobile */
.mobile-banner {
  display: none;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.slide-content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  padding: 0 2rem;
}

.slide-content {
  padding: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.slide-content.text-left {
  text-align: left;
}

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

.slide-content.text-right {
  text-align: right;
}

.slide-tagline {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  color: #fbbf24;
}

.slide-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.slide-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.slide-description {
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
  opacity: 0.9;
}

.slide-content.text-center .slide-description {
  margin-left: auto;
  margin-right: auto;
}

.slide-content.text-right .slide-description {
  margin-left: auto;
}

.slide-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.slide-content.text-center .slide-buttons {
  justify-content: center;
}

.slide-content.text-right .slide-buttons {
  justify-content: flex-end;
}

.slide-button {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.button-primary {
  background-color: #f59e0b;
  color: #fff;
  border-color: #f59e0b;
}

.button-primary:hover {
  background-color: #d97706;
  border-color: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.button-secondary {
  background-color: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}

.button-secondary:hover {
  background-color: #2563eb;
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.button-outline {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
}

.button-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Navigation Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background-color: rgba(255, 255, 255, 0.3);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #fff;
  backdrop-filter: blur(4px);
}

.carousel-arrow:hover {
  background-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: 1rem;
}

.carousel-next {
  right: 1rem;
}

/* Dots Navigation */
.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.75rem;
}

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

.carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.carousel-dot.active {
  background-color: #f59e0b;
  transform: scale(1.3);
}

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

/* Responsive Design */
@media (max-width: 768px) {
  /* Show mobile banner, hide desktop banner on mobile devices */
  .desktop-banner {
    display: none !important;
  }

  .mobile-banner {
    display: block !important;
  }

  .foodse-banner-carousel {
    height: 400px !important;
  }

  .slide-title {
    font-size: 2rem;
  }

  .slide-subtitle {
    font-size: 1.25rem;
  }

  .slide-description {
    font-size: 1rem;
  }

  .slide-buttons {
    flex-direction: column;
  }

  .slide-button {
    width: 100%;
    text-align: center;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .slide-content-wrapper {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .foodse-banner-carousel {
    height: 350px !important;
    border-radius: 0;
  }

  .slide-title {
    font-size: 1.75rem;
  }

  .slide-subtitle {
    font-size: 1.125rem;
  }

  .slide-tagline {
    font-size: 0.75rem;
  }

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

  .carousel-prev {
    left: 0.5rem;
  }

  .carousel-next {
    right: 0.5rem;
  }
}
