header {
    /* Header-specific styling without adding a new background */
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin: 20px;
}

/* Your existing styles */
body {
    background-image: url("lighthouse-3.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Keeps the background image fixed as you scroll */
    background-position: center;
    margin: 20px; /* Allows background photo to show around the edges */
    color: white;
    padding: 20px;
    /* background-color: whitesmoke;  <-- Consider removing or make semi-transparent */
}

/* Navbar styles */
nav {
    background-color: #333; /* Navbar background color */
    padding: 10px;
}

nav ul {
    list-style-type: none; /* Removes bullet points from the list */
    margin: 0;
    padding: 0;
    display: flex; /* Makes the list items inline */
    justify-content: center; /* Optional: Centers the navbar items */
}

nav li {
    margin: 0 15px; /* Space between the items */
}

nav a {
    text-decoration: none; /* Removes underline from the links */
    color: white; /* Link color */
    font-weight: bold;
}

nav a:hover {
    color: #ffa500; /* Changes color when hovered */
}

/* Add my suggested styles below */

/* Base font & layout */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  margin: 0; /* or less */
  padding: 20px;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Main container */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: rgba(255, 255, 255, 0.85); /* semi-transparent white background so text is readable */
  color: #333; /* Override white text to dark inside container */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow-x: hidden; /* Hide horizontal overflow */
}

/* Section layout */
.section-left, .section-right {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin: 40px 0;
  color: #333; /* override white text */
}

.section-right {
  flex-direction: row-reverse;
}

/* Images */
.section-left img,
.section-right img {
  width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Paragraph styling */
.section-left p,
.section-right p {
  flex: 1;
  font-size: 1rem;
  background: white;
  padding: 30px 40px; /* increased padding for bigger text box */
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  color: #333;
}

/* Bold highlights inside paragraphs */
p strong {
  font-weight: 700;
  color: #2e3b4e;
}

/* Responsive */
@media (max-width: 768px) {
  .section-left, .section-right {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .section-left img, .section-right img {
    width: 90%;
    max-width: 400px;
  }
  
  .section-left p, .section-right p {
    width: 100%;
  }
  
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
}

/* Container for the paragraph + list with white background */
.content-box {
  background: white;
  padding: 30px 40px; /* increased padding for larger text area */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: 0 auto;
  color: #333;
}

/* Images framing the content box */
.images-top, .images-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  max-width: 700px;      /* limit width */
  margin-left: auto;
  margin-right: auto;
}

/* Additional margin on bottom images to separate them below text */
.images-bottom {
  margin-top: 30px;  /* push down from text */
  margin-bottom: 20px;
}

.images-top img, .images-bottom img {
  width: 120px;      /* smaller width */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  object-fit: cover;
}

/* Responsive for images stacking */
@media (max-width: 768px) {
  .images-top, .images-bottom {
    flex-direction: column;
    gap: 15px;
  }

  .images-top img, .images-bottom img {
    width: 90%;
    max-width: 300px;
  }
}

/* Rotated image smaller to match others */
.rotated-image {
  transform: rotate(-90deg);
  width: 300px;         /* smaller width */   
  max-height: 300px;    /* smaller height */
  height: auto;
  transform-origin: center;
  object-fit: contain;
}
/* Remove any float or flex layout from images-bottom */
.images-bottom {
  display: flex;
  justify-content: center;  /* center images horizontally */
  gap: 20px;
  margin: 30px 0 40px 0;    /* space above and below */
  max-width: 100%;          /* full width to stretch across container */
}

/* Images inside bottom container */
.images-bottom img {
  width: 120px;             /* small image size */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  object-fit: cover;
}
.services-text {
  background: white;
  color: #333;
  padding: 20px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width: 700px;
  margin-top: 20px; /* space above the text */
}
