diff options
| author | simon <vesspa0330@gmail.com> | 2026-11-11 19:33:07 -0500 |
|---|---|---|
| committer | simon <vesspa0330@gmail.com> | 2026-11-11 19:33:07 -0500 |
| commit | 46cb5e372c7c3a0bbb80ef705a4836ebba7d4131 (patch) | |
| tree | a936527327a173b151886784d33d67fad8825ed2 /index.html | |
| parent | 4369f7f7de59f83ad0106399a893445666f0c3e3 (diff) | |
better look on mobile
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 920 |
1 files changed, 468 insertions, 452 deletions
@@ -1,452 +1,468 @@ -<!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>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" /> - <!-- juxtapose is the image slider / comparison tool--> - <link href="css/juxtapose.css" rel="stylesheet" /> - - <style> - - main { - min-height: 530px; /** to make sure footer doesn't overlap hero */ - } - - #hero-image { - height: auto; - width: 100%; - } - - h1 { - line-height: 1.05; - } - #intro { - text-align: center; - } - #intro p { - width: 40rem; - margin-top: 2rem; - } - - .bookingButton { - margin-top: 5rem; - width: 20rem; - height: 6rem; - font-size: 3rem; - transition: transform .2s ease; - } - .bookingButton:hover { - transform: scale(1.01); - } - .bookingButton:active { - transform: scaleX(98%); - } - - /** GALLERY */ - #gallery { - min-width: 100%; - } - #imageContainer { - display: flex; - flex-direction: row; - flex-wrap: wrap; - justify-content: center; - align-items: center; - width: 90%; - margin-top: 2rem; - gap: 4rem; - } - - #serviceLinks { - display: flex; - flex-wrap: wrap; - flex-direction: row; - justify-content: space-evenly; - align-items: center; - - gap: 2rem; - margin-top: 4rem; - } - #serviceLinks a { - min-width: 45%; - max-width: 45%; - padding: 2rem; - text-decoration: none; - text-transform: uppercase; - font-weight: bold; - color: var(--white); - font-size: 2.5rem; - border-radius: 1rem; - border: 1px solid var(--white); - transition: ease 0.2s; - line-height: 1.05; - } - #serviceLinks a:hover { - transform: scale(1.01); - color: var(--gold); - border-color: var(--gold); - } - #serviceLinks a:active { - transform: scaleX(98%); - color: var(--gold); - border-color: var(--gold); - } - - /** FOR STYLE.CSS */ - - .faq-item { - text-align: left; - width: 40%; - margin: 3rem 0; - } - .faq-item h2 { - line-height: 1.05; - } - .faq-item p { - margin-top: 2rem; - padding-left: 1rem; - border-left: 4px solid var(--dark-gold); - } - - - /** MOBILE */ - @media screen and (max-width: 850px) { - main { gap: 4rem; } - - #serviceLinks { - margin-top: 1rem; - } - #serviceLinks a { - min-width: 80%; - max-width: 80%; - font-size: 1.75rem; - } - - #intro { width: 80%; } - #intro p { - width: 80%; - } - - #imageContainer { - flex-direction: column; - gap: 2rem; - } - - .faq-item { - width: 90%; - } - } - </style> - </head> - - <body> - <a href="#main-content" class="skipLink">Skip to main content</a> - - - <header> - <div class="navBanner" role="banner"> - <a href="#" 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"> - - <img id="hero-image" src="assets/img/spread-fade.png" /> - - <section id="intro"> - <span class="eyebrow">Serving the Portland area since 2024</span> - <h1> - Restore & Protect - <br /> - Your Vehicle with - <br /> - <span class="emphasis">Luxury Detailing Maine</span> - </h1> - - <p> - At Luxury Detailing Maine, our mission is to redefine the standard of automotive - care through exceptional service, genuine relationships, and sincere trust. - Serving Portland and Southern Maine since 2024, we believe caring for a vehicle - should be a relationship built on transparency, respect, and personal attention. - </p> - <p> - More than just a detailer to our clients, we aim to be a trusted partner they - can rely on. From just a quick refresh, to reviving the car you remember paying - for, all the way to protecting and preserving your vehicle, we are here for <b>you</b>. - Every interaction is guided by a simple commitment: <b>to care for our clients, - their vehicles, and the experience we provide with the same consideration we - would expect ourselves.</b> - </p> - - <!-- - <a class="bookingButton" href="https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5"> - <span>BOOK NOW</span> - </a> - --> - </section> - - <section id="services"> - <h1><span class="emphasis">BOOK</span> A SERVICE <span class="emphasis">NOW</span></h1> - <div id="serviceLinks"> - <a href="https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/XGQVAkJx15acdsEemvEr">Service Packages</a> - <a href="https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/iy5yKtAhm0O0w0P05acA">Interior Detailing</a> - <a href="https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/yT4vtoWKB5qGaQMaxOdd">Exterior Detailing</a> - <a href="https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/Z2TzVLNpkirBka11huXA">Ceramic Coatings</a> - <a href="https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/W7MYzeflJr6yEAlpgreQ">Polishing & Correction</a> - </div> - </section> - - <section id="gallery"> - <h1><span class="emphasis">Before</span> & <span class="emphasis">After</span></h1> - <div id="imageContainer"> - - <div class="juxtapose"> - <img src="assets/img/before1.jpg" alt="An interior of a car trunk, the floor is covered in dirt and grass." /> - <img src="assets/img/after1.jpg" alt="The same trunk after it has been restored to like-new condition." /> - </div> - - <div class="juxtapose"> - <img src="assets/img/before2.jpg" alt="A photo of the driver's seat, the floor is caked in mud and dashboard is crusty." /> - <img src="assets/img/after2.jpg" alt="The same front seat after it has been restored to like-new condition." /> - </div> - - </div> - </section> - - <section id="FAQ"> - <h1 class="emphasis">FAQ</h1> - - <div class="faq-item"> - <div class="faq-question"> - <h2>How much does car detailing cost?</h2> - </div> - <p class="faq-answer"> - The cost of car detailing depends on the <em>size, condition, - and level of service</em> your vehicle requires. Our detailing - services currently range from approximately <strong>$80 to $520</strong>, - while ceramic coatings and paint polishing are priced - separately based on the vehicle and service selected. - <br /><br /> - Because every vehicle is different, we provide recommendations - based on its condition and your specific goals rather than taking - a one-size-fits-all approach. - </p> - </div> - - <div class="faq-item"> - <div class="faq-question"> - <h2>How do I get a quote for detailing?</h2> - </div> - <p class="faq-answer"> - Getting a quote is easy. Contact us by phone/text - (<a href="tel:+12078076770">207-807-6770</a>), email - (<a href="mailto:luxurydetailingmaine@gmail.com">luxurydetailingmaine@gmail.com</a>), or Instagram - (<a href="https://www.instagram.com/luxurydetailingmaine/" target="_blank">@luxurydetailingmaine</a>) - and provide your vehicle's year, make, model, and a brief - description of what you're looking to have done. - <br /><br /> - Photos of the vehicle can also be helpful when determining its - condition and recommending the appropriate detailing service. - </p> - </div> - - <div class="faq-item"> - <div class="faq-question"> - <h2>What happens if my vehicle is significantly dirtier than expected?</h2> - </div> - <p class="faq-answer"> - Every vehicle receives a <em>thorough inspection before detailing begins</em>. - If we find that your vehicle requires a more intensive service - than originally scheduled, we'll explain what we found and - discuss the available options with you. - <br /><br /> - A more in-depth detail may result in an additional charge, - but <em>no price increase is made without your approval</em>. - We'll always have a conversation about what makes the most - sense for your vehicle, your goals, and your budget. - <br /><br /> - <strong>Transparency in pricing and expectations is one of our highest priorities.</strong> - </p> - </div> - - <div class="faq-item"> - <div class="faq-question"> - <h2>Do you offer mobile detailing?</h2> - </div> - <p class="faq-answer"> - Luxury Detailing currently offers mobile car detailing - throughout the <strong>Greater Portland and Southern Maine</strong> - area. For mobile appointments, access to - <em>water and electricity is required</em> - at the service location. - <br /><br /> - As the business grows, we are preparing for a dedicated - detailing shop that will provide another option for - clients who prefer to have their vehicle professionally - serviced at our location - </p> - </div> - - <div class="faq-item"> - <div class="faq-question"> - <h2>What happens if I'm not satisfied with my detail? -</h2> - </div> - <p class="faq-answer"> - Your satisfaction with your detail is extremely important - to us. If something doesn't look or feel right after your - service, please contact us by phone, text, email, or any - other convenient method. - <br /><br /> - We never take concerns personally. Our goal is to understand - what wasn't right, address the issue, and make sure you're - happy with the final result. - <em> - If something needs to be corrected, we'll work with you - to make it right. - </em> - </p> - </div> - - </section> - - </main> - - <footer> - <div id="footer-left"> - <span>©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 src="js/dropdown.js"></script> - <script src="js/juxtapose.js"></script> - <script> - /** page init */ - window.onload = function () { - // set listener to jiggle gallery sliders - window.addEventListener("scroll", jiggleGallerySliders); - // set listener for overriding gallery resize logic - window.addEventListener("resize", setImageSizes); - // initialize gallery image sizes by feigning resize upon init - setImageSizes(); - }; - - /** gallery jiggling (indicate to user they can slide images for comparison) */ - let jiggled = false; - let jiggleThreshold = document.getElementById("hero-image").offsetHeight + - document.getElementById("intro").offsetHeight + - document.getElementById("services").offsetHeight + - document.getElementById("gallery").offsetHeight + 450; - async function jiggleGallerySliders() { - // ensure threshold was initialized + jiggle only once per page load - if (!jiggleThreshold || jiggled) return; - - // ensure jiggle only triggers upon gallery scrolling into view - if (window.scrollY < jiggleThreshold) return; - jiggled = true; - - // once user scrolls to gallery, move sliders on all images right a bit - let sliders = juxtapose.sliders; - for (let i = 0; i < sliders.length; i++) { - sliders[i].updateSlider(60, true); - } - - // sleep, then slide them all left, - await new Promise(resolve => setTimeout(resolve, 2000)); - for (let i = 0; i < sliders.length; i++) { - sliders[i].updateSlider(40, true); - } - - // sleep, then reset sliders back to center - await new Promise(resolve => setTimeout(resolve, 2000)); - for (let i = 0; i < sliders.length; i++) { - sliders[i].updateSlider(50, true); - } - } - - - /** override logic for 'juxtapose' image scaling based on window size changes */ - function setImageSizes() { - let isDesktop = window.innerWidth > 850; - let newWidth, newHeight; - - if (isDesktop) { - newWidth = window.innerWidth * 0.35; - } - else { - newWidth = window.innerWidth * 0.80; - } - - // keep all images at 1:1.2 ratio - newHeight = newWidth * 1.2; - - // resize iframes - let images = document.getElementsByClassName("juxtapose"); - for (let i = 0; i < images.length; i++) { - images[i].style.width = newWidth + 'px'; - images[i].style.height = newHeight + 'px'; - } - - // resize images in each iframe to match new dimensions - images = document.getElementsByClassName("jx-image"); - for (let i = 0; i < images.length; i++) { - images[i].style.width = newWidth + 'px'; - images[i].style.height = newHeight + 'px'; - images[i].children[0].style.width = newWidth + 'px'; - images[i].children[0].style.height = newHeight + 'px'; - } - - // quickly touch every iframe/slider (otherwise the images glitch out until user interacts with slider again) - let sliders = juxtapose.sliders; - for (let i = 0; i < sliders.length; i++) { - sliders[i].updateSlider(sliders[i].sliderPosition.replace("%", ""), true); - } - - } - </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>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" />
+ <!-- juxtapose is the image slider / comparison tool-->
+ <link href="css/juxtapose.css" rel="stylesheet" />
+
+ <style>
+
+ main {
+ min-height: 530px; /** to make sure footer doesn't overlap hero */
+ }
+
+ #hero-image {
+ height: auto;
+ width: 100%;
+ }
+
+ h1 {
+ line-height: 1.05;
+ }
+ #intro {
+ text-align: center;
+ }
+ #intro p {
+ width: 40rem;
+ margin-top: 2rem;
+ }
+
+ .bookingButton {
+ margin-top: 5rem;
+ width: 20rem;
+ height: 6rem;
+ font-size: 3rem;
+ transition: transform .2s ease;
+ }
+ .bookingButton:hover {
+ transform: scale(1.01);
+ }
+ .bookingButton:active {
+ transform: scaleX(98%);
+ }
+
+ /** GALLERY */
+ #gallery {
+ min-width: 100%;
+ }
+ #imageContainer {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ justify-content: center;
+ align-items: center;
+ width: 90%;
+ margin-top: 2rem;
+ gap: 4rem;
+ }
+
+ #serviceLinks {
+ display: flex;
+ flex-wrap: wrap;
+ flex-direction: row;
+ justify-content: space-evenly;
+ align-items: center;
+
+ gap: 2rem;
+ margin-top: 4rem;
+ }
+ #serviceLinks a {
+ min-width: 45%;
+ max-width: 45%;
+ padding: 2rem;
+ text-decoration: none;
+ text-transform: uppercase;
+ font-weight: bold;
+ color: var(--white);
+ font-size: 2.5rem;
+ border-radius: 1rem;
+ border: 1px solid var(--white);
+ transition: ease 0.2s;
+ line-height: 1.05;
+ }
+ #serviceLinks a:hover {
+ transform: scale(1.01);
+ color: var(--gold);
+ border-color: var(--gold);
+ }
+ #serviceLinks a:active {
+ transform: scaleX(98%);
+ color: var(--gold);
+ border-color: var(--gold);
+ }
+
+ /** FOR STYLE.CSS */
+
+ :nth-child(1 of .faq-item) { margin-top: 1rem; }
+ .faq-item {
+ text-align: left;
+ width: 40%;
+ margin: 3rem 0;
+ }
+ .faq-item h2 {
+ line-height: 1.05;
+ }
+ .faq-item p {
+ margin-top: 2rem;
+ padding-left: 1rem;
+ border-left: 4px solid var(--dark-gold);
+ }
+
+
+ /** MOBILE */
+ @media screen and (max-width: 850px) {
+ main { gap: 4rem; }
+
+ h1 { font-size: 2.5rem; }
+ .eyebrow { font-size: 1rem; }
+
+
+ #serviceLinks {
+ margin-top: 1rem;
+ }
+ #services h1 {
+ min-width: 70%;
+ max-width: 70%;
+ }
+ #serviceLinks a {
+ min-width: 80%;
+ max-width: 80%;
+ font-size: 1.75rem;
+ }
+
+ #intro { width: 80%; }
+ #intro p {
+ width: 80%;
+ }
+
+ #imageContainer {
+ flex-direction: column;
+ gap: 2rem;
+ }
+
+ .faq-item {
+ width: 90%;
+ }
+ }
+ </style>
+ </head>
+
+ <body>
+ <a href="#main-content" class="skipLink">Skip to main content</a>
+
+
+ <header>
+ <div class="navBanner" role="banner">
+ <a href="#" 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">
+
+ <img id="hero-image" src="assets/img/spread-fade.png" />
+
+ <section id="intro">
+ <span class="eyebrow">Serving the Portland area since 2024</span>
+ <h1>
+ Restore & Protect
+ <br />
+ Your Vehicle with
+ <br />
+ <span class="emphasis">Luxury Detailing Maine</span>
+ </h1>
+
+ <p>
+ At Luxury Detailing Maine, our mission is to redefine the standard of automotive
+ care through exceptional service, genuine relationships, and sincere trust.
+ Serving Portland and Southern Maine since 2024, we believe caring for a vehicle
+ should be a relationship built on transparency, respect, and personal attention.
+ </p>
+ <p>
+ More than just a detailer to our clients, we aim to be a trusted partner they
+ can rely on. From just a quick refresh, to reviving the car you remember paying
+ for, all the way to protecting and preserving your vehicle, we are here for <b>you</b>.
+ Every interaction is guided by a simple commitment: <b>to care for our clients,
+ their vehicles, and the experience we provide with the same consideration we
+ would expect ourselves.</b>
+ </p>
+ </section>
+
+ <section id="services">
+ <h1><span class="emphasis">BOOK</span> A SERVICE <span class="emphasis">NOW</span></h1>
+ <div id="serviceLinks">
+ <a href="https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/XGQVAkJx15acdsEemvEr">Service Packages</a>
+ <a href="https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/iy5yKtAhm0O0w0P05acA">Interior Detailing</a>
+ <a href="https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/yT4vtoWKB5qGaQMaxOdd">Exterior Detailing</a>
+ <a href="https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/Z2TzVLNpkirBka11huXA">Ceramic Coatings</a>
+ <a href="https://app.urable.com/virtual-shop/IQlYjZyF1i2XilEiEKB5/W7MYzeflJr6yEAlpgreQ">Polishing & Correction</a>
+ </div>
+ </section>
+
+ <section id="gallery">
+ <h1><span class="emphasis">Before</span> & <span class="emphasis">After</span></h1>
+ <div id="imageContainer">
+
+ <div class="juxtapose">
+ <img src="assets/img/before1.jpg" alt="An interior of a car trunk, the floor is covered in dirt and grass." />
+ <img src="assets/img/after1.jpg" alt="The same trunk after it has been restored to like-new condition." />
+ </div>
+
+ <div class="juxtapose">
+ <img src="assets/img/before2.jpg" alt="A photo of the driver's seat, the floor is caked in mud and dashboard is crusty." />
+ <img src="assets/img/after2.jpg" alt="The same front seat after it has been restored to like-new condition." />
+ </div>
+
+ </div>
+ </section>
+
+ <section id="FAQ">
+ <h1 class="emphasis">FAQ</h1>
+
+ <div class="faq-item">
+ <div class="faq-question">
+ <h2>How much does car detailing cost?</h2>
+ </div>
+ <p class="faq-answer">
+ The cost of car detailing depends on the <em>size, condition,
+ and level of service</em> your vehicle requires. Our detailing
+ services currently range from approximately <strong>$80 to $520</strong>,
+ while ceramic coatings and paint polishing are priced
+ separately based on the vehicle and service selected.
+ <br /><br />
+ Because every vehicle is different, we provide recommendations
+ based on its condition and your specific goals rather than taking
+ a one-size-fits-all approach.
+ </p>
+ </div>
+
+ <div class="faq-item">
+ <div class="faq-question">
+ <h2>How do I get a quote for detailing?</h2>
+ </div>
+ <p class="faq-answer">
+ Getting a quote is easy. Contact us by phone/text
+ (<a href="tel:+12078076770">207-807-6770</a>), email
+ (<a href="mailto:luxurydetailingmaine@gmail.com">luxurydetailingmaine@gmail.com</a>), or Instagram
+ (<a href="https://www.instagram.com/luxurydetailingmaine/" target="_blank">@luxurydetailingmaine</a>)
+ and provide your vehicle's year, make, model, and a brief
+ description of what you're looking to have done.
+ <br /><br />
+ Photos of the vehicle can also be helpful when determining its
+ condition and recommending the appropriate detailing service.
+ </p>
+ </div>
+
+ <div class="faq-item">
+ <div class="faq-question">
+ <h2>What happens if my vehicle is significantly dirtier than expected?</h2>
+ </div>
+ <p class="faq-answer">
+ Every vehicle receives a <em>thorough inspection before detailing begins</em>.
+ If we find that your vehicle requires a more intensive service
+ than originally scheduled, we'll explain what we found and
+ discuss the available options with you.
+ <br /><br />
+ A more in-depth detail may result in an additional charge,
+ but <em>no price increase is made without your approval</em>.
+ We'll always have a conversation about what makes the most
+ sense for your vehicle, your goals, and your budget.
+ <br /><br />
+ <strong>Transparency in pricing and expectations is one of our highest priorities.</strong>
+ </p>
+ </div>
+
+ <div class="faq-item">
+ <div class="faq-question">
+ <h2>Do you offer mobile detailing?</h2>
+ </div>
+ <p class="faq-answer">
+ Luxury Detailing currently offers mobile car detailing
+ throughout the <strong>Greater Portland and Southern Maine</strong>
+ area. For mobile appointments, access to
+ <em>water and electricity is required</em>
+ at the service location.
+ <br /><br />
+ As the business grows, we are preparing for a dedicated
+ detailing shop that will provide another option for
+ clients who prefer to have their vehicle professionally
+ serviced at our location
+ </p>
+ </div>
+
+ <div class="faq-item">
+ <div class="faq-question">
+ <h2>What happens if I'm not satisfied with my detail?
+</h2>
+ </div>
+ <p class="faq-answer">
+ Your satisfaction with your detail is extremely important
+ to us. If something doesn't look or feel right after your
+ service, please contact us by phone, text, email, or any
+ other convenient method.
+ <br /><br />
+ We never take concerns personally. Our goal is to understand
+ what wasn't right, address the issue, and make sure you're
+ happy with the final result.
+ <em>
+ If something needs to be corrected, we'll work with you
+ to make it right.
+ </em>
+ </p>
+ </div>
+
+ </section>
+
+ </main>
+
+ <footer>
+ <div id="footer-left">
+ <span>©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 src="js/dropdown.js"></script>
+ <script src="js/juxtapose.js"></script>
+ <script>
+ let isDesktop = true;
+ // for gallery jiggling (indicate to user they can interact with images
+ let jiggled = false;
+ let jiggleThreshold = 0;
+
+ /** page init */
+ window.onload = function () {
+ // set listener to jiggle gallery sliders
+ window.addEventListener("scroll", jiggleGallerySliders);
+ // set listener for overriding gallery resize logic
+ window.addEventListener("resize", setImageSizes);
+
+ // initialize jiggle state
+ setJiggleThreshold();
+
+ // initialize gallery image sizes by feigning resize upon init
+ setImageSizes();
+ };
+
+ function setJiggleThreshold() {
+ isDesktop = window.innerWidth > 850;
+ jiggleThreshold = document.getElementById("hero-image").offsetHeight +
+ document.getElementById("intro").offsetHeight +
+ document.getElementById("services").offsetHeight;
+ if (isDesktop) jiggleThreshold += 450;
+ }
+
+
+ async function jiggleGallerySliders() {
+ // ensure threshold was initialized + jiggle only once per page load
+ if (!jiggleThreshold || jiggled) return;
+
+ // ensure jiggle only triggers upon gallery scrolling into view
+ if (window.scrollY < jiggleThreshold) return;
+ jiggled = true;
+
+ // once user scrolls to gallery, move sliders on all images right a bit
+ let sliders = juxtapose.sliders;
+ for (let i = 0; i < sliders.length; i++) {
+ sliders[i].updateSlider(60, true);
+ }
+
+ // sleep, then slide them all left,
+ await new Promise(resolve => setTimeout(resolve, 2000));
+ for (let i = 0; i < sliders.length; i++) {
+ sliders[i].updateSlider(40, true);
+ }
+
+ // sleep, then reset sliders back to center
+ await new Promise(resolve => setTimeout(resolve, 2000));
+ for (let i = 0; i < sliders.length; i++) {
+ sliders[i].updateSlider(50, true);
+ }
+ }
+
+
+ /** override logic for 'juxtapose' image scaling based on window size changes */
+ function setImageSizes() {
+ setJiggleThreshold();
+
+ let newWidth, newHeight;
+
+ if (isDesktop) {
+ newWidth = window.innerWidth * 0.35;
+ }
+ else {
+ newWidth = window.innerWidth * 0.80;
+ }
+
+ // keep all images at 1:1.2 ratio
+ newHeight = newWidth * 1.2;
+
+ // resize iframes
+ let images = document.getElementsByClassName("juxtapose");
+ for (let i = 0; i < images.length; i++) {
+ images[i].style.width = newWidth + 'px';
+ images[i].style.height = newHeight + 'px';
+ }
+
+ // resize images in each iframe to match new dimensions
+ images = document.getElementsByClassName("jx-image");
+ for (let i = 0; i < images.length; i++) {
+ images[i].style.width = newWidth + 'px';
+ images[i].style.height = newHeight + 'px';
+ images[i].children[0].style.width = newWidth + 'px';
+ images[i].children[0].style.height = newHeight + 'px';
+ }
+
+ // quickly touch every iframe/slider (otherwise the images glitch out until user interacts with slider again)
+ let sliders = juxtapose.sliders;
+ for (let i = 0; i < sliders.length; i++) {
+ sliders[i].updateSlider(sliders[i].sliderPosition.replace("%", ""), true);
+ }
+
+ }
+ </script>
+ </body>
+</html>
|
