
/* Basic Reset and General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

  /* Basic styling for layout and appearance */

  body {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    /*align-items: center;  Center horizontally in the body */
    font-family: 'Arial', sans-serif; /* Changed font for a cleaner look */
    line-height: 1.6;
    color: #e8e7d3;
    background-color: #4a6154; /* Softer background color */
  }

  #thumbnail-container {
    display: flex;
    justify-content: center; /* Center Thumbnails horizontally */
    align-items: center;   /* Center Thumbnails Vertically */
    margin-bottom: 10px;
  }

  .thumbnail {
    width: 80px;
    height: 60px;
    margin: 5px;
    border: 1px solid #ccc;
    cursor: pointer;
    object-fit: cover;
  }

  #navigation-container {
    display: flex;
    justify-content: center;  /* Center Nav Buttons horizontally */
    align-items: center;
    margin-bottom: 10px;
  }

  .nav-button {
    padding: 5px 10px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    cursor: pointer;
    margin: 0 5px;
  }

  #full-image-container {
    text-align: center; /* Center the full image (for inline elements) */
    width: 100%;          /* Ensure it takes up full width */
  }

  #full-image {
    max-width: 80%;
    max-height: 500px;
    border: 1px solid #aaa;
    display: block; /* Remove inline display behavior */
    margin: 0 auto;   /* Left/right margin auto for centering */

  }

  /* Hide the full image initially */
  /*#full-image {
      display: none;


/*div tag container for button*/
.menu_section{
 background-color: #4a6154;   
}
.hmenu {
  position: relative;
  display: inline-block;
}
.hmenu1 {
    position: relative;
    display: inline-block;
    color: #e8e7d3;
    padding: 16px;
}
.hmenu1 a{
    color: #e8e7d3;
    text-decoration: none;
    padding: 16px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
}
.hmenu1 a:hover{
    background-color: #e8e7d3;
    color: #4a6154;
}
/*button tag*/
.hmenubutton {
  background-color: #4a6154;
  color: #e8e7d3;
  padding: 16px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
}

.hmenubutton a{
    color: #e8e7d3;
    text-decoration: none;
    border-radius: 5px;
}

/*list under button tag*/
.hmenulist {
  display: none;
  position: absolute;
  background-color: #e8e7d3;
  min-width: 160px;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 5px;
}

/*The four links states are:
a:link - a normal, unvisited link
a:visited - a link the user has visited
a:hover - a link when the user mouses over it
a:active - a link the moment it is clicked*/

/*Selects all <a> elements inside <div> elements of class="hmenulist" */
.hmenulist a {
    padding: 12px 16px;
    color: #4a6154;
    text-decoration: none;
    
  display: block;
}

.hmenulist a:hover {
    background-color: #4a6154;
    color: #e8e7d3;
}

.hmenu:hover .hmenulist {display: block;}

.hmenu:hover .hmenubutton {
    background-color: #e8e7d3;
    color: #4a6154;
}


/* end of main_list css */


/* Header and Navigation */
header {
    background-color: #4a6154;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}
/* pull-down mainmenu css */



/* end of mainmenu css */


.logo{
    font-weight: bold;
    font-size: 1.5em;
}

.caption1{
    align-items: center;  /*Center horizontally in the body */
}


/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        text-align: center;
    }

    nav li {
        margin: 10px 0;
    }

    main {
        padding: 20px;
    }

    #hero h1{
        font-size: 2em;
    }

    #hero p{
        font-size: 1em;
    }
}