Documentation · v1.0.0

Haulio — Vehicle Transport & Logistics HTML5 Template

Haulio is a motion-rich, static HTML5/CSS3/JS template built for car and motorcycle transport companies, auto logistics operators, enclosed carrier fleets, dealer networks, and relocation platforms.

Version1.0.0
HTML5 Pages54 Total (20 Homes + 33 Inner)
Header / Footer8 + 8 Modular Variants
DependenciesZero Build Step (Pure HTML/CSS/JS)

2. Package Structure

The download archive unzips into two top-level folders: documentation/ (this offline guide) and haulio-html/ (the production website files).

haulio-main-files/
├── documentation/
│   └── index.html               # Self-contained offline documentation
└── haulio-html/
    ├── index.html               # Showcase hub with live previews & category filters
    ├── home-01.html .. home-20.html
    ├── about.html, fleet.html, quote.html, tracking.html, pricing.html, ...
    ├── README.txt
    ├── site.webmanifest
    └── assets/
        ├── css/
        │   └── style.css        # Complete design tokens, layouts & responsive rules
        ├── js/
        │   ├── main.js          # Quote calculator, tracking, tabs, filters & forms
        │   ├── motion.js        # GSAP ScrollTrigger + progressive CSS fallback
        │   └── intro.js         # Showcase hero rotation & depth interactions
        └── img/
            └── favicon.svg      # Vector brand mark

3. Quick Start & Deployment

  1. Unzip the package and open haulio-html/index.html in any modern browser, or serve locally over HTTP for AJAX form testing:
    cd haulio-html
    php -S 127.0.0.1:8080
    # or: npx serve .
  2. Search and replace Haulio, sample phone numbers, addresses, and email addresses with your company details.
  3. Update site.webmanifest and canonical URLs before uploading the contents of haulio-html/ to your web host (public_html/, Netlify, Cloudflare Pages, or S3).

4. Colours & Typography

All brand colours and typography families live inside a single :root block at the top of assets/css/style.css. Updating these variables updates every homepage and inner page globally.

Primary Indigo--indigo: #3A31D2
Hover Indigo--indigo-2: #2B23B0
Signal Yellow--yellow: #F3EF0C
Paper Surface--paper: #F2F3FF
Deep Ink--ink: #0D0C3B
:root {
  --indigo: #3A31D2;
  --indigo-2: #2B23B0;
  --indigo-3: #1B1580;
  --yellow: #F3EF0C;
  --paper: #F2F3FF;
  --ink: #0D0C3B;
  --f-display: 'Bricolage Grotesque', sans-serif;
  --f-body: 'Inter', sans-serif;
}

5. Header Variants (8)

Haulio includes eight self-contained header components: <header class="h1"> through <header class="h8">. All headers share the same CSS tokens and mobile drawer trigger ([data-menu]).

  • Header 01 (.h1): Designed to sit directly inside the indigo hero card.
  • Headers 02, 03, 06, 08: Top navigation bars with CTA buttons and clean contrast for light or split layouts.
  • Header 04 (.h4): Vertical rail sidebar layout (collapses to a top bar below 1100px).
  • Headers 05 & 07 (.h5, .h7): Positioned over full-bleed dark or photographic hero sections.

6. Footer Variants (8)

Eight modular footer layouts (.f1 through .f8) cover compact studio bars, multi-column B2B directories, newsletter footers, and dark indigo textured blocks. Copy any <footer class="f*"> element between pages without extra CSS.

7. Responsive Breakpoints

Every page is tested from 320px mobile phones up to 2560px desktop monitors with 0px horizontal overflow:

  • Tablet (<= 1100px): Collapses multi-column splits and activates the slide-out mobile #drawer navigation.
  • Mobile (<= 760px): Stacks grids into single-column cards; data tables scroll cleanly inside .table-wrap.
  • Fluid Display Type: Headings use CSS clamp() so typography scales proportionally across viewports.

8. JavaScript Components & Data Hooks

All UI interactivity in assets/js/main.js attaches automatically via data attributes — no manual JavaScript initialization required:

ComponentMarkup HookBehavior
Tabs[data-tabs] .tabbar button[data-t] + .tabpane[data-p]Switches active tab panels with accessible states.
Accordion.acc-i > button + .bExpands and collapses FAQ and spec panels.
Counters[data-count="500"]Animates numeric metrics on scroll into view.
Quote Calculator[data-calc] (name="from|to|type|serv")Calculates instant lane & vehicle transport estimates.
Multi-Step Formform[data-steps] .stepGuided step-by-step quote & booking wizard.
Live Trackingform[data-track] + [data-result]Interactive shipment ID lookup & route status display.
Filter Chips[data-filter=".post"] button[data-c]Filters demos, blog posts, and fleet cards by category.
Scroll Reveals.rvStaggered entrance animations via IntersectionObserver.

9. Animation & GSAP Motion Layer

assets/js/motion.js uses progressive enhancement: without JavaScript all content is readable; with JS it animates via CSS + IntersectionObserver; and when GSAP 3.12.5 + ScrollTrigger are loaded, it enables scrubbed parallax, velocity-skewed marquees, and pinned horizontal galleries.

EffectControl Attribute / Class
Masked Headline RevealApplied to h1.d1, h2.d2, or any heading with data-split
Highlight Wipe.mark
Custom CursorFine pointers only; add data-cursor="Label" on any interactive element
Parallax Photo[data-pimg] on the image container
Pointer Depth[data-depth-group] parent with [data-depth="0.6"] children
Pinned Horizontal Gallery.hs > .hs-view > .hs-track > .hs-card
Reduced Motion Support: If the visitor has prefers-reduced-motion: reduce enabled in their OS, no-anim is added to <html>, motion.js exits, and all sections render immediately.

10. Validated Forms, Calculator Rates & AJAX

All form[data-demo] forms validate [required] and type="email" inputs, toggle .is-error + aria-invalid="true" on invalid fields, and display .ok confirmation upon valid submission.

Connecting a Live Backend

Add action="https://your-endpoint.com/submit" method="POST" to any <form data-demo> (compatible with Formspree, Getform, Netlify Forms, or custom PHP/Node JSON endpoints) — main.js automatically submits via fetch().

Updating Calculator Rates

Edit the sample RATE and MILES lookup tables near the top of assets/js/main.js to match your real per-mile carrier pricing.

11. Accessibility & SEO

  • Skip-to-content link, visible keyboard focus rings, semantic landmarks, tabular numerals, and ARIA labels on drawers and tabs.
  • Open Graph & Twitter meta tags on every page, plus a print stylesheet that hides navigation/motion for clean paper printouts.

12. Images & Replacing Media

Demo photography loads via Unsplash CDN URLs. To replace any photo with your own studio or fleet photography, update the <img src="..."> attributes directly or edit the PH map if present.

13. Complete Page Directory

index.htmlShowcase & Filterable Hub
home-01.html .. home-20.html20 Distinct Homepage Layouts
quote.htmlInstant Quote & Step Wizard
tracking.htmlLive Shipment Tracking
fleet.htmlCarrier Fleet Showcase
pricing.html / pricing-compare.htmlRates & Comparison Table
coverage.html / locations.htmlRoutes & Terminals
services.html / services-list.htmlService Hubs
service-car / enclosed / motorcycle / international4 Service Detail Pages
case-studies.html / case-study.htmlLogistics Case Studies
dealers.html / app.htmlB2B Dealers & Mobile App
about.html / team.html / reviews.htmlCompany & Social Proof
blog.html / blog-list.html / blog-single.htmlEditorial & Articles
contact.html / contact-split.htmlContact & Dispatch Forms
careers.html / job-single.htmlDriver & Ops Careers
faq.html / gallery.html / privacy.html / 404.html / coming-soon.htmlUtility & Legal Pages

14. Browser Support

Tested on latest Chrome, Edge, Firefox, Safari, iOS Safari, and Android Chrome using standard CSS custom properties, Flexbox, CSS Grid, and clamp().

15. Credits & Licences

  • Fonts: Bricolage Grotesque & Inter (SIL Open Font License via Google Fonts).
  • Photography: Unsplash stock photography (Unsplash License, for demo preview).
  • Animation: GSAP + ScrollTrigger by GreenSock (optional progressive enhancement).
  • Author: Faton Designs (faton.works).