/* CSS Reset and Base Styles */
[Previous CSS remains exactly the same until the mobile menu styles...]

    body {
	height: 100%;
    background-image: url('wall2.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed;
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #f5f5f5;
    }

    
    .content {
        display: flex;
        flex-direction: column;
        min-height: 100vh; /* viewport height */
    }
    main {
        flex: 1; /* stretches to take up any available space */
    }
    footer {
        background-color: #1a4e04; /* green */
        padding: 20px 0;
        text-align: center;
    }


footer p {
    color: #ffffff;
    margin: 0;
}



header {
    background-color: #1a4e04; # f6e4ce # e19a02 marigold # f4c268 old
    padding: 20px 0;
    text-align: center;
}

header h1 {
    color: #ffffff;
    font-size: 2.5rem;
    margin: 0;
}
header img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto;
}


nav {
    background-color: #e19a02; # marigold
    padding: 10px 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
}

nav ul li {
flex-grow: 1;
text-align: center;
}

nav ul li a {
    display: block;  
    color: #ffffff;
    text-decoration: none;
    padding: 10px;
}

nav ul li a:hover {
    background-color: #1a4e04;
}

section {
    margin: 40px auto;
    max-width: 800px;
    padding: 20px;
    background-color: #f6e4ce;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

section staff {
    margin: 40px auto;
    max-width: 800px;
    padding: 20px;
    background-color: #f6e4ce;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

section h2 {
    color: #4caf50;
    font-size: 2rem;
    margin-bottom: 20px;
    background-color: #f6e4ce;
}

section p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

blockquote {
    font-size: 1.2rem;
    font-style: italic;
    margin: 20px 0;
    text-align: center;
}


    nav ul li {
        position: relative;
    }



    nav ul li ul {
        display: none;
        position: absolute;
        width: 100%; /* Match the parent width */
        box-sizing: border-box; /* Prevent overflow issues */
        top: 100%;  /* Aligns the top of the dropdown with the bottom of the button */
        left: 0;    /* Aligns the dropdown to the left edge of the button */
        right: 0;
        background-color: #1a4e04;
        padding: 0;
        margin: 0;
        list-style-type: none;
        min-width: 160px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 1;
    }

    nav ul li ul li {
        display: block;
        width: 100%;
        padding: 5px 10px;
    }

    nav ul li ul li a {
        display: block;
        padding: 0;
    }

    nav ul li:hover ul {
        display: block;
	}
      
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.photo-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox img {
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lightbox:target {
    display: block;
}


section form {
    display: flex;
    flex-direction: column;
}

section form label {
    font-weight: bold;
    margin-bottom: 5px;
}

section form input,
section form textarea {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 1rem;
    outline: none;
}

section form input[type="submit"] {
    background-color: #4caf50;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

section form input[type="submit"]:hover {
    background-color: #3f9044;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  background: var(--secondary-color);
  border: none;
  border-radius: 4px;
  padding: 0.5rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  position: relative;
  transition: var(--transition);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  bottom: -6px;
}

/* Menu Toggle Active State */
.menu-toggle.active span {
  background: transparent;
}

.menu-toggle.active span::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle.active span::after {
  transform: rotate(-45deg);
  bottom: 0;
}

[Previous CSS remains exactly the same until the mobile media query...]

/* Enhanced Mobile Styles */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  main {
    padding: 0 0.75rem;
    margin-top: calc(var(--header-height) + var(--nav-height));
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    width: 100%;
    height: auto;
    background-color: var(--secondary-color);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow);
  }

  nav.active {
    transform: translateX(0);
  }

  nav ul {
    flex-direction: column;
    padding: 0.5rem 0;
    height: auto;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    padding: 0.75rem 1.5rem;
    justify-content: center;
  }

  nav ul li ul {
    position: static;
    width: 100%;
    background-color: rgba(26, 78, 4, 0.95);
    padding: 0;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  nav ul li.active ul {
    display: block;
  }

/* Dropdown Menu */
nav ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--primary-color);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: var(--transition);
  box-shadow: var(--shadow);
  border-radius: 0 0 4px 4px;
  height: auto;
}

nav ul li:hover ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

nav ul li ul li {
  width: 100%;
}

nav ul li ul li a {
  padding: 0.75rem 1rem;
  height: auto;
}

/* Section Styles */
section {
  background-color: var(--background-color);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1rem 0;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

section h2 {
  color: var(--primary-color);
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
}

/* Photo Grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  padding: 0.5rem 0;
}

.photo-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  transition: var(--transition);
}

/* Form Styles */
form {
  display: grid;
  gap: 1rem;
  max-width: 100%;
  margin: 0 auto;
}

form label {
  font-weight: 600;
  color: var(--primary-color);
}

form input,
form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid transparent;
  border-radius: 4px;
  font-size: 1rem;
  transition: var(--transition);
  -webkit-appearance: none;
}

form input:focus,
form textarea:focus {
  border-color: var(--secondary-color);
  outline: none;
}

form button {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  -webkit-appearance: none;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1.5rem 0;
  text-align: center;
  margin-top: auto;
}

/* Enhanced Mobile Styles */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  main {
    padding: 0 0.75rem;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    transition: var(--transition);
    background-color: var(--secondary-color);
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    padding: 1rem 0;
    height: auto;
    overflow-y: auto;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    padding: 1rem 1.5rem;
    justify-content: center;
  }

  nav ul li ul {
    position: static;
    width: 100%;
    background-color: rgba(26, 78, 4, 0.9);
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  nav ul li:hover ul {
    display: block;
  }

  section {
    padding: 1rem;
    margin: 0.75rem 0;
  }

  .photo-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
  }

  .photo-grid img {
    height: 150px;
  }

  form {
    gap: 0.75rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  nav ul li a:hover {
    background-color: transparent;
  }

  .photo-grid img:hover {
    transform: none;
  }

  form button:hover {
    transform: none;
  }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    background-image: url('photo1a@2x.jpg');
  }
}

/* Landscape Mode */
@media (max-width: 768px) and (orientation: landscape) {
  nav {
    height: 100%;
    overflow-y: auto;
  }

  .photo-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --background-color: #2a2a2a;
    --text-color: #ffffff;
  }

  body {
    background-color: #1a1a1a;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* Print Styles */
@media print {
  body {
    background: none;
  }

  nav, 
  .photo-grid,
  form,
  .menu-toggle {
    display: none;
  }

  section {
    break-inside: avoid;
    box-shadow: none;
    margin: 1rem 0;
    padding: 0;
  }
}