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

body {
  font-family: 'Times New Roman', serif;
  border: 5px solid black;
  margin: 0;
  padding: 0;
}

h1 { text-align: center; }

/* ===== Layout container ===== */
.container {
  display: flex;
  flex-direction: row;
  gap: 10px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  align-items: flex-start;
  padding: 0 16px;
}

/* ===== Left / Right columns ===== */
.left {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background-color: #f5f5f5;
  padding: 20px 20px 0 20px;
  min-height: 400px;
}

.right {
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 20px;
}

.left img,
.right img {
  width: 100%;
  height: auto;
  margin-top: 0;
}

.image-container {
  position: relative;
  display: inline-block;
}

/* ===== Land Acknowledgement block ===== */
.land-acknowledgement {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.5rem;
  line-height: 1.6;
  font-size: 1.05rem;
  font-style: italic;
  background-color: #f9f9f9;
  border-left: 4px solid #4a6b4a;
  border-radius: 4px;
}

/* ===== Download Button ===== */
.download-button {
  display: inline-block;
  text-decoration: none;
  border: none;
  outline: none;
  cursor: pointer;
}
.download-button img {
  width: 15px;
  height: auto;
  transition: transform 0.2s ease-in-out;
}
.download-button img:hover { transform: scale(1.1); }
.download-button img:active { transform: scale(0.95); }

/* General Header Styling */
.header {
  position: relative;
  width: 100%;
  height: auto;
  text-align: center;
}

.header-image-wrapper {
  position: relative;
}

.header-image {
  width: 100%; /* Full width for the header image */
  height: auto;
}

/* Navbar Styling */
.navbar {
  position: absolute; /* Overlay the navbar on the image */
  top: 0;
  left: 0;
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  z-index: 10; /* Ensures the navbar is above the image */
}

.logo img {
  height: 50px; /* Set a consistent height for the logo */
  cursor: pointer;
}

/* Navigation Buttons */
.nav-buttons {
  display: flex;
  gap: 15px; /* Space between buttons */
}

.nav-buttons a img {
  height: 50px; /* Set button image height */
  width: auto; /* Maintain aspect ratio */
  cursor: pointer;
  transition: transform 0.2s ease-in-out, opacity 0.2s ease-in-out; /* Smooth hover effect */
}

.nav-buttons a img:hover {
  transform: scale(1.1); /* Slight zoom on hover */
  opacity: 0.9; /* Reduce opacity slightly on hover */
}

/* Header Text Styling */
.header-text {
  position: absolute; /* Position the text on the image */
  bottom: 20px; /* Adjust the vertical position */
  left: 50%;
  transform: translateX(-50%); /* Center the text horizontally */
  color: white; /* Text color */
  padding: 10px 20px; /* Padding around the text */
  border-radius: 5px; /* Rounded corners for the background */
  z-index: 10; /* Ensure the text is above the image */
  text-align: center;
  font-family: 'Times New Roman', serif;
  font-size: 60px;
  white-space: nowrap;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .container { flex-direction: column; }
  .left, .right {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .header .navbar {
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 12px;
  }
  .logo img { height: 40px; }
  .nav-buttons a img { height: 36px; }

  .header-image { max-height: 220px; object-fit: cover; }

  .header-overlay .header-text {
    font-size: clamp(1.5rem, 9vw, 3rem);
  }
}
