summaryrefslogtreecommitdiff
path: root/services.html
diff options
context:
space:
mode:
authorsimon <vesspa0330@gmail.com>2026-11-11 19:33:07 -0500
committersimon <vesspa0330@gmail.com>2026-11-11 19:33:07 -0500
commit46cb5e372c7c3a0bbb80ef705a4836ebba7d4131 (patch)
treea936527327a173b151886784d33d67fad8825ed2 /services.html
parent4369f7f7de59f83ad0106399a893445666f0c3e3 (diff)
better look on mobile
Diffstat (limited to 'services.html')
-rw-r--r--services.html1585
1 files changed, 793 insertions, 792 deletions
diff --git a/services.html b/services.html
index f208f05..f35d1a9 100644
--- a/services.html
+++ b/services.html
@@ -1,792 +1,793 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <link rel="icon" type="image/x-icon" href="./assets/img/favicon.ico">
- <meta
- name="description"
- content="Luxury Detailing Maine provides mobile professional car cleaning services in the Portland Area"
- />
- <title>SERVICES - Luxury Detailing Maine</title>
- <link href="css/style.css" rel="stylesheet" />
- <link href="css/dropdown.css" rel="stylesheet" />
- <link href="css/hamburger.css" rel="stylesheet" />
-
- <style>
- html { scroll-behavior: smooth; }
-
- main {
- gap: 8rem;
- }
-
- h2, h3 { color: var(--gold); }
- h1, h2, h3 { text-transform: uppercase; }
-
- /** landings are used to jump slightly above categories */
- .landing { top: 10rem; position: relative; }
-
- #categoryLinks {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-evenly;
- align-items: center;
- gap: 2rem;
- margin-top: 1rem;
- }
-
- .jumpLink {
- min-width: 40%;
- max-width: 40%;
- padding: 2rem;
- text-decoration: none;
- text-transform: uppercase;
- font-weight: bold;
- color: var(--white);
- font-size: 3rem;
- border-radius: 1rem;
- border: 1px solid var(--white);
- transition: ease 0.2s;
- line-height: 1.05;
- }
- .jumpLink:hover {
- transform: scale(1.01);
- color: var(--gold);
- border-color: var(--gold);
- }
- .jumpLink:active {
- transform: scaleX(98%);
- }
-
- #upArrowWrapper {
- display: flex;
- justify-content: center;
- margin-top: 2rem;
- }
- #upArrow {
- margin-top: 20rem;
- margin-bottom: 2rem;
- transform: rotate(135deg);
- height: 30px;
- width: 30px;
- border-left: solid 3px var(--gold);
- border-bottom: solid 3px var(--gold);
- transition: .25s ease;
- }
- #upArrow:hover {
- /** border-left: solid 3px var(--gold);
- border-bottom: solid 3px var(--gold);*/
- transform: rotate(135deg) scaleX(110%) scaleY(110%);
- }
- #downArrowWrapper {
- display: flex;
- justify-content: center;
- margin-top: 2rem;
- }
- #downArrow {
- transform: rotate(-45deg);
- height: 30px;
- width: 30px;
- border-left: solid 3px var(--gold);
- border-bottom: solid 3px var(--gold);
- transition: .25s ease;
- }
- #downArrow:hover {
- /** border-left: solid 3px var(--gold);
- border-bottom: solid 3px var(--gold);*/
- transform: rotate(-45deg) scaleX(110%) scaleY(110%);
- }
-
- .categoryContainer {
- width: 90%;
- }
-
- .serviceHeader, .card-head {
- line-height: 1.05;
- }
- .serviceContainer {
- display: flex;
- align-items: flex-start;
- justify-content: space-evenly;
- flex-wrap: wrap;
- gap: 5rem;
- margin: 3rem 0;
- }
-
- #tableOfContents {
- width: 100%;
- height: 1402px;
- padding: 5rem 5%;
- padding-top: 10rem;
- background-image: url('assets/img/soap-hose-fade.png');
- background-position: center 50%;
- }
-
- .hero-image {
- width: 100%;
- border-top: 1px solid var(--gold);
- }
-
- /** Services */
- a.service { text-decoration: none;}
- .service {
- display: flex;
- flex-direction: column;
- align-items: center;
-
- height: 100%;
-
- width: 40rem;
- }
- /** "BOOK NOW" buttons */
- .service button {
- height: 5rem;
- min-width: 100%;
- font-weight: bold;
-
- display: flex;
- align-items: center;
- justify-content: center;
-
- background-color: var(--gold);
- color: var(--black);
-
- border: 1px solid var(--dark-gold);
- border-radius: 2rem;
-
- padding: 2rem 1rem;
- margin: 2rem 0;
-
- font-size: 1.5rem;
- font-weight: bold;
- text-decoration: none;
- transition: 0.3s ease;
- }
- .service button:hover {
- background-color: var(--dark-gold);
- cursor: pointer;
- }
- .service button:active {
- transform: scaleX(98%);
- }
- /** booking link */
- .book-link {
- display: block;
- width: 50%;
- text-decoration: none;
- }
-
- .card {
- padding: 3rem;
- border: 2px solid var(--dark-gold);
- border-radius: 1rem;
- background: linear-gradient(var(--black), var(--dark-black), var(--black));
-
- transition: 2s ease;
- color: white;
- width: 100%;
- }
- .card:hover {
- border: 2px solid var(--gold);
- }
-
- /** TODO implement these classes to make consistent service card sizes */
- .tall { height: 30rem; }
- .medium { height: 20rem; }
- .short { height: 10rem; }
-
- .card-head {
- margin-bottom: 2rem;
- }
- .card-head p {
- font-style: italic;
- margin-top: 1rem;
- }
-
- .card-body {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- gap: 2rem;
- text-align: left;
- width: 100%;
- }
-
- /** .card-body span {
- display: flex;
- flex-direction: column;
- align-self: stretch;
-
- width: 50%;
- }*/
- .card-body span {
- display: flex;
- flex-direction: column;
- align-self: stretch;
-
- width: 100%;
- }
- .card-body span h3 {
- text-align: center;
- }
- .card-body ul {
- padding-left: 1rem;
- }
-
-
-
-
- /** mobile rules */
- /** MOBILE */
- @media screen and (max-width: 850px) {
- section {
- width: 100%;
- }
-
- #tableOfContents {
- background-size: 60rem no-repeat;
- background-position: 62% center;
- }
-
- .serviceHeader {
- font-size: 2.5rem;
- }
-
- .jumpLink {
- min-width: 80%;
- max-width: 80%;
- font-size: 1.75rem;
- }
- }
- </style>
- </head>
-
- <body>
- <a href="#main-content" class="skipLink">Skip to main content</a>
-
- <header>
- <div class="navBanner" role="banner">
- <a href="index.html" class="navLogo" aria-label="Company Logo">
- <img class="navLogo" src="assets/img/logo.png"></img>
- </a>
-
- <button
- id="hamburger"
- aria-label="Toggle mobile navigation menu"
- aria-expanded="false"
- >
- <span></span>
- <span></span>
- <span></span>
- </button>
-
- <nav>
- <a id="navBookingButton" href="https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5">
- <span>SCHEDULE SERVICE</span>
- </a>
- <a class="navLink" role="navigation" href="services.html">Services</a>
- <a class="navLink" role="navigation" href="ceramic-coating.html">Ceramic Coatings</a>
- <a class="navLink" role="navigation" href="reviews.html">Reviews</a>
- <a class="navLink" role="navigation" href="about.html">About</a>
- </nav>
- </div>
- </header>
-
- <main id="main-content">
-
- <div id="tableOfContents">
- <h1 class="emphasis">BOOK NOW</h1>
- <div id="categoryLinks">
- <a href="#packagesJump" class="jumpLink">SERVICE PACKAGES</a>
- <a href="#interiorJump" class="jumpLink">INTERIOR DETAILING</a>
- <a href="#exteriorJump" class="jumpLink">EXTERIOR DETAILING</a>
- <a href="#ceramicJump" class="jumpLink">CERAMIC COATINGS</a>
- <a href="#correctionJump" class="jumpLink">POLISHING &amp; CORRECTION</a>
- </div>
- </div>
-
-
- <div class="categoryContainer">
- <span id="packagesJump" class="landing"></span>
- <div id="upArrowWrapper">
- <a id="upArrow" href="#main-content"></a>
- </div>
- <h1 class="serviceHeader">Service Packages</h1>
- <div id="packages" class="serviceContainer">
- </div>
- </div>
-
-
- <div>
- <span id="interiorJump" class="landing"></span>
- <div id="upArrowWrapper">
- <a id="upArrow" href="#main-content"></a>
- </div>
- <h1 class="serviceHeader">Interior Detailing</h1>
- </div>
- <img class="hero-image" src="assets/img/seat-wipe-fade.png" />
- <div class="categoryContainer">
- <div id="interior" class="serviceContainer">
- </div>
- </div>
-
- <div>
- <span id="exteriorJump" class="landing"></span>
- <div id="upArrowWrapper">
- <a id="upArrow" href="#main-content"></a>
- </div>
- <h1 class="serviceHeader">Exterior Detailing</h1>
- </div>
- <img class="hero-image" src="assets/img/wheel-wash-fade.png" />
- <div class="categoryContainer">
- <div id="exterior" class="serviceContainer">
- </div>
- </div>
-
- <div>
- <span id="ceramicJump" class="landing"></span>
- <div id="upArrowWrapper">
- <a id="upArrow" href="#main-content"></a>
- </div>
- <h1 class="serviceHeader">Ceramic Coatings</h1>
- </div>
- <img class="hero-image" src="assets/img/ceramic-fade.png" />
- <div class="categoryContainer">
- <div id="ceramic" class="serviceContainer">
- </div>
- </div>
-
- <div>
- <span id="correctionJump" class="landing"></span>
- <div id="upArrowWrapper">
- <a id="upArrow" href="#main-content"></a>
- </div>
- <h1 class="serviceHeader">Polish &amp; Correction</h1>
- </div>
- <img class="hero-image" src="assets/img/towels-brushes-fade.png" />
- <div class="categoryContainer">
- <div id="correction" class="serviceContainer">
- </div>
- </div>
-
- </main>
-
- <footer>
- <div id="footer-left">
- <span>&copy;Luxury Detailing Maine 2025</span>
- <span>All rights reserved</span>
- <span>Portland, ME</span>
- </div>
- <div id="footer-right">
- <span><a href="tel:+12078076770">(207) 807-6770</a></span>
- <span><a href="mailto:luxurydetailingmaine@gmail.com">
- luxurydetailingmaine@gmail.com
- </a></span>
- <span><a
- href="https://www.instagram.com/luxurydetailingmaine/"
- target="_blank"
- >@luxurydetailingmaine</a
- ></span>
- </div>
- </footer>
-
- <script src="js/hamburger.js"></script>
-
- <script>
- // these categories must match the IDs of the serviceContainer <div>s above
- const categories = ["packages", "ceramic", "correction", "exterior", "interior"];
- const serviceData = {
- "packages" : [
- /** SERVICE PACKAGE ONE */
- {
- "title" : "Level 1 Package",
- "subtitle" : "A detailed interior & exterior cleaning.",
- "left" : {
- "header" : "Interior",
- "paragraph" : "",
- "bullets" : [
- "Vacuuming",
- "Plastics, leather, and vinyls cleaning",
- "Light scrubbing of seats",
- "Crack & crevice cleaning",
- "Floor mat cleaning & rejuvenation"
- ]
- },
- "right" : {
- "header" : "Exterior",
- "paragraph" : "",
- "bullets" : [
- "Hand wash & dry",
- "Bug gut removal",
- "Tire, wheel, and wheel well cleaning + tire shine",
- "Window cleaning",
- "Light door jam cleaning"
- ]
- },
- "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/XGQVAkJx15acdsEemvEr?productServiceId=sIUtLBqGS4mjAQNwHtI4&sku=rH37oV6muKqDXStXhH3k"
- },
- /** SERVICE PACKAGE TWO */
- {
- "title" : "Level 2 Package",
- "subtitle" : "Tell the world you're proud of your vehicle.",
- "left" : {
- "header" : "Interior",
- "paragraph" : "",
- "bullets" : [
- "Vacuuming",
- "Plastics, leather, and vinyls cleaning",
- "Light scrubbing of seats",
- "Interior window cleaning",
- "Crack & crevice cleaning",
- "Floor mat cleaning & rejuvenation"
- ]
- },
- "right" : {
- "header" : "Exterior",
- "paragraph" : "",
- "bullets" : [
- "Hand wash & dry",
- "Bug gut removal",
- "Tire, wheel, and wheel well cleaning + tire shine",
- "Clay service to remove embedded contamination",
- "3 to 6 month ceramic paint sealant: gloss, protection, hydrophobic & self-cleaning properties"
- ]
- },
- "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/XGQVAkJx15acdsEemvEr?productServiceId=ZUyqKhnZtS3uAT9Auo2I&sku=EsEnqIEVcVedKRDITk7e"
- },
- /** LUXURY PACKAGE */
- {
- "title" : "Luxury",
- "subtitle" : "Our most thorough interior and exterior package. Designed for vehicles that need a deeper reset to bring back that off-the-lot feeling.",
- "left" : {
- "header" : "Interior",
- "paragraph" : "",
- "bullets" : [
- "Thorough vacuum & carpet shampooing",
- "Plastics, leather, and vinyls scrubbed thoroughly",
- "Upholstery shampooing (Headliner, seats)",
- "Leather scrubbed & stains treated",
- "Crack & crevice cleaning",
- "Interior window cleaning",
- "Crack & crevice deep cleaning",
- "Floor mats scrubbed heavily & rejuvenated",
- "6 month interior protection on all vinyls, rubbers, and plastics (Stain & spill resistance, less dusting, UV protection, and helps restore the original look of the plastics)"
- ]
- },
- "right" : {
- "header" : "Exterior",
- "paragraph" : "",
- "bullets" : [
- "Hand wash & dry",
- "Bug gut removal",
- "Tire, wheel, wheel well cleaning, and tire shine",
- "Clay service to remove embedded contamination",
- "1 to 3 month ceramic paint sealant: gloss, protection, hydrophobics & self-cleaning properties"
- ]
- },
- "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/XGQVAkJx15acdsEemvEr?productServiceId=uelrEIadvSGMjjiHwTdL&sku=9PIhg4Nqlq4J2XI4JQyd"
- },
- ],
- "ceramic" : [
- /** LEVEL 1 COATING */
- {
- "title" : "Level 1 Ceramic Coating",
- "subtitle" : "Our entry level coating to protect painted surfaces, the most valuable part of your exterior.",
- "left" : {
- "header" : "",
- "paragraph" : "",
- "bullets" : []
- },
- "right" : {
- "header" : "Includes",
- "paragraph" : "",
- "bullets" : [
- "Hand wash & dry",
- "Triple decontamination of paint & glass (minerals, iron, and contamination)",
- "Enhancement polish to bring out gloss and depth",
- "3-5 year ceramic coating on all painted surfaces",
- "1 year warranty"
- ]
- },
- "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/Z2TzVLNpkirBka11huXA?productServiceId=EpBxqPABGIwdF1f3ujqS&sku=Et0iAwD3vqAQYtcNo596"
- },
- /** COMPLETE COATING */
- {
- "title" : "Level 2 Ceramic Coating",
- "subtitle" : "If you can see it on the exterior, it's coated.",
- "left" : {
- "header" : "",
- "paragraph" : "",
- "bullets" : []
- },
- "right" : {
- "header" : "Includes",
- "paragraph" : "",
- "bullets" : [
- "Hand wash & dry",
- "Triple decontamination of paint & glass (minerals, iron, and contamination)",
- "1 step polish to remove swirls and enhance gloss",
- "Extra correction on deeper scratches on particular areas",
- "Glass polishing to deep clean windows",
- "A ceramic coating on your vehicle's paint, glass, and wheel faces",
- "Repels water, dust, dirt, UV rays, bird droppings, acid rain, tree sap, road salt, bug guts, etc.",
- "3 year warranty"
- ]
- },
- "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/Z2TzVLNpkirBka11huXA?productServiceId=EpBxqPABGIwdF1f3ujqS&sku=Et0iAwD3vqAQYtcNo596"
- },
- /** LUXURY CERAMIC COATING */
- {
- "title" : "Luxury Ceramic Coating",
- "subtitle" : "The ultimate gloss and protection.",
- "left" : {
- "header" : "",
- "paragraph" : "",
- "bullets" : []
- },
- "right" : {
- "header" : "Includes",
- "paragraph" : "",
- "bullets" : [
- "Hand wash & dry",
- "Triple decontamination of paint & glass (minerals, iron, and contamination)",
- "2 step correction to remove swirls, heavy defects, and chase the best results",
- "Extra correction on deeper scratches on particular areas",
- "Wet sanding if needed",
- "Glass polishing to deep clean windows",
- "A ceramic coating on your vehicle's paint, glass, and wheel faces",
- "Repels water, dust, dirt, UV rays, bird droppings, acid rain, tree sap, road salt, bug guts, etc.",
- "5 year warranty"
- ]
- },
- "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/Z2TzVLNpkirBka11huXA?productServiceId=EpBxqPABGIwdF1f3ujqS&sku=Et0iAwD3vqAQYtcNo596"
- }
- /** WHEEL WASH {
- "title" : "Wheel Wash",
- "subtitle" : "Make your wheels glow and shine.",
- "left" : {
- "header" : "Disclaimer",
- "paragraph" : "Only available if the entire car receives a ceramic coating.",
- "bullets" : []
- },
- "right" : {
- "header" : "",
- "paragraph" : "",
- "bullets" : []
- },
- "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/Z2TzVLNpkirBka11huXA?productServiceId=jFgdX1fB0AoMVmIhSSmP&sku=lCUwUjNUHf4NYqqKYRNS"
- }*/
- ],
- "correction" : [
- /** PAINT ENHANCEMENT */
- {
- "title" : "Paint Enhancement",
- "subtitle" : "Bring back that gloss you know and love.",
- "left" : {
- "header" : "",
- "paragraph" : "",
- "bullets" : []
- },
- "right" : {
- "header" : "Includes",
- "paragraph" : "",
- "bullets" : [
- "Exterior hand wash & triple decontamination",
- "1-step polish to enhance gloss & reduce minor defects",
- "6 month sealant to protect fresh paint"
- ]
- },
- "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/W7MYzeflJr6yEAlpgreQ?productServiceId=CvJ0v88LfLS9De7I04qu&sku=EyZfDYm9fPEgr3FRl24h"
- },
- /** PAINT CORRECTION */
- {
- "title" : "Paint Correction",
- "subtitle" : "Chase heavy scratches, remove oxidation, and bring back a near flawless shine.",
- "left" : {
- "header" : "",
- "paragraph" : "",
- "bullets" : []
- },
- "right" : {
- "header" : "Includes",
- "paragraph" : "",
- "bullets" : [
- "Exterior hand wash & triple decontamination",
- "2-step polish to eliminate 90-95% of defects",
- "Restore shine and gloss",
- "6 month sealant to protect fresh paint"
- ]
- },
- "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/W7MYzeflJr6yEAlpgreQ?productServiceId=EDLsm6ynRPi4sKV0ajh1&sku=s1VcPPUMz3Y5n9B99e2F"
- }
- ],
- "exterior" : [
- /** LEVEL ONE EXTERIOR */
- {
- "title" : "Level 1 Exterior",
- "subtitle" : "A safe and meticulous hand wash to reveal the true shine of your car.",
- "left" : {
- "header" : "",
- "paragraph" : "",
- "bullets" : []
- },
- "right" : {
- "header" : "Includes",
- "paragraph" : "",
- "bullets" : [
- "Hand wash & dry",
- "Bug gut removal",
- "Tire, wheel, wheel well cleaning, and tire shine",
- "Window cleaning",
- "Light door jam cleaning"
- ]
- },
- "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/yT4vtoWKB5qGaQMaxOdd?productServiceId=TFqzf6t8BKh7vTGxfNBy&sku=Czg1xQxpwwf5ninBF6xq"
- },
- /** LEVEL TWO INTERIOR */
- {
- "title" : "Level 2 Exterior",
- "subtitle" : "Our most popular exterior.",
- "left" : {
- "header" : "",
- "paragraph" : "Protect against everyday environmental hazards like road salt, bugs, and the elements- all while keeping your vehicle cleaner longer and making maintenance washes a breeze.",
- "bullets" : []
- },
- "right" : {
- "header" : "Includes",
- "paragraph" : "",
- "bullets" : [
- "Hand wash & dry",
- "Bug gut removal",
- "Tire, wheel, wheel well cleaning, and tire shine",
- "Triple decontamination",
- "1 to 3 month paint sealant: gloss, protection, hydrophobic & self-cleaning properties"
- ]
- },
- "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/yT4vtoWKB5qGaQMaxOdd?productServiceId=bc8YSJd6fl0CprnAY43r&sku=iUA7y7dwM4Kz51pBpQNI"
- }
- ],
- "interior" : [
- /** LEVEL ONE INTERIOR */
- {
- "title" : "Level 1 Interior",
- "subtitle" : "A solid clean for well-maintained vehicles",
- "left" : {
- "header" : "Includes",
- "paragraph" : "",
- "bullets" : [
- "Vacuuming",
- "Plastics, leather, and vinyls cleaning",
- "Light scrubbing of seats",
- "Interior window cleaning",
- "Floor mat cleaning & rejuvenation"
- ]
- },
- "right" : {
- "header" : "",
- "paragraph" : "",
- "bullets" : []
- },
- "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/iy5yKtAhm0O0w0P05acA?productServiceId=3LCNMgeB58hjFwhg58BU&sku=MuCpgSMV0hU4sUdjAPBi"
- },
- /** LEVEL TWO INTERIOR */
- {
- "title" : "Level 2 Interior",
- "subtitle" : "A deep clean for the vehicle that needs a reset.",
- "left" : {
- "header" : "Includes",
- "paragraph" : "",
- "bullets" : [
- "Thorough vacuum & carpet shampooing",
- "Plastics, leather, and vinyls thoroughly scrubbed",
- "Upholstery shampooing including headliner & seats",
- "Leather scrubbed & stains treated",
- "Interior window cleaning",
- "Crack & crevice deep cleaning",
- "Floor mats heavily scrubbed & rejuvenated"
- ]
- },
- "right" : {
- "header" : "",
- "paragraph" : "",
- "bullets" : []
- },
- "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/yT4vtoWKB5qGaQMaxOdd?productServiceId=bc8YSJd6fl0CprnAY43r&sku=iUA7y7dwM4Kz51pBpQNI"
- }
- ]
- };
-
- // renders service data as cards when page loads
- function insertServices(serviceData) {
- for (const category of categories) {
- let categoryData = serviceData[category];
- console.log(category);
- console.log(categoryData);
-
- let target = document.getElementById(category);
-
- for (const service of categoryData) {
- let leftSide = buildCardColumn(service.left);
- let rightSide = buildCardColumn(service.right);
- target.insertAdjacentHTML(
- "beforeend",
- `
- <div class="service">
- <div class="card">
- <div class="card-head">
- <h2>${service.title}</h2>
- <p>${service.subtitle}</p>
- </div>
- <div class="card-body">
- ${leftSide ? leftSide : ""}
- ${rightSide ? rightSide : ""}
- </div>
- </div>
- <a href=${service.url} target="_blank" class="book-link">
- <button>BOOK NOW</button>
- </a>
- </div>
- `);
- }
- }
- }
-
- // helper for constructing service cards
- function buildCardColumn(data) {
- let html = "<span>";
- if (data.header) {
- html += "<h3 style='text-align:left;'>" + data.header + "</h3>";
- }
- if (data.paragraph) {
- html += "<p>" + data.paragraph + "</p>";
- }
- if (data.bullets.length > 0) {
- html += "<ul>";
- for (point of data.bullets) {
- html += "<li>" + point + "</li>";
- }
- html += "</ul>";
- }
- html += "</span>";
- if (html == "<span></span>") return null;
- return html;
- }
-
- window.onload = (event) => {
- insertServices(serviceData);
-
- // jump to category if coming from index/home page
- let params = new URLSearchParams(document.location.search);
- handleJump(params.get("jumpTarget"));
- }
-
- function handleJump(target) {
- if (!target || !categories.includes(target)) return;
- let destination = document.getElementById(target).getBoundingClientRect().top - 250;
- window.scrollTo({ top: destination, left: 0, behavior: "smooth"});
- }
- </script>
- </body>
-</html>
-
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <link rel="icon" type="image/x-icon" href="./assets/img/favicon.ico">
+ <meta
+ name="description"
+ content="Luxury Detailing Maine provides mobile professional car cleaning services in the Portland Area"
+ />
+ <title>SERVICES - Luxury Detailing Maine</title>
+ <link href="css/style.css" rel="stylesheet" />
+ <link href="css/dropdown.css" rel="stylesheet" />
+ <link href="css/hamburger.css" rel="stylesheet" />
+
+ <style>
+ html { scroll-behavior: smooth; }
+
+ main {
+ gap: 8rem;
+ }
+
+ h2, h3 { color: var(--gold); }
+ h1, h2, h3 { text-transform: uppercase; }
+
+ /** landings are used to jump slightly above categories */
+ .landing { top: 10rem; position: relative; }
+
+ #categoryLinks {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-evenly;
+ align-items: center;
+ gap: 2rem;
+ margin-top: 1rem;
+ }
+
+ .jumpLink {
+ min-width: 40%;
+ max-width: 40%;
+ padding: 2rem;
+ text-decoration: none;
+ text-transform: uppercase;
+ font-weight: bold;
+ color: var(--white);
+ font-size: 3rem;
+ border-radius: 1rem;
+ border: 1px solid var(--white);
+ transition: ease 0.2s;
+ line-height: 1.05;
+ }
+ .jumpLink:hover {
+ transform: scale(1.01);
+ color: var(--gold);
+ border-color: var(--gold);
+ }
+ .jumpLink:active {
+ transform: scaleX(98%);
+ }
+
+ #upArrowWrapper {
+ display: flex;
+ justify-content: center;
+ margin-top: 2rem;
+ }
+ #upArrow {
+ margin-top: 20rem;
+ margin-bottom: 2rem;
+ transform: rotate(135deg);
+ height: 30px;
+ width: 30px;
+ border-left: solid 3px var(--gold);
+ border-bottom: solid 3px var(--gold);
+ transition: .25s ease;
+ }
+ #upArrow:hover {
+ /** border-left: solid 3px var(--gold);
+ border-bottom: solid 3px var(--gold);*/
+ transform: rotate(135deg) scaleX(110%) scaleY(110%);
+ }
+ #downArrowWrapper {
+ display: flex;
+ justify-content: center;
+ margin-top: 2rem;
+ }
+ #downArrow {
+ transform: rotate(-45deg);
+ height: 30px;
+ width: 30px;
+ border-left: solid 3px var(--gold);
+ border-bottom: solid 3px var(--gold);
+ transition: .25s ease;
+ }
+ #downArrow:hover {
+ /** border-left: solid 3px var(--gold);
+ border-bottom: solid 3px var(--gold);*/
+ transform: rotate(-45deg) scaleX(110%) scaleY(110%);
+ }
+
+ .categoryContainer {
+ width: 90%;
+ }
+
+ .serviceHeader, .card-head {
+ line-height: 1.05;
+ }
+ .serviceContainer {
+ display: flex;
+ align-items: flex-start;
+ justify-content: space-evenly;
+ flex-wrap: wrap;
+ gap: 5rem;
+ margin: 3rem 0;
+ }
+
+ #tableOfContents {
+ width: 100%;
+ padding: 0 5%;
+ padding-top: 5rem;
+ padding-bottom: 45rem;
+ background-image: url('assets/img/soap-hose-fade.png');
+ background-position: center 50%;
+ background-repeat: no-repeat;
+ }
+
+ .hero-image {
+ width: 100%;
+ border-top: 1px solid var(--gold);
+ }
+
+ /** Services */
+ a.service { text-decoration: none;}
+ .service {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+
+ height: 100%;
+
+ width: 40rem;
+ }
+ /** "BOOK NOW" buttons */
+ .service button {
+ height: 5rem;
+ min-width: 100%;
+ font-weight: bold;
+
+ display: flex;
+ align-items: center;
+ justify-content: center;
+
+ background-color: var(--gold);
+ color: var(--black);
+
+ border: 1px solid var(--dark-gold);
+ border-radius: 2rem;
+
+ padding: 2rem 1rem;
+ margin: 2rem 0;
+
+ font-size: 1.5rem;
+ font-weight: bold;
+ text-decoration: none;
+ transition: 0.3s ease;
+ }
+ .service button:hover {
+ background-color: var(--dark-gold);
+ cursor: pointer;
+ }
+ .service button:active {
+ transform: scaleX(98%);
+ }
+ /** booking link */
+ .book-link {
+ display: block;
+ width: 50%;
+ text-decoration: none;
+ }
+
+ .card {
+ padding: 3rem;
+ border: 2px solid var(--dark-gold);
+ border-radius: 1rem;
+ background: linear-gradient(var(--black), var(--dark-black), var(--black));
+
+ transition: 2s ease;
+ color: white;
+ width: 100%;
+ }
+ .card:hover {
+ border: 2px solid var(--gold);
+ }
+
+ /** TODO implement these classes to make consistent service card sizes */
+ .tall { height: 30rem; }
+ .medium { height: 20rem; }
+ .short { height: 10rem; }
+
+ .card-head {
+ margin-bottom: 2rem;
+ }
+ .card-head p {
+ font-style: italic;
+ margin-top: 1rem;
+ }
+
+ .card-body {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: center;
+ gap: 2rem;
+ text-align: left;
+ width: 100%;
+ }
+
+ /** .card-body span {
+ display: flex;
+ flex-direction: column;
+ align-self: stretch;
+
+ width: 50%;
+ }*/
+ .card-body span {
+ display: flex;
+ flex-direction: column;
+ align-self: stretch;
+
+ width: 100%;
+ }
+ .card-body span h3 {
+ text-align: center;
+ }
+ .card-body ul {
+ padding-left: 1rem;
+ }
+
+
+
+
+ /** mobile rules */
+ /** MOBILE */
+ @media screen and (max-width: 850px) {
+ section {
+ width: 100%;
+ }
+
+ #tableOfContents {
+ background-position: 60% center;
+ padding-top: 1rem;
+ }
+
+ .serviceHeader {
+ font-size: 2.5rem;
+ }
+
+ .jumpLink {
+ min-width: 80%;
+ max-width: 80%;
+ font-size: 1.75rem;
+ }
+ }
+ </style>
+ </head>
+
+ <body>
+ <a href="#main-content" class="skipLink">Skip to main content</a>
+
+ <header>
+ <div class="navBanner" role="banner">
+ <a href="index.html" class="navLogo" aria-label="Company Logo">
+ <img class="navLogo" src="assets/img/logo.png"></img>
+ </a>
+
+ <button
+ id="hamburger"
+ aria-label="Toggle mobile navigation menu"
+ aria-expanded="false"
+ >
+ <span></span>
+ <span></span>
+ <span></span>
+ </button>
+
+ <nav>
+ <a id="navBookingButton" href="https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5">
+ <span>SCHEDULE SERVICE</span>
+ </a>
+ <a class="navLink" role="navigation" href="services.html">Services</a>
+ <a class="navLink" role="navigation" href="ceramic-coating.html">Ceramic Coatings</a>
+ <a class="navLink" role="navigation" href="reviews.html">Reviews</a>
+ <a class="navLink" role="navigation" href="about.html">About</a>
+ </nav>
+ </div>
+ </header>
+
+ <main id="main-content">
+
+ <div id="tableOfContents">
+ <h1 class="emphasis">BOOK NOW</h1>
+ <div id="categoryLinks">
+ <a href="#packagesJump" class="jumpLink">SERVICE PACKAGES</a>
+ <a href="#interiorJump" class="jumpLink">INTERIOR DETAILING</a>
+ <a href="#exteriorJump" class="jumpLink">EXTERIOR DETAILING</a>
+ <a href="#ceramicJump" class="jumpLink">CERAMIC COATINGS</a>
+ <a href="#correctionJump" class="jumpLink">POLISHING &amp; CORRECTION</a>
+ </div>
+ </div>
+
+
+ <div class="categoryContainer">
+ <span id="packagesJump" class="landing"></span>
+ <div id="upArrowWrapper">
+ <a id="upArrow" href="#main-content"></a>
+ </div>
+ <h1 class="serviceHeader">Service Packages</h1>
+ <div id="packages" class="serviceContainer">
+ </div>
+ </div>
+
+
+ <div>
+ <span id="interiorJump" class="landing"></span>
+ <div id="upArrowWrapper">
+ <a id="upArrow" href="#main-content"></a>
+ </div>
+ <h1 class="serviceHeader">Interior Detailing</h1>
+ </div>
+ <img class="hero-image" src="assets/img/seat-wipe-fade.png" />
+ <div class="categoryContainer">
+ <div id="interior" class="serviceContainer">
+ </div>
+ </div>
+
+ <div>
+ <span id="exteriorJump" class="landing"></span>
+ <div id="upArrowWrapper">
+ <a id="upArrow" href="#main-content"></a>
+ </div>
+ <h1 class="serviceHeader">Exterior Detailing</h1>
+ </div>
+ <img class="hero-image" src="assets/img/wheel-wash-fade.png" />
+ <div class="categoryContainer">
+ <div id="exterior" class="serviceContainer">
+ </div>
+ </div>
+
+ <div>
+ <span id="ceramicJump" class="landing"></span>
+ <div id="upArrowWrapper">
+ <a id="upArrow" href="#main-content"></a>
+ </div>
+ <h1 class="serviceHeader">Ceramic Coatings</h1>
+ </div>
+ <img class="hero-image" src="assets/img/ceramic-fade.png" />
+ <div class="categoryContainer">
+ <div id="ceramic" class="serviceContainer">
+ </div>
+ </div>
+
+ <div>
+ <span id="correctionJump" class="landing"></span>
+ <div id="upArrowWrapper">
+ <a id="upArrow" href="#main-content"></a>
+ </div>
+ <h1 class="serviceHeader">Polish &amp; Correction</h1>
+ </div>
+ <img class="hero-image" src="assets/img/towels-brushes-fade.png" />
+ <div class="categoryContainer">
+ <div id="correction" class="serviceContainer">
+ </div>
+ </div>
+
+ </main>
+
+ <footer>
+ <div id="footer-left">
+ <span>&copy;Luxury Detailing Maine 2025</span>
+ <span>All rights reserved</span>
+ <span>Portland, ME</span>
+ </div>
+ <div id="footer-right">
+ <span><a href="tel:+12078076770">(207) 807-6770</a></span>
+ <span><a href="mailto:luxurydetailingmaine@gmail.com">
+ luxurydetailingmaine@gmail.com
+ </a></span>
+ <span><a
+ href="https://www.instagram.com/luxurydetailingmaine/"
+ target="_blank"
+ >@luxurydetailingmaine</a
+ ></span>
+ </div>
+ </footer>
+
+ <script src="js/hamburger.js"></script>
+
+ <script>
+ // these categories must match the IDs of the serviceContainer <div>s above
+ const categories = ["packages", "ceramic", "correction", "exterior", "interior"];
+ const serviceData = {
+ "packages" : [
+ /** SERVICE PACKAGE ONE */
+ {
+ "title" : "Level 1 Package",
+ "subtitle" : "A detailed interior & exterior cleaning.",
+ "left" : {
+ "header" : "Interior",
+ "paragraph" : "",
+ "bullets" : [
+ "Vacuuming",
+ "Plastics, leather, and vinyls cleaning",
+ "Light scrubbing of seats",
+ "Crack & crevice cleaning",
+ "Floor mat cleaning & rejuvenation"
+ ]
+ },
+ "right" : {
+ "header" : "Exterior",
+ "paragraph" : "",
+ "bullets" : [
+ "Hand wash & dry",
+ "Bug gut removal",
+ "Tire, wheel, and wheel well cleaning + tire shine",
+ "Window cleaning",
+ "Light door jam cleaning"
+ ]
+ },
+ "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/XGQVAkJx15acdsEemvEr?productServiceId=sIUtLBqGS4mjAQNwHtI4&sku=rH37oV6muKqDXStXhH3k"
+ },
+ /** SERVICE PACKAGE TWO */
+ {
+ "title" : "Level 2 Package",
+ "subtitle" : "Tell the world you're proud of your vehicle.",
+ "left" : {
+ "header" : "Interior",
+ "paragraph" : "",
+ "bullets" : [
+ "Vacuuming",
+ "Plastics, leather, and vinyls cleaning",
+ "Light scrubbing of seats",
+ "Interior window cleaning",
+ "Crack & crevice cleaning",
+ "Floor mat cleaning & rejuvenation"
+ ]
+ },
+ "right" : {
+ "header" : "Exterior",
+ "paragraph" : "",
+ "bullets" : [
+ "Hand wash & dry",
+ "Bug gut removal",
+ "Tire, wheel, and wheel well cleaning + tire shine",
+ "Clay service to remove embedded contamination",
+ "3 to 6 month ceramic paint sealant: gloss, protection, hydrophobic & self-cleaning properties"
+ ]
+ },
+ "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/XGQVAkJx15acdsEemvEr?productServiceId=ZUyqKhnZtS3uAT9Auo2I&sku=EsEnqIEVcVedKRDITk7e"
+ },
+ /** LUXURY PACKAGE */
+ {
+ "title" : "Luxury",
+ "subtitle" : "Our most thorough interior and exterior package. Designed for vehicles that need a deeper reset to bring back that off-the-lot feeling.",
+ "left" : {
+ "header" : "Interior",
+ "paragraph" : "",
+ "bullets" : [
+ "Thorough vacuum & carpet shampooing",
+ "Plastics, leather, and vinyls scrubbed thoroughly",
+ "Upholstery shampooing (Headliner, seats)",
+ "Leather scrubbed & stains treated",
+ "Crack & crevice cleaning",
+ "Interior window cleaning",
+ "Crack & crevice deep cleaning",
+ "Floor mats scrubbed heavily & rejuvenated",
+ "6 month interior protection on all vinyls, rubbers, and plastics (Stain & spill resistance, less dusting, UV protection, and helps restore the original look of the plastics)"
+ ]
+ },
+ "right" : {
+ "header" : "Exterior",
+ "paragraph" : "",
+ "bullets" : [
+ "Hand wash & dry",
+ "Bug gut removal",
+ "Tire, wheel, wheel well cleaning, and tire shine",
+ "Clay service to remove embedded contamination",
+ "1 to 3 month ceramic paint sealant: gloss, protection, hydrophobics & self-cleaning properties"
+ ]
+ },
+ "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/XGQVAkJx15acdsEemvEr?productServiceId=uelrEIadvSGMjjiHwTdL&sku=9PIhg4Nqlq4J2XI4JQyd"
+ },
+ ],
+ "ceramic" : [
+ /** LEVEL 1 COATING */
+ {
+ "title" : "Level 1 Ceramic Coating",
+ "subtitle" : "Our entry level coating to protect painted surfaces, the most valuable part of your exterior.",
+ "left" : {
+ "header" : "",
+ "paragraph" : "",
+ "bullets" : []
+ },
+ "right" : {
+ "header" : "Includes",
+ "paragraph" : "",
+ "bullets" : [
+ "Hand wash & dry",
+ "Triple decontamination of paint & glass (minerals, iron, and contamination)",
+ "Enhancement polish to bring out gloss and depth",
+ "3-5 year ceramic coating on all painted surfaces",
+ "1 year guarantee"
+ ]
+ },
+ "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/Z2TzVLNpkirBka11huXA?productServiceId=EpBxqPABGIwdF1f3ujqS&sku=Et0iAwD3vqAQYtcNo596"
+ },
+ /** COMPLETE COATING */
+ {
+ "title" : "Level 2 Ceramic Coating",
+ "subtitle" : "If you can see it on the exterior, it's coated.",
+ "left" : {
+ "header" : "",
+ "paragraph" : "",
+ "bullets" : []
+ },
+ "right" : {
+ "header" : "Includes",
+ "paragraph" : "",
+ "bullets" : [
+ "Hand wash & dry",
+ "Triple decontamination of paint & glass (minerals, iron, and contamination)",
+ "1 step polish to remove swirls and enhance gloss",
+ "Extra correction on deeper scratches on particular areas",
+ "Glass polishing to deep clean windows",
+ "A ceramic coating on your vehicle's paint, glass, and wheel faces",
+ "Repels water, dust, dirt, UV rays, bird droppings, acid rain, tree sap, road salt, bug guts, etc.",
+ "3 year guarantee"
+ ]
+ },
+ "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/Z2TzVLNpkirBka11huXA?productServiceId=EpBxqPABGIwdF1f3ujqS&sku=Et0iAwD3vqAQYtcNo596"
+ },
+ /** LUXURY CERAMIC COATING */
+ {
+ "title" : "Luxury Ceramic Coating",
+ "subtitle" : "The ultimate gloss and protection.",
+ "left" : {
+ "header" : "",
+ "paragraph" : "",
+ "bullets" : []
+ },
+ "right" : {
+ "header" : "Includes",
+ "paragraph" : "",
+ "bullets" : [
+ "Hand wash & dry",
+ "Triple decontamination of paint & glass (minerals, iron, and contamination)",
+ "2 step correction to remove swirls, heavy defects, and chase the best results",
+ "Extra correction on deeper scratches on particular areas",
+ "Wet sanding if needed",
+ "Glass polishing to deep clean windows",
+ "A ceramic coating on your vehicle's paint, glass, and wheel faces",
+ "Repels water, dust, dirt, UV rays, bird droppings, acid rain, tree sap, road salt, bug guts, etc.",
+ "5 year guarantee"
+ ]
+ },
+ "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/Z2TzVLNpkirBka11huXA?productServiceId=EpBxqPABGIwdF1f3ujqS&sku=Et0iAwD3vqAQYtcNo596"
+ }
+ /** WHEEL WASH {
+ "title" : "Wheel Wash",
+ "subtitle" : "Make your wheels glow and shine.",
+ "left" : {
+ "header" : "Disclaimer",
+ "paragraph" : "Only available if the entire car receives a ceramic coating.",
+ "bullets" : []
+ },
+ "right" : {
+ "header" : "",
+ "paragraph" : "",
+ "bullets" : []
+ },
+ "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/Z2TzVLNpkirBka11huXA?productServiceId=jFgdX1fB0AoMVmIhSSmP&sku=lCUwUjNUHf4NYqqKYRNS"
+ }*/
+ ],
+ "correction" : [
+ /** PAINT ENHANCEMENT */
+ {
+ "title" : "Paint Enhancement",
+ "subtitle" : "Bring back that gloss you know and love.",
+ "left" : {
+ "header" : "",
+ "paragraph" : "",
+ "bullets" : []
+ },
+ "right" : {
+ "header" : "Includes",
+ "paragraph" : "",
+ "bullets" : [
+ "Exterior hand wash & triple decontamination",
+ "1-step polish to enhance gloss & reduce minor defects",
+ "6 month sealant to protect fresh paint"
+ ]
+ },
+ "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/W7MYzeflJr6yEAlpgreQ?productServiceId=CvJ0v88LfLS9De7I04qu&sku=EyZfDYm9fPEgr3FRl24h"
+ },
+ /** PAINT CORRECTION */
+ {
+ "title" : "Paint Correction",
+ "subtitle" : "Chase heavy scratches, remove oxidation, and bring back a near flawless shine.",
+ "left" : {
+ "header" : "",
+ "paragraph" : "",
+ "bullets" : []
+ },
+ "right" : {
+ "header" : "Includes",
+ "paragraph" : "",
+ "bullets" : [
+ "Exterior hand wash & triple decontamination",
+ "2-step polish to eliminate 90-95% of defects",
+ "Restore shine and gloss",
+ "6 month sealant to protect fresh paint"
+ ]
+ },
+ "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/W7MYzeflJr6yEAlpgreQ?productServiceId=EDLsm6ynRPi4sKV0ajh1&sku=s1VcPPUMz3Y5n9B99e2F"
+ }
+ ],
+ "exterior" : [
+ /** LEVEL ONE EXTERIOR */
+ {
+ "title" : "Level 1 Exterior",
+ "subtitle" : "A safe and meticulous hand wash to reveal the true shine of your car.",
+ "left" : {
+ "header" : "",
+ "paragraph" : "",
+ "bullets" : []
+ },
+ "right" : {
+ "header" : "Includes",
+ "paragraph" : "",
+ "bullets" : [
+ "Hand wash & dry",
+ "Bug gut removal",
+ "Tire, wheel, wheel well cleaning, and tire shine",
+ "Window cleaning",
+ "Light door jam cleaning"
+ ]
+ },
+ "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/yT4vtoWKB5qGaQMaxOdd?productServiceId=TFqzf6t8BKh7vTGxfNBy&sku=Czg1xQxpwwf5ninBF6xq"
+ },
+ /** LEVEL TWO INTERIOR */
+ {
+ "title" : "Level 2 Exterior",
+ "subtitle" : "Our most popular exterior.",
+ "left" : {
+ "header" : "",
+ "paragraph" : "Protect against everyday environmental hazards like road salt, bugs, and the elements- all while keeping your vehicle cleaner longer and making maintenance washes a breeze.",
+ "bullets" : []
+ },
+ "right" : {
+ "header" : "Includes",
+ "paragraph" : "",
+ "bullets" : [
+ "Hand wash & dry",
+ "Bug gut removal",
+ "Tire, wheel, wheel well cleaning, and tire shine",
+ "Triple decontamination",
+ "1 to 3 month paint sealant: gloss, protection, hydrophobic & self-cleaning properties"
+ ]
+ },
+ "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/yT4vtoWKB5qGaQMaxOdd?productServiceId=bc8YSJd6fl0CprnAY43r&sku=iUA7y7dwM4Kz51pBpQNI"
+ }
+ ],
+ "interior" : [
+ /** LEVEL ONE INTERIOR */
+ {
+ "title" : "Level 1 Interior",
+ "subtitle" : "A solid clean for well-maintained vehicles",
+ "left" : {
+ "header" : "Includes",
+ "paragraph" : "",
+ "bullets" : [
+ "Vacuuming",
+ "Plastics, leather, and vinyls cleaning",
+ "Light scrubbing of seats",
+ "Interior window cleaning",
+ "Floor mat cleaning & rejuvenation"
+ ]
+ },
+ "right" : {
+ "header" : "",
+ "paragraph" : "",
+ "bullets" : []
+ },
+ "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/iy5yKtAhm0O0w0P05acA?productServiceId=3LCNMgeB58hjFwhg58BU&sku=MuCpgSMV0hU4sUdjAPBi"
+ },
+ /** LEVEL TWO INTERIOR */
+ {
+ "title" : "Level 2 Interior",
+ "subtitle" : "A deep clean for the vehicle that needs a reset.",
+ "left" : {
+ "header" : "Includes",
+ "paragraph" : "",
+ "bullets" : [
+ "Thorough vacuum & carpet shampooing",
+ "Plastics, leather, and vinyls thoroughly scrubbed",
+ "Upholstery shampooing including headliner & seats",
+ "Leather scrubbed & stains treated",
+ "Interior window cleaning",
+ "Crack & crevice deep cleaning",
+ "Floor mats heavily scrubbed & rejuvenated"
+ ]
+ },
+ "right" : {
+ "header" : "",
+ "paragraph" : "",
+ "bullets" : []
+ },
+ "url" : "https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/yT4vtoWKB5qGaQMaxOdd?productServiceId=bc8YSJd6fl0CprnAY43r&sku=iUA7y7dwM4Kz51pBpQNI"
+ }
+ ]
+ };
+
+ // renders service data as cards when page loads
+ function insertServices(serviceData) {
+ for (const category of categories) {
+ let categoryData = serviceData[category];
+ console.log(category);
+ console.log(categoryData);
+
+ let target = document.getElementById(category);
+
+ for (const service of categoryData) {
+ let leftSide = buildCardColumn(service.left);
+ let rightSide = buildCardColumn(service.right);
+ target.insertAdjacentHTML(
+ "beforeend",
+ `
+ <div class="service">
+ <div class="card">
+ <div class="card-head">
+ <h2>${service.title}</h2>
+ <p>${service.subtitle}</p>
+ </div>
+ <div class="card-body">
+ ${leftSide ? leftSide : ""}
+ ${rightSide ? rightSide : ""}
+ </div>
+ </div>
+ <a href=${service.url} target="_blank" class="book-link">
+ <button>BOOK NOW</button>
+ </a>
+ </div>
+ `);
+ }
+ }
+ }
+
+ // helper for constructing service cards
+ function buildCardColumn(data) {
+ let html = "<span>";
+ if (data.header) {
+ html += "<h3 style='text-align:left;'>" + data.header + "</h3>";
+ }
+ if (data.paragraph) {
+ html += "<p>" + data.paragraph + "</p>";
+ }
+ if (data.bullets.length > 0) {
+ html += "<ul>";
+ for (point of data.bullets) {
+ html += "<li>" + point + "</li>";
+ }
+ html += "</ul>";
+ }
+ html += "</span>";
+ if (html == "<span></span>") return null;
+ return html;
+ }
+
+ window.onload = (event) => {
+ insertServices(serviceData);
+
+ // jump to category if coming from index/home page
+ let params = new URLSearchParams(document.location.search);
+ handleJump(params.get("jumpTarget"));
+ }
+
+ function handleJump(target) {
+ if (!target || !categories.includes(target)) return;
+ let destination = document.getElementById(target).getBoundingClientRect().top - 250;
+ window.scrollTo({ top: destination, left: 0, behavior: "smooth"});
+ }
+ </script>
+ </body>
+</html>
+