/* ============================================================
   UK Skips Direct – West Yorkshire Skip Hire Pages
   Shared Stylesheet – matches main site branding
   ============================================================ */

:root {
  --brand-dark: #0a0f1e;
  --brand-navy: #0d1b2a;
  --brand-yellow: #e8720c;
  --brand-yellow-hover: #d4650a;
  --brand-orange: var(--brand-yellow);
  --brand-orange-hover: var(--brand-yellow-hover);
  --brand-orange-light: #f5a44a;
  --brand-red: #e03131;
  --brand-white: #ffffff;
  --brand-light: #f4f6fb;
  --brand-border: #e0e4ef;
  --brand-text: #1a1a2e;
  --brand-muted: #5a6072;
  --brand-green: #2d9e5f;
  --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
  --radius: 8px;
  --radius-lg: 14px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--brand-text);
  background: var(--brand-white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ---- TOP BAR ---- */
.top-bar {
  background: var(--brand-dark);
  color: #cdd3e0;
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar a { color: #cdd3e0; }
.top-bar a:hover { color: var(--brand-yellow); }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 18px; }
.top-bar-item { display: flex; align-items: center; gap: 6px; }

/* ---- HEADER ---- */
header {
  background: var(--brand-navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-img {
  height: 46px;
  width: auto;
}
.logo-text {
  color: var(--brand-white);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
}
.logo-text span { color: var(--brand-yellow); display: block; font-size: 12px; font-weight: 400; }

nav { display: flex; align-items: center; gap: 6px; }
nav a {
  color: #c8d0e0;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}
nav a:hover { color: var(--brand-white); background: rgba(255,255,255,0.08); }
.nav-cta {
  background: var(--brand-yellow) !important;
  color: var(--brand-dark) !important;
  font-weight: 700 !important;
  padding: 9px 18px !important;
  border-radius: 6px !important;
}
.nav-cta:hover { background: var(--brand-yellow-hover) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; border: none; background: transparent; outline: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--brand-white); border-radius: 2px; transition: 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- CONTAINER ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-navy) 60%, #162340 100%);
  color: var(--brand-white);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,114,12,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.hero-breadcrumb a { color: rgba(255,255,255,0.55); }
.hero-breadcrumb a:hover { color: var(--brand-yellow); }
.hero-breadcrumb span { color: rgba(255,255,255,0.35); margin: 0 6px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232,114,12,0.15);
  border: 1px solid rgba(232,114,12,0.3);
  color: var(--brand-yellow);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 740px;
}
.hero h1 .highlight { color: var(--brand-yellow); }
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  max-width: 620px;
  margin-bottom: 28px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.hero-trust-item span {
  font-size: 16px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-yellow);
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--brand-yellow-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,114,12,0.3); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--brand-white);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 8px;
  border: 2px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--brand-white); background: rgba(255,255,255,0.08); }

/* ---- TRUST BAR ---- */
.trust-bar {
  background: var(--brand-yellow);
  padding: 14px 0;
}
.trust-bar-top {
  display: block;
}
.trust-bar-bottom {
  display: none;
}
.trust-bar-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-dark);
}
.trust-item .icon { font-size: 18px; }

/* ---- SECTION STYLES ---- */
section { padding: 64px 0; }
section.alt-bg { background: var(--brand-light); }
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--brand-yellow);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--brand-dark);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 16px;
  color: var(--brand-muted);
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: 36px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---- CONTENT PROSE ---- */
.prose { max-width: 820px; }
.prose p { margin-bottom: 16px; color: #3a3f52; line-height: 1.75; }
.prose h2 { font-size: 26px; font-weight: 800; color: var(--brand-dark); margin: 32px 0 12px; }
.prose h3 { font-size: 20px; font-weight: 700; color: var(--brand-dark); margin: 24px 0 10px; }
.prose ul { list-style: none; margin: 12px 0 20px; }
.prose ul li { padding: 4px 0 4px 22px; position: relative; color: #3a3f52; }
.prose ul li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-green); font-weight: 700; }

/* ---- CARDS GRID ---- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.card {
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card-icon { font-size: 32px; margin-bottom: 14px; }
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--brand-dark); }
.card p { font-size: 14px; color: var(--brand-muted); line-height: 1.6; }
.card-link { display: inline-flex; align-items: center; gap: 5px; color: var(--brand-yellow); font-size: 14px; font-weight: 600; margin-top: 12px; }

/* ---- SKIP SIZES ---- */
.sizes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.size-card {
  background: var(--brand-white);
  border: 2px solid var(--brand-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.25s;
  position: relative;
}
.size-card:hover { border-color: var(--brand-yellow); box-shadow: var(--shadow-md); }
.size-card.popular { border-color: var(--brand-yellow); }
.size-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-yellow);
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.size-yards {
  font-size: 36px;
  font-weight: 900;
  color: var(--brand-yellow);
  line-height: 1;
  margin-bottom: 4px;
}
.size-unit { font-size: 14px; color: var(--brand-muted); margin-bottom: 10px; }
.size-name { font-size: 17px; font-weight: 700; color: var(--brand-dark); margin-bottom: 8px; }
.size-desc { font-size: 13px; color: var(--brand-muted); margin-bottom: 14px; line-height: 1.5; }
.btn-sm {
  display: inline-block;
  background: var(--brand-yellow);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  transition: background 0.2s;
}
.btn-sm:hover { background: var(--brand-yellow-hover); }

/* ---- AREA LINKS ---- */
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.area-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-text);
  transition: all 0.2s;
}
.area-link:hover { background: var(--brand-yellow); color: var(--brand-dark); border-color: var(--brand-yellow); }
.area-link .arrow { margin-left: auto; color: var(--brand-yellow); }
.area-link:hover .arrow { color: var(--brand-dark); }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-navy) 100%);
  color: var(--brand-white);
  padding: 56px 0;
  text-align: center;
}
.cta-banner h2 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.7); margin-bottom: 26px; font-size: 16px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- BOOKING FORM ---- */
.booking-section { background: var(--brand-light); }
.booking-wrapper {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}
.booking-header {
  background: var(--brand-dark);
  color: var(--brand-white);
  padding: 26px 32px;
}
.booking-header h2 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.booking-header p { color: rgba(255,255,255,0.65); font-size: 14px; }
.booking-body { padding: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--brand-border);
  border-radius: 7px;
  font-size: 15px;
  font-family: var(--font-main);
  color: var(--brand-text);
  background: var(--brand-white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--brand-yellow); }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit { margin-top: 8px; }
.btn-submit {
  width: 100%;
  background: var(--brand-yellow);
  color: var(--brand-dark);
  font-size: 16px;
  font-weight: 800;
  padding: 15px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-submit:hover { background: var(--brand-yellow-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,114,12,0.3); }
.form-note { font-size: 12px; color: var(--brand-muted); text-align: center; margin-top: 10px; }

/* ---- FAQ ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--brand-border);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--brand-white);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-family: var(--font-main);
}
.faq-question:hover { background: var(--brand-light); }
.faq-icon { font-size: 20px; color: var(--brand-yellow); flex-shrink: 0; transition: transform 0.3s; }
.faq-answer { display: none; padding: 0 22px 18px; font-size: 15px; color: #3a3f52; line-height: 1.7; }
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ---- WHY CHOOSE ---- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.why-card {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  padding: 26px;
  border-left: 4px solid var(--brand-yellow);
  box-shadow: var(--shadow-sm);
}
.why-card .icon { font-size: 28px; margin-bottom: 12px; }
.why-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--brand-dark); }
.why-card p { font-size: 14px; color: var(--brand-muted); line-height: 1.6; }

/* ---- NEARBY ---- */
.nearby-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 10px; }
.nearby-link {
  display: block;
  padding: 10px 14px;
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-text);
  transition: all 0.2s;
}
.nearby-link:hover { background: var(--brand-dark); color: var(--brand-white); border-color: var(--brand-dark); }

/* ---- BREADCRUMB (page inline) ---- */
.breadcrumb-bar { background: var(--brand-light); border-bottom: 1px solid var(--brand-border); padding: 11px 0; font-size: 13px; }
.breadcrumb-bar a { color: var(--brand-muted); }
.breadcrumb-bar a:hover { color: var(--brand-yellow); }
.breadcrumb-bar span { color: var(--brand-muted); margin: 0 6px; }
.breadcrumb-bar strong { color: var(--brand-dark); }

/* ---- PERMIT NOTICE ---- */
.permit-box {
  background: #fffbeb;
  border: 1px solid #f0d060;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.permit-box .pi { font-size: 22px; flex-shrink: 0; }
.permit-box p { font-size: 14px; color: #6b5000; line-height: 1.6; }
.permit-box strong { color: #4a3700; }

/* ---- FOOTER ---- */
footer {
  background: var(--brand-dark);
  color: #b0b8cc;
  padding: 52px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 42px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-col h4 { color: var(--brand-white); font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { color: #b0b8cc; font-size: 14px; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--brand-yellow); }
.footer-logo-text { font-size: 20px; font-weight: 800; color: var(--brand-white); margin-bottom: 10px; }
.footer-logo-text span { color: var(--brand-yellow); }
.footer-desc { font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 8px; }
.footer-contact-item a { color: #b0b8cc; }
.footer-contact-item a:hover { color: var(--brand-yellow); }
.footer-bottom {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.footer-bottom a { color: #b0b8cc; margin-left: 18px; }
.footer-bottom a:hover { color: var(--brand-yellow); }

/* ---- MOBILE ---- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 15px; margin-bottom: 20px; }
  .hero-actions { flex-direction: column; gap: 8px; }
  .hero-actions .btn-primary, .hero-actions .btn-outline { width: 100%; justify-content: center; }
  .hero-trust { display: none; }
  
  /* Hamburger and Navigation Overlay */
  .hamburger {
    display: flex;
    position: relative;
    z-index: 10000;
  }
  nav { display: none; }
  nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--brand-dark);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 40px;
  }
  nav.open a {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
  }
  nav.open a:hover {
    color: var(--brand-yellow);
    background: none;
  }
  nav.open .nav-cta {
    margin-top: 10px;
    width: 80%;
    text-align: center;
    background: var(--brand-yellow) !important;
    color: var(--brand-dark) !important;
    border-radius: 30px !important;
  }

  /* Trust Bar (Under-Header) Responsive Badge Grid */
  .trust-bar-top {
    display: none;
  }
  .trust-bar-bottom {
    display: block;
    margin-top: 0;
    margin-bottom: 0;
  }
  .trust-bar {
    padding: 12px 0;
  }
  .trust-bar-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
  }
  .trust-item {
    font-size: 12px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
  }

  /* Booking Form UX spacing */
  .booking-header { padding: 18px 20px; }
  .booking-body { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; gap: 12px; }
  .form-group.full { grid-column: 1; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 14px; }
  .footer-bottom a { margin: 0 8px; }
  .top-bar .container { justify-content: center; }
  .top-bar-right { display: none; }
  .top-bar-left { gap: 12px; }
  
  .cards-grid, .why-grid { grid-template-columns: 1fr; }
  .sizes-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .top-bar-left { flex-direction: column; gap: 4px; text-align: center; }
  .trust-bar-inner { grid-template-columns: 1fr; }
  .trust-item { font-size: 13px; }
  .area-grid { grid-template-columns: 1fr; }
  .nearby-grid { grid-template-columns: 1fr; }
}
