/* ============================================
   CQ ROVER AVV CENTRE - Logo-matched Theme
   Black / Red / White (matches official logo)
   ============================================ */

:root {
  --primary: #111111;          /* Near black */
  --primary-dark: #000000;
  --accent: #e30613;           /* Logo red */
  --accent-hover: #b8050f;
  --cream: #f7f7f7;            /* Light neutral background */
  --cream-dark: #eeeeee;
  --dark: #0a0a0a;
  --text: #1a1a1a;
  --muted: #555555;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 4px 16px rgba(0,0,0,0.10);
  --radius: 4px;
  --font-heading: 'Roboto Slab', Georgia, serif;
  --font-body: 'Open Sans', system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--cream);
  background-image: url('../images/logo.png');
  background-repeat: no-repeat;
  background-position: center 40%;
  background-size: min(70vw, 620px);
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Soft overlay so logo is a subtle watermark and text stays readable */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(247, 247, 247, 0.88);
  pointer-events: none;
  z-index: 0;
}

/* Keep all page content above the watermark */
body > * {
  position: relative;
  z-index: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

h1 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--white);
}

/* ========== HEADER ========== */
.site-header {
  background: var(--primary-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
}

.logo img {
  height: 52px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.logo-text span {
  font-size: 0.7rem;
  opacity: 0.85;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  color: rgba(255,255,255,0.9);
  padding: 0.5rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.nav a:hover,
.nav a.active {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.nav .btn-book {
  background: var(--accent);
  color: var(--white) !important;
  margin-left: 0.5rem;
}

.nav .btn-book:hover {
  background: var(--accent-hover);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2a0a0a 100%);
  color: var(--white);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e30613' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
}

/* Large faded logo in the hero background (right side) */
.hero::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  background: url('../images/logo.png') center / contain no-repeat;
  opacity: 0.12;
  pointer-events: none;
  filter: grayscale(0.2) brightness(1.4);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.95;
  margin-bottom: 1.75rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.hero-meta strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.75;
  margin-bottom: 0.15rem;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-dark:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* ========== TRUST BAR ========== */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  padding: 1.25rem 0;
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
  text-align: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.trust-item span {
  font-size: 1.4rem;
}

/* ========== SERVICES ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: rgba(227, 6, 19, 0.35);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: rgba(227, 6, 19, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.service-card h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1rem;
}

.service-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
}

.service-price small {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  display: block;
  margin-top: 0.15rem;
}

.price-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-content h2 {
  text-align: left;
  margin-bottom: 1rem;
}

.about-content p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.licence-box {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.licence-box h4 {
  margin-bottom: 0.6rem;
  color: var(--primary-dark);
}

.licence-box ul {
  list-style: none;
  font-size: 0.95rem;
}

.licence-box li {
  margin-bottom: 0.3rem;
}

.licence-box strong {
  color: var(--primary);
}

.about-image {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}

.about-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* ========== BOOKING / CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
}

.contact-info h2 {
  text-align: left;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.contact-details {
  list-style: none;
  margin-bottom: 2rem;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  font-size: 1rem;
}

.contact-details .icon {
  width: 40px;
  height: 40px;
  background: rgba(227, 6, 19, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--accent);
}

.contact-details a {
  color: var(--text);
  font-weight: 600;
}

.contact-details a:hover {
  color: var(--accent);
}

/* Form */
.booking-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.booking-form h3 {
  margin-bottom: 0.35rem;
}

.form-intro {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--primary-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.18);
  background: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-message {
  display: none;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.form-message.success {
  display: block;
  background: #e6f4ea;
  color: #1e5c2e;
  border: 1px solid #b7dfc2;
}

.form-message.error {
  display: block;
  background: #fce8e6;
  color: #8a1f11;
  border: 1px solid #f5c6c2;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo-text strong {
  color: var(--white);
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  opacity: 0.8;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  background: var(--primary-dark);
  color: var(--white);
  padding: 2.75rem 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 0.4rem;
}

.page-hero p {
  opacity: 0.85;
  max-width: 520px;
  margin: 0 auto;
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    height: 240px;
    order: -1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
  }

  .nav .btn-book {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero::after {
    width: 80vw;
    height: 80vw;
    right: -20%;
    opacity: 0.08;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .trust-items {
    gap: 1.25rem 1.5rem;
  }

  /* Slightly stronger overlay on mobile so content stays clear */
  body::before {
    background: rgba(247, 247, 247, 0.92);
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 42px;
    max-width: 180px;
  }

  .logo-text strong {
    font-size: 1rem;
  }

  .section {
    padding: 3rem 0;
  }
}