/* styles.css */

/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
    padding: 0;
    margin: 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #00539C;
    color: white;
}

    
/* Logo Styling */
header img {
    height: 60px;
    width: auto;
    margin-right: 15px;
    vertical-align: middle;
    border-radius: 8px; /* or try 5px for subtle rounding */
}

/* Content Images Styling */
main img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

nav ul {
    list-style: none;
    background: #003366;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav ul li {
    margin: 5px 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
}

nav ul li a:hover {
    background-color: #0073e6;
    border-radius: 5px;
    width: 100%;
    text-align: center;
}

main {
    padding: 20px;
    max-width: 1100px;
    margin: 20px auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

h2 {
    margin-bottom: 15px;
    color: #00539C;
}

section p, section ul, section form {
    margin-bottom: 20px;
}

footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 40px;
}

/* Form Styling */
form {
    display: flex;
    flex-direction: column;
}

form label {
    margin: 10px 0 5px;
}

form input, form textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
}

form button {
    margin-top: 15px;
    padding: 10px;
    background-color: #00539C;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

form button:hover {
    background-color: #003366;
}




/* Hamburger Menu Toggle */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
  padding: 10px 20px;
}

/* Position header layout */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

nav.menu ul {
  list-style: none;
  display: flex;
  background-color: #003366;
  padding: 0;
  margin: 0;
}

nav.menu ul li {
  margin: 5px 15px;
}

nav.menu ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
}

nav.menu ul li a:hover {
  background-color: #0073e6;
  border-radius: 5px;
}

/* RESPONSIVE MENU */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  nav.menu {
    width: 100%;
    display: none;
  }

  nav.menu ul {
    flex-direction: column;
    background-color: #003366;
  }

  #menu-toggle:checked + .menu-icon + nav.menu {
    display: block;
  }

  nav.menu ul li {
    text-align: center;
    margin: 10px 0;
  }
}




/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.gallery-grid figure {
    background: #f0f0f0;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.gallery-grid figcaption {
    margin-top: 8px;
    font-weight: bold;
    color: #333;
}

.branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.branding h1 {
    margin: 0;
    font-size: 1.8em;
    color: white;
    white-space: nowrap;
    text-decoration: none;
}

    
.branding img {
    height: 60px;
    width: auto;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 1024px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        justify-content: flex-start;
        width: 100%;
    }

    .branding {
        margin-bottom: 10px;
    }
}

.lightbox-toggle {
    display: none;
  }
  
  .lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }

  .lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain; /* shows full image without cropping */
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
  }
  
  
  .lightbox-close {
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: 0;
    cursor: pointer;
  }
  
  .lightbox-toggle:checked + .lightbox {
    display: flex;
  }

  .gallery-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover; /* allows cropping to keep layout tidy */
    border-radius: 5px;
  }
      
