/*
Theme Name:  Bulls Bridge Docks
Theme URI:   https://bullsbridge.techwiz.com
Author:      TechWiz
Author URI:  https://techwiz.com
Description: Custom one-page theme for Bulls Bridge Docks — wet and dry docks on the Grand Union Canal, Southall. Features an animated narrowboat-in-dry-dock SVG hero illustration, canal-heritage colour palette, and full responsive layout.
Version:     1.0.0
License:     Proprietary
Tags:        one-page, custom-background, custom-logo, responsive-layout
Text Domain: bullsbridge
*/

/* ============================================================
   BULLS BRIDGE DOCKS — WordPress Theme CSS
   ============================================================ */

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

:root {
  --tar:      #1A1410;
  --dock:     #252018;
  --olive:    #3D4A2E;
  --canal:    #2C5F4A;
  --canal-lt: #3A7A60;
  --brass:    #C49A3C;
  --brass-lt: #DDB84E;
  --rope:     #F0E6C8;
  --rope-dk:  #D4C89A;
  --water:    #1E3F5A;
  --water-lt: #2A5470;
  --rust:     #8B3A1C;
  --steel:    #7A8A82;
  --white:    #FAF7F0;
  --font-display: 'Teko', 'Arial Narrow', sans-serif;
  --font-body:    'Source Serif 4', Georgia, serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--tar);
  color: var(--rope);
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* WordPress injects an admin bar at 32px when logged in — offset fixed nav */
.admin-bar .site-nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .site-nav { top: 46px; }
}

/* ── UTILITY ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 2rem; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--brass);
  display: block; margin-bottom: 0.6rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600; line-height: 1.0;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
}
.divider {
  width: 48px; height: 3px;
  background: var(--brass);
  margin: 1.25rem 0 1.75rem;
}

/* ── NAVIGATION ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(26, 20, 16, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,154,60,0.2);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.8rem;
  text-decoration: none;
}
.nav-brand-mark { width: 40px; height: 40px; }
.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--rope); line-height: 1.1;
}
.nav-brand-name em {
  display: block; font-style: normal;
  color: var(--brass); font-size: 0.75em; letter-spacing: 0.15em;
}
.nav-links {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--steel); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--rope); }
.nav-phone {
  font-family: var(--font-mono) !important;
  font-size: 0.85rem !important;
  color: var(--brass) !important;
  border: 1px solid rgba(196,154,60,0.4);
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  letter-spacing: 0.06em !important;
  transition: background 0.2s, color 0.2s !important;
}
.nav-phone:hover { background: var(--brass) !important; color: var(--tar) !important; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--tar);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  padding: 7rem 2rem 3rem;
}
.hero-brickwork {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0px, transparent 28px, rgba(196,154,60,0.04) 28px, rgba(196,154,60,0.04) 29px),
    repeating-linear-gradient(90deg, transparent 0px, transparent 58px, rgba(196,154,60,0.03) 58px, rgba(196,154,60,0.03) 59px);
}
.hero-brickwork::after {
  content:''; position:absolute; inset:0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0px, transparent 28px, rgba(196,154,60,0.04) 28px, rgba(196,154,60,0.04) 29px),
    repeating-linear-gradient(90deg, transparent 29px, transparent 87px, rgba(196,154,60,0.03) 87px, rgba(196,154,60,0.03) 88px);
  background-position: 0 14px;
}
.hero-content {
  position: relative; z-index: 3;
  text-align: center; max-width: 820px;
}
.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 700; line-height: 0.95;
  text-transform: uppercase; letter-spacing: 0.03em;
  color: var(--white); margin: 0.75rem 0 1rem;
}
.hero-tagline .line-brass { color: var(--brass); }
.hero-tagline .line-canal { color: var(--canal-lt); }
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.2rem); font-style: italic;
  color: var(--rope-dk); max-width: 540px; margin: 0 auto 2rem; line-height: 1.7;
}
.hero-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.btn { display: inline-block; text-decoration: none; border: none; cursor: pointer; }
.btn-brass {
  background: var(--brass); color: var(--tar);
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.7rem 2rem;
  transition: background 0.2s, transform 0.15s;
}
.btn-brass:hover { background: var(--brass-lt); transform: translateY(-2px); }
.btn-ghost {
  border: 1px solid var(--steel); color: var(--rope);
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 0.7rem 2rem;
  transition: border-color 0.2s, transform 0.15s;
}
.btn-ghost:hover { border-color: var(--rope); transform: translateY(-2px); }

/* ── ILLUSTRATION ── */
.hero-illustration { position: relative; z-index: 2; width: 100%; max-width: 900px; margin: 0 auto; }
.hero-illustration svg { width: 100%; height: auto; display: block; }

@keyframes wave1 {
  0%,100% { d: path("M0,20 Q112,8 225,20 Q337,32 450,20 Q562,8 675,20 Q787,32 900,20 L900,60 L0,60Z"); }
  50%      { d: path("M0,28 Q112,16 225,28 Q337,40 450,28 Q562,16 675,28 Q787,40 900,28 L900,60 L0,60Z"); }
}
@keyframes wave2 {
  0%,100% { d: path("M0,32 Q112,20 225,32 Q337,44 450,32 Q562,20 675,32 Q787,44 900,32 L900,60 L0,60Z"); }
  50%      { d: path("M0,24 Q112,12 225,24 Q337,36 450,24 Q562,12 675,24 Q787,36 900,24 L900,60 L0,60Z"); }
}
.wave-path-1 { animation: wave1 4s ease-in-out infinite; }
.wave-path-2 { animation: wave2 4s ease-in-out infinite 0.8s; }
@keyframes bob {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}
.boat-group { animation: bob 4s ease-in-out infinite; transform-origin: center bottom; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--olive); border-top: 2px solid var(--brass); border-bottom: 1px solid rgba(196,154,60,0.2); padding: 1.25rem 2rem; }
.trust-bar-inner { max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: center; }
.trust-item { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rope-dk); }
.trust-item svg { width: 16px; height: 16px; color: var(--brass); flex-shrink: 0; }
.trust-sep { color: rgba(196,154,60,0.25); font-size: 1.2rem; }

/* ── ABOUT ── */
.about-section { background: var(--dock); padding: var(--space-xl) 2rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-body { font-size: 1.05rem; line-height: 1.85; color: var(--rope-dk); }
.about-body p + p { margin-top: 1rem; }
.about-body strong { color: var(--rope); }
.about-quote { margin: 1.75rem 0; border-left: 3px solid var(--brass); padding: 0.5rem 0 0.5rem 1.25rem; font-style: italic; font-size: 1.1rem; color: var(--rope); }
.hull-diagram svg { width: 100%; height: auto; }

/* ── SERVICES ── */
.services-section { background: var(--tar); padding: var(--space-xl) 2rem; }
.services-header { margin-bottom: 3.5rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(196,154,60,0.1); }
.service-card { background: var(--dock); padding: 2.5rem 2rem; position: relative; overflow: hidden; transition: background 0.25s; }
.service-card::before { content: attr(data-num); position: absolute; top: 1.25rem; right: 1.5rem; font-family: var(--font-display); font-size: 4rem; font-weight: 700; color: rgba(196,154,60,0.07); line-height: 1; pointer-events: none; }
.service-card:hover { background: #2a2218; }
.service-icon { width: 52px; height: 52px; margin-bottom: 1.5rem; display: grid; place-items: center; border: 1px solid rgba(196,154,60,0.3); background: rgba(196,154,60,0.06); }
.service-icon svg { width: 26px; height: 26px; color: var(--brass); }
.service-card h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--white); margin-bottom: 0.75rem; }
.service-card p { font-size: 0.92rem; color: var(--steel); line-height: 1.75; }
.service-tag { display: inline-block; margin-top: 1.25rem; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--canal-lt); border: 1px solid rgba(58,122,96,0.4); padding: 0.2rem 0.6rem; }

/* ── PROCESS ── */
.process-section { background: var(--canal); padding: var(--space-lg) 2rem; border-top: 2px solid rgba(196,154,60,0.2); }
.process-inner { max-width: 1160px; margin: 0 auto; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 3rem; position: relative; }
.process-steps::before { content:''; position: absolute; top: 26px; left: 10%; right: 10%; height: 1px; background: rgba(196,154,60,0.3); z-index: 0; }
.process-step { text-align: center; position: relative; z-index: 1; padding: 0 1rem; }
.step-num { width: 52px; height: 52px; border-radius: 50%; background: var(--tar); border: 2px solid var(--brass); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--brass); display: grid; place-items: center; margin: 0 auto 1.25rem; }
.process-step h4 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--white); margin-bottom: 0.5rem; }
.process-step p { font-size: 0.88rem; color: rgba(240,230,200,0.7); line-height: 1.6; }

/* ── FACILITIES ── */
.facilities-section { background: var(--dock); padding: var(--space-xl) 2rem; border-top: 1px solid rgba(196,154,60,0.1); }
.facilities-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.facility-list { margin-top: 2rem; }
.facility-item { display: flex; align-items: flex-start; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid rgba(196,154,60,0.08); }
.facility-item:first-child { border-top: 1px solid rgba(196,154,60,0.08); }
.facility-bullet { width: 8px; height: 8px; background: var(--brass); border-radius: 50%; margin-top: 0.45rem; flex-shrink: 0; }
.facility-item h4 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--white); margin-bottom: 0.2rem; }
.facility-item p { font-size: 0.88rem; color: var(--steel); line-height: 1.5; }
.spec-panel { background: rgba(26,20,16,0.7); border: 1px solid rgba(196,154,60,0.2); border-top: 3px solid var(--brass); padding: 2rem; }
.spec-panel h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: 1.5rem; }
.spec-row { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0; border-bottom: 1px solid rgba(196,154,60,0.06); }
.spec-row:last-child { border-bottom: none; }
.spec-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); }
.spec-value { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; letter-spacing: 0.04em; color: var(--brass); }
.spec-check { width: 20px; height: 20px; background: rgba(44,95,74,0.3); border: 1px solid var(--canal-lt); border-radius: 2px; display: grid; place-items: center; }
.spec-check svg { width: 12px; height: 12px; color: var(--canal-lt); }

/* ── HOURS ── */
.hours-section { background: var(--tar); padding: 5rem 2rem; }
.hours-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 2rem; }
.hours-table tr { border-bottom: 1px solid rgba(196,154,60,0.08); }
.hours-table td { padding: 1rem 0; font-family: var(--font-mono); font-size: 0.85rem; }
.hours-table td:first-child { color: var(--steel); letter-spacing: 0.08em; text-transform: uppercase; }
.hours-table td:last-child { color: var(--rope); text-align: right; }
.hours-table tr.closed td { opacity: 0.35; }
.hours-table tr.closed td:last-child::after { content: ' — CLOSED'; font-size: 0.7rem; letter-spacing: 0.12em; color: var(--rust); margin-left: 0.3rem; }
.hours-note { margin-top: 1.5rem; padding: 1rem 1.25rem; background: rgba(139,58,28,0.12); border-left: 2px solid var(--rust); font-size: 0.85rem; color: var(--rope-dk); line-height: 1.6; }
.hours-right-panel { display: flex; flex-direction: column; gap: 1.5rem; }
.info-card { background: var(--dock); border: 1px solid rgba(196,154,60,0.12); padding: 1.75rem; display: flex; gap: 1.25rem; align-items: flex-start; }
.info-card-icon { width: 44px; height: 44px; flex-shrink: 0; background: rgba(196,154,60,0.08); border: 1px solid rgba(196,154,60,0.2); display: grid; place-items: center; }
.info-card-icon svg { width: 22px; height: 22px; color: var(--brass); }
.info-card h4 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--white); margin-bottom: 0.35rem; }
.info-card a { color: var(--rope); text-decoration: none; }
.info-card a:hover { color: var(--brass); }
.info-card p { font-size: 0.88rem; color: var(--steel); line-height: 1.6; }
.info-card .mono-val { font-family: var(--font-mono); font-size: 0.95rem; color: var(--rope); letter-spacing: 0.04em; }

/* ── LOCATION ── */
.location-section { background: var(--olive); border-top: 2px solid rgba(196,154,60,0.2); padding: 5rem 2rem; }
.location-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.map-frame { border: 1px solid rgba(196,154,60,0.2); overflow: hidden; height: 360px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.6) sepia(0.3) contrast(1.05); }
.location-details { display: flex; flex-direction: column; gap: 1.5rem; }
.location-detail { display: flex; gap: 1rem; align-items: flex-start; }
.location-detail svg { width:20px;height:20px;color:var(--brass);flex-shrink:0;margin-top:3px; }
.location-detail p { font-size: 0.95rem; color: var(--rope-dk); line-height: 1.7; }
.location-detail strong { color: var(--rope); font-weight: 600; display: block; margin-bottom: 0.15rem; }
.location-detail a { color: var(--rope-dk); text-decoration: none; }
.location-detail a:hover { color: var(--brass); }
.canal-route { margin-top: 1.5rem; padding: 1.25rem; background: rgba(26,20,16,0.4); border: 1px solid rgba(196,154,60,0.12); font-size: 0.85rem; color: var(--rope-dk); line-height: 1.7; }
.canal-route strong { color: var(--brass); }

/* ── CTA ── */
.cta-section { background: var(--water); border-top: 2px solid var(--brass); padding: 6rem 2rem; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: 'DOCKS'; position: absolute; font-family: var(--font-display); font-size: 18vw; font-weight: 700; color: rgba(255,255,255,0.025); letter-spacing: 0.2em; top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none; line-height: 1; }
.cta-content { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-section .section-title { font-size: clamp(3rem, 8vw, 6rem); }
.cta-sub { font-size: 1.1rem; color: rgba(240,230,200,0.75); margin: 1rem 0 2.5rem; line-height: 1.7; font-style: italic; }
.cta-contacts { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.cta-contact-item { display: flex; align-items: center; gap: 0.65rem; padding: 1rem 1.75rem; background: rgba(26,20,16,0.5); border: 1px solid rgba(196,154,60,0.25); text-decoration: none; transition: border-color 0.2s, background 0.2s, transform 0.15s; }
.cta-contact-item:hover { border-color: var(--brass); background: rgba(26,20,16,0.8); transform: translateY(-2px); }
.cta-contact-item svg { width:20px;height:20px;color:var(--brass); }
.cta-contact-item span { font-family: var(--font-mono); font-size: 0.9rem; color: var(--rope); letter-spacing: 0.04em; }
.fb-cta { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--rope-dk); font-size: 0.88rem; text-decoration: none; transition: color 0.2s; font-family: var(--font-mono); letter-spacing: 0.06em; }
.fb-cta:hover { color: var(--brass); }
.fb-cta svg { width: 16px; height: 16px; }

/* ── FOOTER ── */
.site-footer { background: #0E0B08; border-top: 1px solid rgba(196,154,60,0.1); padding: 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-brand { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.footer-brand em { font-style: normal; color: var(--brass); }
.footer-copy { font-size: 0.78rem; color: rgba(122,138,130,0.45); }
.footer-loc { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: rgba(122,138,130,0.3); text-transform: uppercase; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps::before { display: none; }
  .about-grid, .facilities-layout, .hours-layout, .location-layout { grid-template-columns: 1fr; gap: 3rem; }
  .nav-links { display: none; }
  .cta-section::before { display: none; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .trust-sep { display: none; }
  .site-footer { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .wave-path-1, .wave-path-2, .boat-group { animation: none; }
  .btn-brass, .btn-ghost, .cta-contact-item { transition: none; }
}
