/* Common styles for all pages */
body {
  font-family: "Roboto", sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensure the body takes at least the full height of the viewport */
  margin: 0;
  padding: 0;
  background-color: #f5f5f5; /* Light background for the body */
}

/* Pill Button Styling */
.pill-button {
  display: inline-block;
  padding: 12px 24px;
  background: #1f2937;
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.pill-button:hover {
  background: #4b5563;
  transform: translateY(-3px);
}

/* Form Input Styling */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 25px;
  background: #374151;
  color: #fff;
  margin-bottom: 12px;
  outline: none;
  transition: background 0.3s ease;
}

.form-input:hover,
.form-input:focus {
  background: #4b5563;
}

/* Responsive Navigation */
#mobile-nav {
  display: none;
}

#mobile-nav.show {
  display: flex;
}

header nav a {
  padding: 10px 20px;
  border-radius: 30px;
  transition: background 0.3s ease;
}

header nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Modal styling */
#dogModal {
  display: none; /* Start hidden */
  opacity: 0; /* Start invisible */
  transition: opacity 0.5s ease; /* Smooth fade effect */
}

#dogModal.show {
  display: block;
  opacity: 1;
}

/* Background color and shadow settings */
.bg-gray-800 {
  background-color: #2d3748; /* Lighter background */
}

.shadow-lg {
  box-shadow: none; /* Remove shadow */
}

/* Footer and flex layout */
footer {
  margin-top: auto; /* Push the footer to the bottom */
  padding: 20px;
  background-color: #1f2937;
  color: white;
}

footer .flex {
  display: flex;
  justify-content: center;
}

footer .flex a {
  margin: 0 10px; /* Add horizontal margin between icons */
}

footer .fa {
  font-size: 1.5rem; /* Adjust icon size */
}

/* Ensure the mobile menu button is displayed only on smaller screens */
.mobile-menu-button {
  display: none;
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  .mobile-menu-button {
    display: block; /* Show hamburger button on mobile */
    cursor: pointer;
  }

  nav ul {
    list-style-type: none;
    padding: 0;
  }

  #mobileNav {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease; /* Smooth fade effect */
  }

  #mobileNav.show {
    display: flex;
    opacity: 1; /* Full opacity when the menu is visible */
    background-color: rgba(0, 0, 0, 0.9); /* Transparent black background */
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    justify-content: center;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(10px); /* Blurred background effect */
  }

  #mobileNav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  #mobileNav ul li a {
    text-decoration: none;
    color: white;
    font-size: 2rem;
    transition: color 0.3s ease;
  }

  #mobileNav ul li a:hover {
    color: #d3d3d3; /* Hover color for links */
  }
}

/* Logout button styling */
.logout-btn {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: #000000; /* Light red color */
  color: white;
  border: none;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
  z-index: 1000; /* Ensure it stays on top */
}

.logout-btn:hover {
  background-color: #930a0a; /* Darker red on hover */
}

.form-button {
  background-color: #3182ce;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  color: white;
  font-weight: bold;
  width: 100%;
  transition: background-color 0.3s ease;
}
.form-button:hover {
  background-color: #2b6cb0;
}

/* Popup styling */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.popup-content {
  background-color: #2d3748;
  padding: 2rem;
  width: 90%;
  max-width: 600px;
  border-radius: 0.5rem;
  position: relative;
  color: white;
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  background-color: transparent;
  border: none;
  color: white;
}

.popup-close:hover {
  color: #f56565;
}

/* Button Styling */
.more-info-button {
  background-color: #3182ce;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  color: white;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.more-info-button:hover {
  background-color: #2b6cb0;
}

/* Full-screen mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.3s ease;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu ul {
  list-style-type: none;
  text-align: center;
}

.mobile-menu li {
  margin-bottom: 1rem;
}

.mobile-menu a {
  color: white;
  font-size: 2rem;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: #2b6cb0;
}

/* Hamburger button */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px;
  transition: 0.3s;
}

/* For small screens */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav.desktop-menu {
    display: none;
  }
}

/* Image hover effect */
.gallery-item:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Heading Styling */
.gallery-heading {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #ffffff;
}
