body {
  /* Replace 'background-train.jpg' with your actual image file name */
  background-image: url("80105_background.jpg");

  /* This ensures the image covers the whole screen without stretching */
  background-size: cover;

  /* This keeps the background from moving when you scroll */
  background-attachment: fixed;

  /* This centers the image */
  background-position: center;

  /* This prevents the image from repeating if it's too small */
  background-repeat: no-repeat;

  /* Ensure text stays readable */
  color: #333;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: medium;
}

.container {
  display: flex; /* Activates Flexbox */
  gap: 20px; /* Adds space between the columns */
  align-items: flex-start; /* Keeps columns from stretching weirdly */
}

.column {
  flex: 1; /* Forces both columns to take up equal width */
}

/* Optional: Make it stack on mobile phones */
@media (max-width: 600px) {
  .container {
    flex-direction: column;
  }
}

h2 {
  text-align: center;
}

h3 {
  margin-bottom: 1px;
  text-align: center;
}

h4 {
  text-align: center;
}

/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* Navbar Container */
.navbar {
  background-color: transparent;
  padding: 10px;
}
/* Flexbox Layout */
.nav-links {
  display: flex;
  justify-content: center; /* Centers the 8 links */
  list-style: none;
}

/* Individual Link Spacing */
.nav-links li {
  padding: 0 5px;
}

/* Link Styling */
.nav-links a {
  color: dark blue
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

/* Hover Effect */
.nav-links a:hover {
  color: #ff9900;
}

/* Reset default margins */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Replace the URL with your actual image path */
    background-image: url('80105_background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: Helvitica, Arial, sans-serif;
    min-height: 100vh;
}

/* Simple Nav Bar styling */
.navbar {
    background-color: transparent;
    color: white;
    padding: 10px;
    text-align: center;
}

/* Flexbox Container for the columns */
.main-container {
    display: flex;
    min-height: calc(100vh - 60px); /* Adjust 60px to your nav's height */
}

/* Each column takes exactly 50% */
.column {
    flex: 1; 
    width: 50%;
    padding: 20px;
    /* Optional: semi-transparent background to make text readable */
    background-color: rgba(255, 255, 255, 0.1); 
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.image-container {
  position: relative;
  width: 100%; /* Ensures the container fills the column */
}

.image {
  display: block;
  width: 100%;    /* Forces image to match container width */
  height: auto;   /* Maintains aspect ratio */
}

/* 1. The Container */
  .image-container {
    position: relative;
    width: 100%; /* Match your image width */
  }

  /* 2. The Image */
  .image {
    display: block;
    width: 100%;
    height: auto;
  }

  /* 3. The Overlay (Hidden by default) */
  .overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent black */
    pointer-events: none; /* Ensures the overlay doesn't block clicks */
  }

  /* 4. Show Overlay on Hover */
  .image-container:hover .overlay {
    opacity: 0.5;
  }

    /* 5. Styling the Text */
  .text {
    color: yellow;
    font-size: 15px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the text perfectly */
    text-align: center;
  }

 /* Container for the image and caption */
.side-image {
  width: 50%;             /* Sets the block to 30% width */
  margin: 10px;           /* 10px spacing all around */
  display: inline-block;  /* Ensures the block stays together */
}

/* Controls the image inside the block */
.side-image img {
  width: 100%;            /* Makes image fill the 30% container */
  height: auto;
}

/* Footnote/Caption Styling */
.side-image figcaption {
  font-size: 10px;
  font-style: italic;
  text-align: center;     /* Centers the footnote under the image */
  line-height: 1.2;
}

/* Alignment Classes */
.left {
  float: left;
  margin-left: 0;         /* Flushed to the left edge */
}

.right {
  float: right;
  margin-right: 0;        /* Flushed to the right edge */
}

/* Clearfix: Prevents layout issues if text is too short */
p::after {
  content: "";
  display: table;
  clear: both;
} 

/* This forces the text to wrap around the image */
.side-image.left {
  float: left;
  margin-right: 20px; /* Adds space between image and text */
  margin-bottom: 15px;
  width: 30%; /* Adjust as needed */
}

/* Navbar Container styling */
.navbar {
  background-color: rgba(255, 255, 255, 0.85); /* Semi-transparent white to match your theme */
  padding: 10px 0;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Base navigation list */
.nav-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center; /* Centers the main menu links horizontally */
  align-items: center;
  flex-wrap: wrap;
}

/* Individual list items */
.nav-links > li {
  position: relative; /* Crucial for positioning the dropdown content */
  margin: 0 15px;
}

/* Styling for all top-level links and buttons */
.nav-links a, .dropbtn {
  display: inline-block;
  color: #0056b3; /* Classic British Rail blue accent style */
  text-align: center;
  padding: 10px 16px;
  text-decoration: underline; /* Matches the underline style in your screenshot */
  font-weight: bold;
  font-family: Arial, sans-serif;
  cursor: pointer;
  background: none;
  border: none;
}

/* Hover effects for top items */
.nav-links a:hover, .dropdown:hover .dropbtn {
  color: #003366;
  text-decoration: none;
}

/* --- DROPDOWN MENUS --- */

/* Hide the dropdown menus by default */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 220px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: 4px;
  top: 100%; /* Positions it directly below the parent item */
  left: 50%;
  transform: translateX(-50%); /* Centers the dropdown under the button */
}

/* Links inside the dropdown menu */
.dropdown-content a {
  color: #333333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left; /* Easier to read dropdown items left-aligned */
  font-weight: normal;
  border-bottom: 1px solid #eeeeee;
}

/* Remove border on last dropdown item */
.dropdown-content a:last-child {
  border-bottom: none;
}

/* Hover effect for items inside the dropdown */
.dropdown-content a:hover {
  background-color: #f1f1f1;
  color: #0056b3;
}

/* SHOW the dropdown menu when hovering over the parent list item */
.dropdown:hover .dropdown-content {
  display: block;
}
/* Force the mobile menu checkbox to stay completely invisible on all screens */
input#menu-toggle.menu-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}
/* Don't just hide #my-tickbox. Hide the whole bar: */
.checkbox-bar {
    display: none;
}