/* Base and background */
body, html {
  margin: 0;
  padding: 20px;
  height: 100%;
  font-family: Arial, sans-serif;
  color: white;
  background: url('images/van-background.jpg') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  box-sizing: border-box;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5); /* keeps dark overlay */
  z-index: 0;
}

/* Top bar */
.top-bar {
  background-color: #f47e03;
  color: white;
  padding: 10px 20px;
  font-size: 14px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.top-bar a {
  color: white;
  text-decoration: none;
}

/* Logo + nav container */
.logo-nav {
  display: flex;
  align-items: center;
  background: white;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
  position: relative;
  z-index: 2;
  justify-content: center;
  gap: 40px;
}

.logo-nav .mdf-logo {
  height: 100px;
}

.gas-safe {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #444;
  font-weight: bold;
  font-size: 14px;
}

.gas-safe img {
  height: 60px;
  margin-bottom: 5px;
}

.logo-nav nav {
  display: flex;
  gap: 20px;
}

.logo-nav nav a {
  text-decoration: none;
  color: #444;
  font-weight: bold;
  font-size: 16px;
}

.logo-nav nav a:hover {
  color: #f47e03;
}

@media (max-width: 600px) {
  .logo-nav {
    flex-direction: column;
    gap: 20px;
  }
  .logo-nav .mdf-logo,
  .gas-safe {
    margin-right: 0;
  }
  .logo-nav nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
}

/* Main content container */
main, .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 40px auto 60px;
  background: rgba(0, 0, 0, 0.7); /* changed to dark background for contrast */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  color: white; /* bright text */
  box-sizing: border-box;
  text-align: center;
}

/* Headings */
h1, h2 {
  color: #f47e03; /* brand orange */
  margin-bottom: 20px;
}

/* Paragraphs */
p {
  line-height: 1.6;
  color: #fff; /* white text */
  text-align: left;
}

/* Services sections */
section.service {
  background: rgba(0, 0, 0, 0.7); /* match background */
  padding: 20px;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  color: white;
  text-align: left;
}

section.service h2 {
  margin-top: 0;
  color: #f47e03;
}

/* Testimonials */
.testimonial {
  background: rgba(255, 255, 255, 0.9);
  margin: 20px auto;
  padding: 15px;
  border-radius: 8px;
  max-width: 700px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  color: #333;
  text-align: left;
}

.testimonial h3 {
  margin: 0 0 5px 0;
  color: #e66000;
}

.stars {
  color: #f5c518;
  font-size: 1.2em;
}

.owner-reply {
  font-style: italic;
  color: #555;
  margin-top: 10px;
}

/* Forms */
form label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #fff;
  text-align: left;
}

form input, form textarea {
  width: 100%;
  margin-top: 5px;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
  color: #333;
}

form button {
  margin-top: 15px;
  padding: 10px 20px;
  background: #e66000;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
}

form button:hover {
  background: #bf5000;
}

/* Image gallery */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.image-gallery img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

/* Review button */
.review-btn {
  display: inline-block;
  background-color: #e66000;
  color: white;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1em;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.review-btn:hover {
  background-color: #bf5000;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  main, .container {
    margin: 20px 10px 40px;
    padding: 15px;
  }

  .image-gallery {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}
