/* Navigation */
.navbar-container {
  background-color: var(--cream);
  padding: 38px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Added for mobile dropdown support */
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--navy-blue);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-blue);
  margin-left: -20px;
}

.nav-brand img {
  max-height: 58px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  font-weight: 600;
  color: var(--text-dark);
  transition: color 0.3s ease;
  font-size: 1.3rem;
}

.nav-menu a:hover {
  color: var(--light-navy);
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: color 0.3s ease;
  font-size: 1.3rem;
}

.nav-dropdown-toggle:hover {
  color: var(--light-navy);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  z-index: 1000;
  border-radius: 4px;
  padding: 10px 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 1rem;
}

.nav-dropdown-menu a:hover {
  background-color: var(--grey);
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

/* Mobile Navigation */
@media (max-width: 600px) {
  .nav-brand {
    max-width: 75%;
  }
  .nav-brand img {
    max-width: 100%;
    height: auto;
  }
  .hamburger {
    display: block;
  }
  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 15px;
    padding-top: 20px;
    text-align: center;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    background-color: var(--periwinkle);
    margin-top: 10px;
  }
}

/* Footer */
footer {
  background-color: #C6C6C6;
  padding: 40px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-light);
}

.footer-links a:hover {
  text-decoration: underline;
  color: var(--navy-blue);
}

.footer-copy {
  margin-bottom: 10px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--navy-blue);
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--navy-blue);
}

/* Image Modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}
.image-modal-content {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  border-radius: 4px;
}
.image-modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}
.image-modal-close:hover {
  color: #ccc;
}
.clickable-image {
  cursor: pointer;
  transition: transform 0.2s;
}
.clickable-image:hover {
  transform: scale(1.02);
}
