*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Roboto", serif;
  font-size: 16px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.page-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* Banner Styles */
.banner img {
  width: auto;
  max-height: 100px;
  display: block;
}

/* Navigation Menu Start */
.hamburger-container {
  display: none;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.nav-list {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  background-color: #333;
}

.nav-list li {
  position: relative;
}

.nav-list li a {
  display: block;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
}

.nav-list li a:hover {
  color: #ff8c00;
}

/* Submenu styles for desktop */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #333;
  min-width: 150px;
  list-style: none;
  padding-inline-start: 0px;
}

.submenu li a {
  padding: 10px 20px;
}

.submenu li a::before {
  content: "\2192"; /* Unicode rightwards arrow */
  margin-right: 5px;
  color: inherit; /* Inherit the submenu text color */
}

/* Show submenu on hover for desktop */
.nav-list li:hover > .submenu {
  display: block;
}
/* Navigation Menu End */

/* home.html start */
.content-panel {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  padding: 20px;
  background-color: #f9f9f9;
}

.image-section img {
  max-width: 100%;
  height: auto;
}

.text-section {
  width: 33.33%;
}

.text-section h1 {
  margin-top: 0;
}

.text-section img {
  width: 100%;
}

.text-section h2 {
  margin-top: 0;
  color: #333;
}

.text-section p {
  line-height: 1.6;
  color: #555;
}
/* home.html end */

/* about.html start */
.about-section {
  display: flex;
  flex-direction: row;
  padding: 20px;
  background-color: #f9f9f9;
}

.about-section img {
  width: 33.33%;
  max-width: 300px;
  height: auto;
}

.about-container {
  width: 66.66%;
  padding-left: 20px;
}

.about-container p {
  max-width: 100%;
}
/* about.html end */

.contact-panel {
  display: flex;
  justify-content: center;
  background-color: #f9f9f9;
  padding: 20px;
}

.contact-panel-heading {
  text-align: center;
  font-size: 2rem;
  color: #444;
}

.contact-panel div {
  font-size: 1rem;
}

.contact-panel div p span {
  font-weight: bold;
  padding-right: 5px;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin: auto;
  padding: 30px 20px;
  background-color: #f9f9f9;
}

.gallery img {
  width: calc(33.33% - 10px); /* Ensures 3 images per row */
  max-width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-first {
  max-width: 100%;
  padding: 30px 20px 0px 20px;
  background-color: #f9f9f9;
}

.gallery-first img {
  width: 100%;
}

/* Responsive: 2 images per row on smaller screens */
@media (max-width: 768px) {
  body {
    font-size: 1.2rem;
  }

  .banner img {
    max-width: 100%;
  }

  .gallery img {
    width: 100%;
  }

  /* Navigation Menu Start */
  .hamburger-container {
    display: block;
    background-color: #333;
  }

  .hamburger {
    display: block;
  }

  .nav-list {
    background-color: #333;
    flex-direction: column;
    display: none;
  }

  .nav-list li {
    text-align: center;
  }

  .nav-list li a {
    padding: 15px;
  }

  /* Always display submenu in mobile as separate items */
  .nav-list .submenu {
    position: static;
    display: block;
  }

  .nav-list .submenu li a {
    padding-left: 40px;
  }

  .nav-list.active {
    display: flex;
  }
  /* Navigation Menu End */

  /* home.html start */
  .content-panel {
    flex-direction: column;
  }

  .image-section {
    width: 100%;
    margin-right: 0px;
  }

  .text-section {
    width: 100%;
  }

  .text-section h1 {
    margin-top: 20px;
  }
  /* home.html end */

  /* about.html start */
  .about-section {
    flex-direction: column;
    max-width: 100%;
    background-color: #f9f9f9;
  }

  .about-section img {
    width: 100%;
    margin: 0 auto;
  }

  .about-container {
    width: 100%;
    padding: 20px 0px;
  }
  /* about.html end */
}
