/* src/styles.css - Working version */
.navbar {
  background-color: #333;
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  position: relative;
  z-index: 1000;
}

.navbar-logo {
  height: 40px;
  width: auto;
  margin-right: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  margin-left: auto;
}

.navbar a {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.3s;
}

.navbar a:hover {
  background-color: #555;
}

.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: white;
  margin-left: auto;
  background: none;
  border: none;
  padding: 5px 10px;
}

/* Mobile styles */
@media (max-width: 600px) {
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: block;
  }

  .content {
    padding-left: 0.2rem; /* Reduce from default 1rem to 0.5rem */
    margin-left: 0;
    padding-right: 0.0rem; /* Reduce from default 1rem to 0.5rem */
    margin-right: 0; /* Negative margin to offset padding */
    width: 100%;
    box-sizing: border-box;
  }
  
  .app,
  .home-page,
  .home-page .content {
    padding-right: 0.2rem;
    margin-right: 0;
    width: 100%;
    box-sizing: border-box;
  }

  body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .nav-links.mobile-menu {
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    min-width: 200px;
    background-color: #333;
    flex-direction: column;
    padding: 0.5rem 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1001;
  }
  
  .nav-links.mobile-menu a {
    display: block;
    padding: 12px 20px;
    background-color: transparent;
    color: white;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px solid #444;
  }
  
  .nav-links.mobile-menu a:last-child {
    border-bottom: none;
  }
  
  .nav-links.mobile-menu a:hover {
    background-color: #555;
  }
  
  /* Animation */
  .nav-links.mobile-menu {
    animation: slideDown 0.3s ease-out;
  }

  /* Make content images full width on mobile */
  .content img {
    width: 100%;
    object-fit: cover; /* Or 'contain' depending on your preference */
  }

  /* If you have hero images or banners */
  .hero-image {
    width: 100%;
    height: auto;
  }
  
  /* For image galleries or multiple images */
  .image-gallery img {
    width: 100%;
    margin-bottom: 1rem;
  }

}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

img {
  max-width: 100%;
  height: auto;
}

.content img {
  max-width: 100%;
  height: auto;
  display: block; /* Removes extra spacing below images */
}