/* Timing Chain Crawley - Minimal CSS */
/* Replaces ~100KB Tailwind CDN with ~8KB custom CSS */

/* CSS Reset & Base */
*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}
*{--tw-shadow:0 0 #0000;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000}
html{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:'Open Sans',sans-serif;font-feature-settings:normal}
body{margin:0;line-height:inherit;background-color:#fafafa;color:#222222;font-family:'Open Sans',sans-serif}
h1,h2,h3{font-family:'Montserrat',sans-serif;color:#222222;font-weight:700;margin:0}
p,ul,li{margin:0}
button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}
svg{display:block;vertical-align:middle}
a{color:inherit;text-decoration:inherit}
input,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}

/* Smooth Scrolling */
.scroll-smooth{scroll-behavior:smooth}

/* Layout Utilities */
.container{width:100%;margin-left:auto;margin-right:auto;padding-left:1rem;padding-right:1rem}
@media(min-width:640px){.container{max-width:640px}}
@media(min-width:768px){.container{max-width:768px}}
@media(min-width:1024px){.container{max-width:1024px}}
@media(min-width:1280px){.container{max-width:1280px}}

/* Display */
.block{display:block}
.flex{display:flex}
.grid{display:grid}
.hidden{display:none}
@media(min-width:768px){.md\:flex{display:flex}.md\:hidden{display:none}}

/* Flexbox */
.flex-col{flex-direction:column}
.flex-wrap{flex-wrap:wrap}
.items-center{align-items:center}
.items-start{align-items:flex-start}
.justify-center{justify-content:center}
.justify-between{justify-content:space-between}

/* Grid */
.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}
.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:640px){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}}
@media(min-width:768px){.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1024px){.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Spacing */
.gap-4{gap:1rem}
.gap-6{gap:1.5rem}
.gap-8{gap:2rem}
.gap-12{gap:3rem}
.gap-x-8{column-gap:2rem}
.gap-y-4{row-gap:1rem}
.space-x-4>:not([hidden])~:not([hidden]){margin-left:1rem}
.space-x-6>:not([hidden])~:not([hidden]){margin-left:1.5rem}
.space-y-1>:not([hidden])~:not([hidden]){margin-top:0.25rem}
.space-y-4>:not([hidden])~:not([hidden]){margin-top:1rem}
.space-y-5>:not([hidden])~:not([hidden]){margin-top:1.25rem}
.space-y-8>:not([hidden])~:not([hidden]){margin-top:2rem}

/* Positioning */
.absolute{position:absolute}
.relative{position:relative}
.fixed{position:fixed}
.inset-0{top:0;right:0;bottom:0;left:0}
.top-0{top:0}
.left-0{left:0}
.right-0{right:0}
.bottom-0{bottom:0}
.bottom-5{bottom:1.25rem}
.right-5{right:1.25rem}
.z-10{z-index:10}
.z-40{z-index:40}
.z-50{z-index:50}
.z-60{z-index:60}
.z-9999{z-index:9999}

/* Width & Height */
.w-full{width:100%}
.w-6{width:1.5rem}
.w-4{width:1rem}
.w-24{width:6rem}
.h-full{height:100%}
.h-1{height:0.25rem}
.h-4{height:1rem}
.h-5{height:1.25rem}
.h-6{height:1.5rem}
.h-10{width:2.5rem;height:2.5rem}
.h-48{height:12rem}
.min-h-\[40vh\]{min-height:40vh}
.min-h-\[60vh\]{min-height:60vh}
.min-h-\[70vh\]{min-height:70vh}
.max-w-none{max-width:none}
.max-w-2xl{max-width:42rem}
.max-w-3xl{max-width:48rem}
.max-w-4xl{max-width:56rem}
@media(min-width:768px){.md\:min-h-\[70vh\]{min-height:70vh}}

/* Padding & Margin */
.p-3{padding:0.75rem}
.p-4{padding:1rem}
.p-6{padding:1.5rem}
.p-8{padding:2rem}
.px-4{padding-left:1rem;padding-right:1rem}
.px-6{padding-left:1.5rem;padding-right:1.5rem}
.px-8{padding-left:2rem;padding-right:2rem}
.py-3{padding-top:0.75rem;padding-bottom:0.75rem}
.py-4{padding-top:1rem;padding-bottom:1rem}
.py-8{padding-top:2rem;padding-bottom:2rem}
.py-12{padding-top:3rem;padding-bottom:3rem}
.py-16{padding-top:4rem;padding-bottom:4rem}
.py-20{padding-top:5rem;padding-bottom:5rem}
.pb-12{padding-bottom:3rem}
.pb-16{padding-bottom:4rem}
.pt-20{padding-top:5rem}
.pt-24{padding-top:6rem}
.mb-2{margin-bottom:0.5rem}
.mb-4{margin-bottom:1rem}
.mb-6{margin-bottom:1.5rem}
.mb-8{margin-bottom:2rem}
.mb-12{margin-bottom:3rem}
.mt-1{margin-top:0.25rem}
.mt-2{margin-top:0.5rem}
.mt-6{margin-top:1.5rem}
.mt-auto{margin-top:auto}
.mx-auto{margin-left:auto;margin-right:auto}
.ml-3{margin-left:0.75rem}
.pl-6{padding-left:1.5rem}
@media(min-width:768px){.md\:py-24{padding-top:6rem;padding-bottom:6rem}}

/* Typography */
.text-xs{font-size:0.75rem;line-height:1rem}
.text-sm{font-size:0.875rem;line-height:1.25rem}
.text-lg{font-size:1.125rem;line-height:1.75rem}
.text-xl{font-size:1.25rem;line-height:1.75rem}
.text-2xl{font-size:1.5rem;line-height:2rem}
.text-3xl{font-size:1.875rem;line-height:2.25rem}
.text-4xl{font-size:2.25rem;line-height:2.5rem}
.text-5xl{font-size:3rem;line-height:1}
.text-6xl{font-size:3.75rem;line-height:1}
.font-bold{font-weight:700}
.font-semibold{font-weight:600}
.font-medium{font-weight:500}
.font-heading{font-family:'Montserrat',sans-serif}
.text-center{text-align:center}
@media(min-width:640px){.sm\:text-sm{font-size:0.875rem;line-height:1.25rem}}
@media(min-width:768px){.md\:text-xl{font-size:1.25rem;line-height:1.75rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-4xl{font-size:2.25rem;line-height:2.5rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:text-6xl{font-size:3.75rem;line-height:1}}

/* Colors */
.bg-charcoal{background-color:#222222}
.bg-deep-red{background-color:#b3001b}
.bg-off-white{background-color:#fafafa}
.bg-white{background-color:#ffffff}
.bg-gray-50{background-color:#f9fafb}
.bg-gray-100{background-color:#f3f4f6}
.bg-gray-300{background-color:#d1d5db}
.bg-blue-50{background-color:#eff6ff}
.bg-red-900{background-color:#7f1d1d}
.bg-charcoal\/95{background-color:rgb(34 34 34 / 0.95)}
.bg-charcoal\/80{background-color:rgb(34 34 34 / 0.8)}
.text-charcoal{color:#222222}
.text-deep-red{color:#b3001b}
.text-off-white{color:#fafafa}
.text-white{color:#ffffff}
.text-gray-300{color:#d1d5db}
.text-gray-400{color:#9ca3af}
.text-gray-500{color:#6b7280}
.text-gray-600{color:#4b5563}
.text-gray-700{color:#374151}
.border-gray-300{border-color:#d1d5db}
.border-off-white{border-color:#fafafa}
.border-2{border-width:2px}
.border-l-4{border-left-width:4px}
.border-blue-400{border-left-color:#60a5fa}

/* Gradients */
.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}
.from-blue-500{--tw-gradient-from:#3b82f6;--tw-gradient-to:rgb(59 130 246 / 0);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}
.to-blue-700{--tw-gradient-to:#1d4ed8}
.from-green-500{--tw-gradient-from:#22c55e;--tw-gradient-to:rgb(34 197 94 / 0);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}
.to-green-700{--tw-gradient-to:#15803d}
.from-gray-600{--tw-gradient-from:#4b5563;--tw-gradient-to:rgb(75 85 99 / 0);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}
.to-gray-800{--tw-gradient-to:#1f2937}
.from-red-500{--tw-gradient-from:#ef4444;--tw-gradient-to:rgb(239 68 68 / 0);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}
.to-red-700{--tw-gradient-to:#b91c1c}

/* Border Radius */
.rounded{border-radius:0.25rem}
.rounded-md{border-radius:0.375rem}
.rounded-lg{border-radius:0.5rem}
.rounded-full{border-radius:9999px}

/* Shadow */
.shadow-sm{box-shadow:0 1px 2px 0 rgb(0 0 0 / 0.05)}
.shadow-md{box-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)}
.shadow-lg{box-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)}

/* Backdrop */
.backdrop-blur-sm{backdrop-filter:blur(4px)}

/* Transforms */
.transform{transform:translate(var(--tw-translate-x,0),var(--tw-translate-y,0)) rotate(var(--tw-rotate,0)) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x,1)) scaleY(var(--tw-scale-y,1))}
.translate-x-full{--tw-translate-x:100%}
.translate-y-4{--tw-translate-y:1rem}

/* Transitions */
.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-duration:150ms}
.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-duration:150ms}
.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(0.4,0,0.2,1);transition-duration:150ms}
.duration-300{transition-duration:300ms}
.ease-in-out{transition-timing-function:cubic-bezier(0.4,0,0.2,1)}

/* Opacity */
.opacity-0{opacity:0}

/* Overflow */
.overflow-hidden{overflow:hidden}

/* Lists */
.list-disc{list-style-type:disc}
.list-inside{list-style-position:inside}

/* Forms */
input[type="text"],input[type="tel"],input[type="email"],textarea,select{
  appearance:none;
  background-color:#fff;
  border-color:#d1d5db;
  border-width:1px;
  border-radius:0.375rem;
  padding:0.5rem 0.75rem;
  font-size:0.875rem;
  line-height:1.25rem;
  display:block;
  width:100%;
  transition:all 0.3s ease;
}
select{
  background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat:no-repeat;
  background-position:right 0.75rem center;
  background-size:16px 12px;
  padding-right:2.5rem;
}
input[type="text"]:focus,input[type="tel"]:focus,input[type="email"]:focus,textarea:focus,select:focus{
  outline:2px solid transparent;
  outline-offset:2px;
  border-color:#b3001b;
  box-shadow:0 0 0 3px rgb(179 0 27 / 0.1)
}
input[type="checkbox"]{
  appearance:none;
  background-color:#fff;
  border-color:#d1d5db;
  border-width:1px;
  border-radius:0.25rem;
  height:1rem;
  width:1rem;
  display:inline-block;
  vertical-align:middle;
  background-origin:border-box;
  user-select:none;
  flex-shrink:0
}
input[type="checkbox"]:checked{
  background-color:#b3001b;
  border-color:#b3001b;
  background-image:url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-7.5 7.5a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6 10.293l7.146-7.147a.5.5 0 0 1 .708.708z'/%3e%3c/svg%3e")
}
label{display:block;font-size:0.875rem;font-weight:500;line-height:1.25rem;color:#374151}
.prose{color:#374151;max-width:65ch}
.prose p{margin-top:1.25em;margin-bottom:1.25em}
.prose h2{color:#111827;font-weight:800;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}
.prose h3{color:#111827;font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:0.6em;line-height:1.6}
.prose ul{margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}
.prose li{margin-top:0.5em;margin-bottom:0.5em}
.prose-lg{font-size:1.125rem;line-height:1.7777778}

/* Hover States */
.hover\:text-deep-red:hover{color:#b3001b}
.hover\:text-off-white:hover{color:#fafafa}
.hover\:bg-red-900:hover{background-color:#7f1d1d}
.hover\:bg-off-white:hover{background-color:#fafafa}
.hover\:text-charcoal:hover{color:#222222}
.hover\:underline:hover{text-decoration-line:underline}

/* Focus States */
.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}
.focus\:ring-2:focus{box-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)}
.focus\:ring-deep-red:focus{--tw-ring-color:#b3001b}
.focus\:ring-white:focus{--tw-ring-color:#fff}
.focus\:ring-inset:focus{--tw-ring-inset:inset}
.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}
.focus\:border-deep-red:focus{border-color:#b3001b}
.focus\:ring-deep-red:focus{--tw-ring-color:#b3001b}

/* Screen Reader Only */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.focus\:sr-only:focus{position:static;width:auto;height:auto;padding:0.5rem 1rem;margin:0;overflow:visible;clip:auto;white-space:normal;background:#b3001b;color:white;text-decoration:none}

/* Custom Components */
.gradient-placeholder{min-height:192px;display:flex;align-items:center;justify-content:center}
.flex-grow{flex-grow:1}

/* Animation Utilities */
[data-animate]{opacity:0;transition:opacity 0.6s ease-out,transform 0.6s ease-out}
[data-animate].fade-in-up{transform:translateY(20px)}
[data-animate].is-visible{opacity:1;transform:translateY(0)}
.testimonial-slide{transition:opacity 0.5s ease-in-out}
#back-to-top{transition:opacity 0.3s ease-in-out,transform 0.3s ease-in-out}

/* Hero section with dark overlay */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
}

.hero-text {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* Menu icon visibility fix */
.menu-icon {
  background-color: #222222;
  padding: 8px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Mobile-specific styling for header phone button */
.header-phone-mobile {
  display: inline-block;
  background-color: #b3001b;
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.header-phone-mobile:hover {
  background-color: #8b0016;
}

.header-phone-mobile:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}

@media(max-width: 767px) {
  .header-phone-mobile {
    display: inline-block;
  }
}

@media(min-width: 768px) {
  .header-phone-mobile {
    display: none;
  }
}

/* Mobile-specific hiding */
@media(min-width:768px){.md\:hidden{display:none}}

/* Mobile Navigation - Complete Rewrite */
#mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #222222;
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

#mobile-nav.show {
  visibility: visible;
  opacity: 1;
}

#mobile-nav nav {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

#mobile-nav nav a {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 600;
  text-decoration: none;
  padding: 1rem 2rem;
  transition: color 0.3s ease;
}

#mobile-nav nav a:hover {
  color: #b3001b;
}

/* Ensure burger button stays on top */
#burger-menu {
  position: relative;
  z-index: 10001 !important;
}

/* Mobile bottom padding for sticky call button */
@media(max-width: 767px) {
  body {
    padding-bottom: 80px;
  }
} 