/*
 * Fresh design stylesheet for Lancing UK static pages
 *
 * This stylesheet defines a clean, modern look for the website
 * while preserving the original content. It introduces a simple
 * typography system, a responsive grid layout, and a cohesive
 * colour palette. Components such as the header, navigation,
 * hero sections, content areas, call‑to‑actions and footer
 * are styled to create a unified visual identity.
 */

/* Base styles */



.img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Containers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}



/* Hero section */
.hero {
  position: relative;
  overflow: hidden;
  height: 60vh;
  min-height: 380px;
  /* Default background colour so text remains legible if media fails to load */
  background-color: #102e4a;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero video,
.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  z-index: -1;
}

.hero .content {
  max-width: 800px;
  padding: 20px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: #f1f5f9;
}

.hero .btn {
  margin-top: 10px;
}

/* Sections */
.section {
  padding: 60px 0;
  background-color: #ffffff;
}

.section-alt {
  background-color: #f1f5f9;
}

.section-heading {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #102e4a;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  margin-bottom: 30px;
  text-align: center;
  color: #475569;
}

.section-divider {
  height: 4px;
  width: 100px;
  margin: 20px auto;
  background: linear-gradient(to right, #0066cc, #00bfff);
  border-radius: 2px;
}

/* Grid / columns */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  padding: 0 15px;
  flex: 1;
  min-width: 280px;
  box-sizing: border-box;
}

.col-6 {
  flex: 0 0 50%;
}

.col-4 {
  flex: 0 0 33.3333%;
}

.col-8 {
  flex: 0 0 66.6666%;
}

/* Lists */
.list-check {
  list-style: none;
  padding-left: 0;
}

.list-check li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
}

.list-check li::before {
  content: "\2714";
  position: absolute;
  left: 0;
  top: 0;
  color: #0066cc;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.btn-primary {
  background-color: #0066cc;
  color: #ffffff;
  border: none;
}

.btn-primary:hover {
  background-color: #005bb5;
}

.btn-light {
  background-color: #f8f9fa;
  color: #0066cc;
  border: 1px solid #0066cc;
}

.btn-light:hover {
  background-color: #e2e6ea;
}

/* CTA strip */
.cta-strip {
  background-color: #0066cc;
  color: #ffffff;
  padding: 40px 0;
}

.cta-strip .row {
  align-items: center;
  justify-content: space-between;
}

.cta-title {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

/* Feature items */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}

.feature-item {
  flex: 0 1 280px;
  text-align: center;
}

.feature-item span {
  display: block;
  margin-top: 12px;
  font-weight: 500;
}

/* Contact form */
.contact-form {
  margin-top: 30px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
}


/* Responsive helpers */
@media (max-width: 768px) {
 
  .cta-strip .row {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .cta-strip .btn {
    width: 100%;
  }
  .row {
    margin: 0;
  }
  .col {
    padding: 0;
    flex: 1 1 100%;
  }
  .col-6, .col-4, .col-8 {
    flex: 1 1 100%;
  }
}