/* --- Global Styles --- */

body {
  /* font-family: "Cinzel", serif;
  font-family: "Lato", sans-serif;
  font-family: "Muli", sans-serif;
  font-family: "Nunito", sans-serif; */
  font-family: "Fira Sans", sans-serif;
  margin: 0;
  padding: 0;
  background: #fff5f0;
  color: #3a1f0b;
}

/* --- Navbar --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #ff4e00, #ff9a00);
  padding: 0.8rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
}

.navbar .nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  transition: color 0.3s, text-decoration 0.3s;
}

.navbar .nav-links a:hover {
  text-decoration: underline;
  color: #fff3e0; /* Slightly lighter hover color */
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  z-index: 101; /* Ensure it's above the menu */
}

.hamburger.open {
  color: #fff3e0; /* Change color when active */
}

/* --- Responsive Navbar --- */
@media screen and (max-width: 768px) {
  .navbar .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: linear-gradient(90deg, #ff4e00, #ff9a00);
    position: absolute;
    top: 60px; /* Adjusted to align below the navbar */
    left: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    transition: transform 0.3s ease-in-out;
    transform: translateY(-100%);
    border-bottom-left-radius: 10px; /* Rounded corners for mobile dropdown */
    border-bottom-right-radius: 10px; /* Rounded corners for mobile dropdown */
  }

  .navbar .nav-links.active {
    display: flex;
    transform: translateY(0);
  }

  .navbar .nav-links a {
    padding: 1rem 0rem; /* Adding padding to make links bigger and more clickable */
    font-size: 1.2rem; /* Slightly larger text for readability */
    transition: background-color 0.3s;
  }

  .navbar .nav-links a:hover {
    background-color: rgba(
      255,
      255,
      255,
      0.2
    ); /* Adding subtle background hover effect */
  }

  .hamburger {
    display: block;
    z-index: 102; /* Ensure the hamburger icon is above everything else */
  }

  .hamburger.open .bar {
    background-color: #fff3e0; /* Light color when hamburger is open */
  }

  /* Styling for the hamburger icon (3 lines) */
  .hamburger .bar {
    display: block;
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 6px auto;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }

  .hamburger.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.open .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* --- Base Footer --- */
.footer {
  background: linear-gradient(
    90deg,
    #ff4e00,
    #ff9a00
  ); /* Gradient background */
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.5;
  padding: 2rem 1rem 1rem; /* Adjusted padding */
  text-align: center;
  margin-top: 2rem;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -4px 20px rgba(255, 80, 0, 0.2); /* Box shadow for modern look */
  border-top: 3px solid #f59e0b; /* Bright orange accent */
}

/* --- Layout --- */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 2rem; /* Ensures even spacing between sections */
  max-width: 1000px;
  margin: 0 auto;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h2,
.footer-section h3 {
  color: #ffffff; /* Soft light color for headers */
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* --- Text and Links --- */
.footer-section p,
.footer-section ul {
  color: #ffffff;
  margin: 0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.4rem;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 1rem; /* Consistent font size for links */
}

.footer a:hover {
  color: #ffffff; /* Hover effect for links */
  text-decoration: underline;
}

/* --- Footer Bottom --- */
.footer-bottom {
  text-align: center;
  color: #3d3c3c;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 1.5rem;
  padding-top: 1rem;
  font-size: 1rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  .footer {
    padding: 1.5rem 1rem; /* Reduced padding for smaller screens */
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-section {
    flex: 1 1 100%;
    min-width: unset;
  }

  .footer-section p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .footer {
    font-size: 0.85rem;
  }

  .footer-section h2 {
    font-size: 1.1rem;
  }

  .footer-section h3 {
    font-size: 1rem;
  }
}
