/* Reset default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Body */
body {
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #4CAF50;
  padding: 15px 20px;
  position: relative;
}

/* Logo */
.logo img {
  width: 100px;
}

/* galary styling. */
.image-gallery img {
  width: 150px; /* Adjust size as needed */
  height: auto;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}


/*details container class*/
.nav-container {
  display: block;
  position: relative;
}



/*details landmark styling when opened.*/
details[open] .menu-toggle {
  font-weight: bold;
}


/* Navigation */
nav {
  flex-grow: 1;
}

.nav-list {
  list-style: none;
  position: absolute;
  top: 60px;
  right: 20px;
  background-color: #4CAF50;
  padding: 10px;
  border-radius: 5px;
  width: 200px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.nav-list li {
  margin: 10px 0;
}

/* Menu Button */
.menu-toggle {
  display: block;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* Navigation Links */
.nav-list a {
  text-decoration: none;
  color: white;
  padding: 12px;
  display: block;
  font-size: 18px;
  transition: background 0.3s ease-in-out;
}

/* Hover and Focus Effects */
.nav-list a:hover,
.nav-list a:focus {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

/* Active Page Styling */
.nav-list a.active {
  font-weight: bold;
  text-decoration: underline;
}

/* Main Content */
main {
  padding: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 20px;
}

/* Ensure Menu is Collapsible on All Screen Sizes */
@media (min-width: 769px) {
  .nav-list {
       
      position: absolute;
      right: 20px;
      top: 60px;
      background-color: #4CAF50;
      padding: 10px;
      width: 200px;
  }
}
 

/* Responsive Design */
@media (max-width: 768px) {
  header {
      flex-direction: column;
      align-items: flex-start;
  }

  .menu-toggle {
      align-self: flex-end;
  }

  .nav-list {
      width: 100%;
      right: 0;
      top: 50px;
      text-align: center;
  }

  .nav-list li {
      margin: 5px 0;
  }
}
