/* Apply a global reset to remove default margins and padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Roboto', Arial, sans-serif; /* Using 'Roboto' as the primary font */
  background-color: #333; /* Dark background for the entire page */
  color: #fff; /* Ensuring text is visible on the dark background */
}

header {
  background-color: #000; /* Slightly lighter dark shade for the header */
  color: #d1d1d1;
  padding: 10px 20px;
  display: flex; /* Use flexbox layout */
  align-items: center; /* Align items vertically in the center */
  justify-content: flex-start; /* Align items horizontally to the start (left side) */
  width: 100%; /* Viewport width */
  box-sizing: border-box; /* Include padding in the width calculation */
}

header img {
  width: 150px; /* Set the width of the logo */
  height: auto;
  margin-right: 20px; /* Add some space after the logo */
}

header nav {
  display: flex; /* Use flexbox layout for the navigation links too, if needed */
  flex-wrap: wrap; /* Allow nav items to wrap onto the next line */
  margin-left: auto;
}

header nav a {
  text-decoration: none;
  color: #4a90e2;
  font-size: 1.2vw;
  margin: 0 15px;
  text-align: right;
}


#banner img {
  width: 100%; /* Ensures the image stretches to the width of its container */
  height: auto; /* Maintains the image's aspect ratio */
  display: block; /* This ensures no extra space for inline elements */
  max-width: 100%; /* Ensures the image is not restricted by a max-width */
}

.header-email {
  /*font-family: 'Roboto', sans-serif; */
  font-family: 'Courier', 'Courier New', monospace;
  color: #fff; /* White color for the text */
  text-decoration: none; /* Removes underline from the link */
  font-weight: 700; /* Roboto's bold weight */
  font-size: 2.5vw; /* Increases the font size */
  display: inline-block; /* To ensure padding and margins are applied */
  padding: 0 15px; /* Adjust padding to your preference */
  /* ... */
}

.content-box {
  border: 1px solid #444; /* Border color adjusted for dark theme */
  margin: 20px;
  padding: 20px;
  border-radius: 15px; /* Rounded edges for a modern look */
  background-color: #333; /* Dark background for the content boxes */
  color: #d1d1d1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
	margin-left: -16px; /* Counteract the grid gap on the sides */
    margin-right: -16px;
}

.gallery-grid > * {
  padding-left: 16px; /* Apply padding to each grid item instead */
  padding-right: 16px;
}

.gallery-item {
    border: 1px solid #444; /* Adjusting border color for dark theme */
    background-color: #333; /* Consistent with dark theme */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Adjusted for visibility on dark background */
    box-sizing: border-box;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-item img {
    height: 100%;
    width: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

footer {
  background-color: #000; /* Consistent with the header */
  color: #d1d1d1; /* Text color adjusted for better readability */
  text-align: center;
  padding: 20px 10px;
  margin-top: 20px;
}

/* If you have links or text inside content boxes, you might want to ensure they are also styled appropriately for the dark theme */
.content-box a, .content-box p {
  color: #d1d1d1; /* or any other color that suits the dark theme */
  text-decoration: none; /* Removes underline from links */
  width: 95.5%;
}

.content-box a:hover {
  color: #4a90e2; /* Highlight color for links on hover */
}

.map-container {
  position: relative;
  width: 100%; /* Full width of its parent */
  max-width: 600px; /* Max width can be adjusted to suit your design */
  margin-right: auto; /* Aligns the container to the left */
  margin-left: 10px; /* Adds some space on the left */
  overflow: hidden; /* Ensures no spillover from the iframe */
}

/* This maintains a 16:9 aspect ratio */
.map-container::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.map-container iframe {
  border: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.weather-widget {
    width: 100%; /* Adjust as necessary for your layout */
    /* Add any additional styling needed for the widget here */
}

.email-link {
  color: #4a90e2 !important;/* Replace with your desired color */
}

/* You might also want to style the hover state */
.email-link:hover {
  color: #4affe2; /* Replace with the hover state color */
}

.heading-h1, .heading-h2 {
	color: #cf9c5a; /* Force the color on mobile devices */
}
  
  
@media screen and (max-width: 768px) {
	  .header-email {
		font-size: 16px; /* Adjust font-size to fit on small devices */
		padding: 0 5px; /* Reduce padding */
	  }
	  
	  .heading-h1, .heading-h2 {
		color: #cf9c5a ; /* Force the color on mobile devices */
  }

	  header {
		flex-direction: column; /* Stack items vertically */
		
		align-items: center; /* Center items when stacked in column */
	  }

	  header img {
		width: 100px; /* Adjust logo width on smaller screens */
		height: auto;
		margin-bottom: 10px; /* Adds space between logo and the email */
	  }

	  header nav {
		width: 100%; /* Full width to contain all nav items */
		justify-content: left; /* Center the navigation items */
		padding-top: 10px; /* Space between email and nav items */
		font-size: 16px; /* Adjust nav link font size */
		margin: 5px; /* Adjust spacing around nav links */
		flex-direction: row;
	  }

	header nav a {
	  margin: 0 5%; /* Maintain the horizontal spacing */
	  line-height: 2.5em; /* Increase the line height for more vertical space */
	}

}


@media screen and (max-width: 480px) {
	  .header-email {
		font-size: 14px ; /* Adjust font-size to fit on small devices */
		padding: 0 3px; /* Reduce padding */
	  }
	  
	  .heading-h1, .heading-h2 {
		color: #cf9c5a; /* Force the color on mobile devices */
  }

	  header {
		flex-direction: column; /* Stack items vertically */
		
		align-items: center; /* Center items when stacked in column */
	  }

	  header img {
		width: 100px; /* Adjust logo width on smaller screens */
		height: auto;
		margin-bottom: 10px; /* Adds space between logo and the email */
	  }

	  header nav {
		width: 100%; /* Full width to contain all nav items */
		justify-content: center; /* Center the navigation items */
		padding-top: 6px; /* Space between email and nav items */
		font-size: 10px; /* Adjust nav link font size */
		margin: 3px; /* Adjust spacing around nav links */
	  }

	header nav a {
	  margin: 0 5%; /* Maintain the horizontal spacing */
	  line-height: 1.5em; /* Increase the line height for more vertical space */
	}
}

/* for mobile devices */
@media screen and (orientation: landscape) {
  html, body {
    min-width: 100%; /* Ensures minimum width is always the full width of the viewport */
  }
  
	header nav {
		width: 100%; /* Full width to contain all nav items */
		justify-content: left; /* Center the navigation items */
		padding-top: 4px; /* Space between email and nav items */
		font-size: 1.5vw; /* Adjust nav link font size */
		margin: 2px; /* Adjust spacing around nav links */
		/*flex-direction: column;*/
	  }

	header nav a {
	  margin: 0 5%; /* Maintain the horizontal spacing */
	  line-height: 1.5em; /* Increase the line height for more vertical space */
	}

  /* Optional: You might want to adjust font sizes and other elements for landscape orientation */
}

@media screen and (orientation: portrait) {
    html, body {
    min-width: 100%; /* Ensures minimum width is always the full width of the viewport */
  }
  
	header nav {
		width: 100%; /* Full width to contain all nav items */
		justify-content: left; /* Center the navigation items */
		padding-top: 4px; /* Space between email and nav items */
		font-size: 2.6vw; /* Adjust nav link font size */
		margin: 2px; /* Adjust spacing around nav links */
	  }

	header nav a {
	  margin: 0 5%; /* Maintain the horizontal spacing */
	  line-height: 1.5em; /* Increase the line height for more vertical space */
	}
  
}
