/* General Page Styles */
body.bg-image {
  background: url('images/healthy-bowl.png');
  background-size: cover;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

/* Header Branding */
header .logo h1,
header .fw-bold {
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
}

.nav-link {
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #0d6efd; /* Bootstrap primary color */
}

/* About Section */
.about-section h2 {
  font-size: 2.25rem;
  font-weight: 600;
  color: #0d6efd;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Footer Styling */
footer h5,
footer h6 {
  font-weight: 600;
  margin-bottom: 1rem;
}

footer p,
footer ul li {
  font-size: 0.95rem;
}

footer a.text-light:hover {
  text-decoration: underline;
  color: #adb5bd;
}

/* Button Customization */
.btn-primary {
  background-color: #0d6efd;
  border: none;
}

.btn-primary:hover {
  background-color: #084bd6;
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav {
    flex-direction: column;
    margin-top: 1rem;
  }
  .nav-item {
    margin-bottom: 0.5rem;
  }
}

/* Spin the logo on hover */
img[alt="Balanced Bite Logo"]:hover {
  animation: spinLogo 1s ease-in-out;
}

@keyframes spinLogo {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Animate site name "BALANCED BITES" on hover */
.fw-bold.h3:hover {
  animation: floatText 0.6s ease-in-out;
}

@keyframes floatText {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(10deg); }
  100% { transform: rotate(-5deg); }
}

/* Highlight nav item with subtle bounce and color change */
.nav-link:hover {
  color: #ffffff !important;
  background-color: #3e6f90;
  padding: 5px 10px;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  animation: bounceNav 0.3s ease;
}

@keyframes bounceNav {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

