/* Header-Specific Styles */
.restaurant-banner {
  background-color: #1A3C34;
  color: var(--text-dark);
  padding: 1rem;
  text-align: center;
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  position: sticky;
  top: 0;
  z-index: var(--z-banner);
  width: 100%;
}

.banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  min-height: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.banner-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px;
  box-shadow: var(--shadow-light);
  transition: transform 0.3s ease;
}

.banner-logo:hover {
  transform: scale(1.05);
}

.banner-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.banner-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 1px;
  background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700, #FF8C00);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shinyGold 4s linear infinite;
}

.signature-font {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: 2.4rem; /* Slightly larger for signature effect */
  line-height: 1.1;
  background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700, #FF8C00);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shinyGold 4s linear infinite;
  display: inline-block;
  transform: translateY(-2px); /* Align with baseline */
}

/* Ensure gradient and animation are consistent */
.banner-title,
.signature-font {
  background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700, #FF8C00);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shinyGold 4s linear infinite;
}

.banner-tagline {
  font-size: 1rem;
  font-weight: 500;
  margin: 0.25rem 0 0;
  color: #f0f0f0;
  opacity: 0.9;
  animation: fadeIn 0.5s ease-in;
}

.banner-location {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  margin: 0.25rem 0 0;
  color: var(--primary-blue);
  text-decoration: underline;
  animation: fadeIn 0.5s ease-in;
  transition: color 0.3s ease, transform 0.3s ease;
}

.banner-location i {
  margin-right: 6px;
  vertical-align: middle;
  font-size: 1rem;
  color: var(--primary-blue);
}

.banner-location:hover {
  color: var(--dark-blue);
  transform: scale(1.05);
}

.banner-location:focus {
  outline: 2px solid var(--dark-blue);
  outline-offset: 2px;
}

.info-button {
  background: var(--primary-blue);
  color: var(--bg-light);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-light);
  transition: background 0.3s ease, transform 0.2s ease;
}

.info-button:hover {
  background:  var(--dark-blue);
  transform: translateY(-2px);
}

.info-button:focus {
  outline: 2px solid var(--dark-blue);
  outline-offset: 2px;
}

.info-button i {
  font-size: 1.2rem;
}

/* Location Links */
.location-links {
  display: flex;
  align-items: center;
  gap: 12px; /* Space between links and divider */
  margin-top: 0.25rem; /* Consistent with banner-tagline spacing */
  white-space: nowrap; /* Prevent wrapping */
  animation: fadeIn 0.5s ease-in; /* Matches banner-tagline animation */
}

.location-divider {
  color: #f0f0f0; /* Matches banner-tagline color for consistency */
  font-weight: 300;
  opacity: 0.9; /* Matches banner-tagline opacity */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .location-links {
    gap: 10px;
  }
  .location-divider {
    font-size: 0.9rem; /* Scale down with banner-location */
  }
}

@media (max-width: 480px) {
  .location-links {
    gap: 8px;
  }
  .location-divider {
    font-size: 0.85rem; /* Scale down with banner-location */
  }
}

/* High-Contrast Mode */
@media (prefers-contrast: high) {
  .location-divider {
    color: #fff; /* Matches banner-tagline in high-contrast mode */
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .location-links {
    animation: none; /* Matches banner-tagline and banner-location */
  }
}

/* Modern Toastify Notification Styles */
.modern-toast {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  max-width: 340px;
  margin: 12px auto;
  border-radius: 16px !important;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2) !important;
  background: linear-gradient(45deg, #FFD700, #FFA500, #FFD700, #FF8C00) !important;
  background-size: 200% 200% !important;
  animation: shinyGold 4s linear infinite !important;
  color: #1A3C34 !important; /* Dark green text for contrast */
  font-family: 'Poppins', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 14px 28px !important;
  opacity: 0;
  transform: translateY(-20px);
  animation: slideInToast 0.3s ease-out forwards, shinyGold 4s linear infinite !important;
  transition: all 0.3s ease-in-out !important;
}

.modern-toast:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25) !important;
}

/* Animation for sliding in */
@keyframes slideInToast {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animations */
@keyframes shinyGold {
  0% { background-position: 0% 50%; }
  50% { background-position: 200% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .restaurant-banner {
    padding: 0.5rem;
  }
  .banner-logo {
    width: 50px;
    height: 50px;
  }
  .banner-title {
    font-size: 1.8rem;
  }
  .signature-font {
    font-size: 2rem; /* Scale down for smaller screens */
  }
  .banner-tagline {
    font-size: 0.9rem;
  }
  .banner-location {
    font-size: 0.9rem;
  }
  .banner-location i {
    font-size: 0.9rem;
  }
  .info-button {
    width: 36px;
    height: 36px;
  }
  .info-button i {
    font-size: 1.1rem;
  }
  .modern-toast {
    min-height: 48px;
    max-width: 320px;
    font-size: 15px !important;
    padding: 12px 24px !important;
    border-radius: 14px !important;
  }
}

@media (max-width: 480px) {
  .banner-content {
    flex-direction: column;
    gap: 0.5rem;
  }
  .banner-logo {
    width: 40px;
    height: 40px;
  }
  .banner-title {
    font-size: 1.6rem;
  }
  .signature-font {
    font-size: 1.8rem; /* Further scale down */
  }
  .banner-tagline {
    font-size: 0.85rem;
  }
  .banner-location {
    font-size: 0.85rem;
  }
  .banner-location i {
    font-size: 0.85rem;
  }
  .info-button {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
  }
  .modern-toast {
    min-height: 44px;
    max-width: 300px;
    font-size: 14px !important;
    padding: 10px 20px !important;
    border-radius: 12px !important;
  }
}

/* High-Contrast Mode */
@media (prefers-contrast: high) {
  .restaurant-banner {
    background-color: #000;
  }
  .banner-title,
  .signature-font {
    background: none;
    -webkit-text-fill-color: #000;
    font-weight: bold;
  }
  .banner-tagline {
    color: #fff;
  }
  .banner-location {
    color: #fff;
  }
  .banner-location i {
    color: #fff;
  }
  .modern-toast {
    border: 2px solid #000 !important;
    color: #000 !important;
    background: #fff !important;
    animation: none !important;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .banner-title,
  .signature-font {
    animation: none;
    background: linear-gradient(45deg, #FFD700, #FFA500);
  }
  .banner-tagline,
  .banner-location {
    animation: none;
  }
  .modern-toast {
    animation: none !important;
    transition: none !important;
    background: linear-gradient(45deg, #FFD700, #FFA500) !important;
  }
}