/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Layout Utilities */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 0;
}

main.container {
    flex: 1; /* Pushes footer to bottom */
}

div.content {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    text-align: center;
    align-items: center;
}

/* Navigation Menu */
.navbar {
    background-color: #ff6600; /*#333;*/
    color: #fff;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.menu-toggle, .hamburger {
  display: none;
}

.navbar a {
    color: #fff;
    text-decoration: none;
}

.navbar .logo {
    /*
    display: inline-block;
    width: 111px;
    height: 73px;
    background-image:  url(/images/Drawings/Ersign.gif);
    background-size: cover;     
    background-position: center;  
    background-repeat: no-repeat;  
    */
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a:hover {
    color: #ff6600;
}

/* Media */
/*
img {
    max-width: 100%;
    height: auto;
}
*/
img,
video,
figure,
iframe {
  max-inline-size: 100%;
  block-size: auto;
}

.content figure {
  flex: 1 1 200px; /* Grow, shrink, and base width */
  margin: 0;      /* Clear default browser margins */
  min-width: 0;   /* Prevents flex blowout */
  background-color: white;
  padding: 5px;
}

/* Forms */
.contact-form {
    background: #fff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-top: 10px;
    font-weight: bold;
}

.contact-form input, 
.contact-form textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
}

.contact-form button {
    margin-top: 15px;
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #ff6600;
}

/* Footer styling */
.site-footer {
    background-color: #ff6600; /*#222;*/
    color: #fff;
    text-align: center;
    padding: 10px 0;
    margin-top: auto;
}

/* Responsive Media Query for Mobile */
/*
@media (max-width: 600px) {
    .navbar .container {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        margin-top: 15px;
        padding-left: 0;
    }

    .nav-links li {
        margin: 0 10px;
    }
}
*/

/* Small Screen Layout (Mobile Breakpoint) */
@media screen and (max-width: 768px) {
  .hamburger {
    display: block; /* Show hamburger icon */
    font-size: 24px;
    cursor: pointer;
  }

  .nav-links {
    display: none; /* Hide links by default on mobile */
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #333;
    padding: 20px;
    gap: 15px;
  }

  .nav-links li {
    text-align: center;
  }

  /* The Trick: When checkbox is checked, show the navigation list */
  .menu-toggle:checked ~ .nav-links {
    display: flex;
  }
}
