/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}

/* Container */
.container {
  max-width: 1000px;
  margin: auto;
  padding: 25px;
  background: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

/* Main Logo */
.banner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 25px;
  margin: 0 auto;
  /* Remove fixed width/height: */
  width: 100%;
  height: auto;

}

.main-logo {
  max-height: 150px;
  /* adjust to taste */
  max-width: 100%;
  display: block;
}

/* Navigation Bar */
.navigation-bar {
  margin-bottom: 20px;
  background-color: #007acc;
  padding: 10px 0;
  text-align: center;
  border-radius: 6px;
}

.navigation-bar a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
}

.navigation-bar a:hover {
  text-decoration: underline;
}

/* Headings */
h1,
h2,
h3,
h4 {
  color: #007acc;
  margin-top: 20px;
}

/* Paragraphs */
p {
  margin: 10px 0;
}

/* Service Groups */
.service-group {
  margin-bottom: 40px;
}

/*Lists*/
ul {
  padding-left: 20px;
}

/* Contact Table */

.contact-table td {
  word-break: break-word;   /* allow long words / emails to wrap */
  max-width: 100%;          /* prevent cell from exceeding table width */
}

.contact-table {
  width: 100%;
  max-width: 100%; /* prevent overflow */
  border-collapse: collapse;
  margin-top: 10px;
  margin-bottom: 30px;
  table-layout: auto; /* let table cells size naturally */
  word-wrap: break-word; /* wrap long text */
}

.contact-table th,
.contact-table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

.contact-table th {
  background-color: #e0f3ff;
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .contact-table, .contact-table thead, .contact-table tbody, .contact-table th, .contact-table td, .contact-table tr {
    display: block; /* stack everything */
  }

  .contact-table tr {
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
  }

  .contact-table th {
    display: none; /* hide headers for stacked layout */
  }

  .contact-table td {
    text-align: right;
    padding-left: 50%;
    position: relative;
    white-space: normal; /* allow wrapping */
  }

  .contact-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    font-weight: bold;
    text-align: left;
  }
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 20px auto;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form input[type="submit"] {
  background-color: #007acc;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-form input[type="submit"]:hover {
  background-color: #005fa3;
}

/* Footer */
footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
  color: #666;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .navigation-bar a {
    display: inline-block;
    margin: 8px 5px;
  }

  .container {
    padding: 15px;
  }

  .contact-form {
    padding: 0 10px;
  }
}

/* Booking Form Styles */
#booking {
  margin-top: 40px;
  padding: 20px;
  background-color: #f0f8ff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.booking-form label {
  font-weight: bold;
}

.booking-form input[type="text"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: vertical;
}

.booking-form input[type="submit"] {
  background-color: #007acc;
  color: white;
  font-weight: bold;
  border: none;
  padding: 12px;
  border-radius: 5px;
  cursor: pointer;
  width: fit-content;
  margin-top: 10px;
}

.booking-form input[type="submit"]:hover {
  background-color: #005fa3;
}

/* Glossary Terms */

.glossary-table {
  width: 100%;
  border-collapse: collapse;
}

.glossary-table th,
.glossary-table td {
  border: 2px solid #007acc;
  padding: 10px
}

.glossary-table th {
  font-weight: bold;
}

/* button/text links */

.button-link {
  font-weight: bold;
  text-decoration: none;
  color: #007acc;
}


.text-link {
  text-decoration: none;
  color: #007acc
}