/* Announcement Ticker Styles */
.announcement-ticker {
  background-color: var(--accent);
  color: white;
  padding: 0.75rem 0;
  position: relative;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.ticker-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  animation: ticker-scroll 20s linear infinite;
}

.ticker-icon {
  font-size: 1.25rem;
}

.ticker-text {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1rem;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@media (max-width: 768px) {
  .ticker-content {
    animation: ticker-scroll 10s linear infinite;
  }

  .ticker-text {
    font-size: 0.9rem;
  }
}

/* hero section */
.hero-section h1 {
  font-family: "Dancing Script", cursive;
  font-size: 4.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  color: white;
}

.hero-section p {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-section {
  background: linear-gradient(rgba(83, 125, 93, 0.3), rgba(83, 125, 93, 0.4)),
    url("../images/home/canteen-hero.jpg") no-repeat center center;
  background-size: cover;
  height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(255, 214, 224, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(193, 240, 230, 0.2) 0%, transparent 40%);
  pointer-events: none;
}

/* Carousel Styles */
.carousel-container {
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

.carousel-container::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  background-color: var(--soft-pink);
  border-radius: 50%;
  filter: blur(60px);
  top: -30px;
  left: -30px;
  z-index: -1;
  opacity: 0.6;
}

.carousel-container::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background-color: var(--light-teal);
  border-radius: 50%;
  filter: blur(60px);
  bottom: -40px;
  right: -40px;
  z-index: -1;
  opacity: 0.6;
}

.carousel-item {
  height: 500px;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.carousel-caption {
  background: rgba(83, 125, 93, 0.85);
  padding: 2rem;
  border-radius: 10px;
  bottom: 20%;
  left: 10%;
  right: 10%;
  backdrop-filter: blur(5px);
}

.carousel-caption h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.carousel-caption p {
  font-family: "Poppins", sans-serif;
}

.carousel-indicators button {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50%;
  margin: 0 8px;
  border: 2px solid white;
  background-color: transparent;
}

.carousel-indicators button.active {
  background-color: white;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--footer);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background-size: 60%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .carousel-item {
    height: 400px;
  }

  .carousel-caption {
    bottom: 10%;
    left: 5%;
    right: 5%;
    padding: 1rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }
  .hero-section h1 {
    font-size: 3rem;
  }

  .hero-section p {
    font-size: 1.2rem;
  }
}

/* Features Section */
.feature-item {
  padding: 2rem 1rem;
  transition: all 0.3s ease;
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(118, 69, 59, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.feature-icon {
  font-size: 2rem;
  color: var(--accent);
}

.feature-item h3 {
  color: var(--text);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.feature-item p {
  color: #666;
  max-width: 300px;
  margin: 0 auto;
}

.feature-item:hover .feature-icon-wrapper {
  background-color: var(--accent);
  transform: scale(1.1);
}

.feature-item:hover .feature-icon {
  color: white;
}

.feature-item:hover h3 {
  color: var(--accent);
}

@media (max-width: 768px) {
  .feature-item {
    padding: 1.5rem 0;
  }

  .feature-icon-wrapper {
    width: 70px;
    height: 70px;
  }
}

/* menu highlight section */
.menu-highlight h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.menu-highlight {
  background-color: var(--card-bg);
  color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.menu-highlight::before {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  top: -50px;
  right: -50px;
}

.menu-highlight::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
}

.menu-item {
  border-bottom: 1px dashed rgba(255, 255, 255, 0.3);
  padding: 1rem 0;
  position: relative;
  z-index: 1;
}

.menu-item:last-child {
  border-bottom: none;
}

/* testimonial section */
.testimonial-card {
  background-color: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  font-family: "Playfair Display", serif;
  font-size: 5rem;
  color: rgba(83, 125, 93, 0.1);
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-card p {
  font-family: "Poppins", sans-serif;
  font-style: italic;
  font-weight: 300;
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent);
  margin-top: 1.5rem;
  font-family: "Poppins", sans-serif;
}

/* News & Events Styles */
.news-card {
  background-color: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 4px solid var(--accent);
  height: 100%;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-card h4 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
}

.news-card p {
  color: #666;
  margin-bottom: 1.5rem;
}

.about .section-title::after,
.delivery .section-title::after {
  left: 10%;
}
