mirror of
https://github.com/Sea-Haven-Industries/seahaven-site.git
synced 2026-09-30 12:23:17 +00:00
Strip all WordPress/Elementor markup from 8 interior pages and rebuild with clean semantic HTML, inline CSS design system, always-white nav, Basin form backends with AJAX submission, and canonical/OG meta tags. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
684 lines
22 KiB
HTML
684 lines
22 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en-US">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Contact — Sea Haven Industries</title>
|
|
<meta name="description" content="Get in touch with Sea Haven Industries. Have a question or project idea? Contact us today to discuss your construction and facilities needs.">
|
|
<meta property="og:title" content="Contact — Sea Haven Industries">
|
|
<meta property="og:description" content="Get in touch with Sea Haven Industries. Have a question or project idea? Contact us today to discuss your construction and facilities needs.">
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:url" content="https://seahaven.com/contact/">
|
|
<meta property="og:site_name" content="Sea Haven Industries">
|
|
<meta property="og:image" content="https://seahaven.com/assets/images/seahaven-16.webp">
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="robots" content="index, follow, max-image-preview:large">
|
|
<link rel="canonical" href="https://seahaven.com/contact/">
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/assets/images/favicon-32.png">
|
|
<link rel="apple-touch-icon" sizes="192x192" href="/assets/images/favicon-192.png">
|
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
<link href="https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet">
|
|
|
|
<style>
|
|
/* ── Reset & Tokens ── */
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
:root {
|
|
--rose: #cc3366;
|
|
--rose-dark: #a82a54;
|
|
--rose-tint: #f7edf1;
|
|
--ink: #1a1814;
|
|
--ink-mid: #3d3730;
|
|
--body-bg: #faf9f7;
|
|
--surface: #ffffff;
|
|
--warm-gray: #f0ece6;
|
|
--border: #e0dbd4;
|
|
--text: #2a2520;
|
|
--text-muted: #7c756d;
|
|
--font-display: 'DM Serif Display', Georgia, serif;
|
|
--font-body: 'Inter', system-ui, sans-serif;
|
|
--max-w: 1200px;
|
|
--gap: clamp(1.5rem, 4vw, 3rem);
|
|
}
|
|
|
|
html { scroll-behavior: smooth; }
|
|
|
|
body {
|
|
font-family: var(--font-body);
|
|
font-size: 1rem;
|
|
line-height: 1.65;
|
|
color: var(--text);
|
|
background: var(--body-bg);
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
img { display: block; max-width: 100%; }
|
|
a { color: inherit; text-decoration: none; }
|
|
|
|
.container {
|
|
max-width: var(--max-w);
|
|
margin-inline: auto;
|
|
padding-inline: clamp(1.25rem, 5vw, 2.5rem);
|
|
}
|
|
|
|
/* ── Typography ── */
|
|
.display-lg {
|
|
font-family: var(--font-display);
|
|
font-size: clamp(2rem, 4vw, 3.5rem);
|
|
line-height: 1.1;
|
|
letter-spacing: -0.015em;
|
|
}
|
|
.display-md {
|
|
font-family: var(--font-display);
|
|
font-size: clamp(1.5rem, 3vw, 2.25rem);
|
|
line-height: 1.2;
|
|
}
|
|
.label {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
color: var(--rose);
|
|
}
|
|
.body-lg { font-size: 1.125rem; line-height: 1.7; }
|
|
.body-sm { font-size: 0.875rem; line-height: 1.6; color: var(--text-muted); }
|
|
|
|
/* ── Buttons ── */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-family: var(--font-body);
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.04em;
|
|
padding: 0.875rem 1.75rem;
|
|
border-radius: 2px;
|
|
transition: all 0.2s ease;
|
|
cursor: pointer;
|
|
border: 1.5px solid transparent;
|
|
}
|
|
.btn-primary {
|
|
background: var(--rose);
|
|
color: #fff;
|
|
border-color: var(--rose);
|
|
}
|
|
.btn-primary:hover {
|
|
background: var(--rose-dark);
|
|
border-color: var(--rose-dark);
|
|
}
|
|
|
|
/* ── Navigation ── */
|
|
.site-header {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 100;
|
|
background: rgba(255,255,255,0.97);
|
|
box-shadow: 0 1px 0 var(--border);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
transition: background 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
.nav-inner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: 72px;
|
|
}
|
|
.nav-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.625rem;
|
|
}
|
|
.nav-logo img { height: 44px; width: auto; }
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
list-style: none;
|
|
}
|
|
.nav-links a {
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
color: var(--ink-mid);
|
|
transition: color 0.15s;
|
|
}
|
|
.nav-links a:hover { color: var(--rose) !important; }
|
|
|
|
.nav-cta {
|
|
font-size: 0.8125rem;
|
|
font-weight: 600;
|
|
padding: 0.625rem 1.25rem;
|
|
border-radius: 2px;
|
|
border: 1.5px solid var(--rose);
|
|
color: var(--rose);
|
|
background: transparent;
|
|
transition: all 0.2s;
|
|
}
|
|
.nav-cta:hover {
|
|
background: var(--rose) !important;
|
|
border-color: var(--rose) !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
.nav-hamburger {
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
background: none;
|
|
border: none;
|
|
color: var(--ink);
|
|
}
|
|
.nav-hamburger span {
|
|
display: block;
|
|
width: 24px;
|
|
height: 2px;
|
|
background: currentColor;
|
|
transition: all 0.25s;
|
|
}
|
|
|
|
/* ── Page Hero ── */
|
|
.page-hero {
|
|
background: var(--ink);
|
|
padding: 140px 0 60px;
|
|
}
|
|
.breadcrumb {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-size: 0.8125rem;
|
|
color: rgba(255,255,255,0.4);
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
.breadcrumb a {
|
|
color: rgba(255,255,255,0.5);
|
|
transition: color 0.15s;
|
|
}
|
|
.breadcrumb a:hover { color: #fff; }
|
|
.breadcrumb span { color: rgba(255,255,255,0.25); }
|
|
.page-hero h1 {
|
|
font-family: var(--font-display);
|
|
font-size: clamp(2.25rem, 5vw, 3.5rem);
|
|
line-height: 1.1;
|
|
color: #fff;
|
|
}
|
|
|
|
/* ── Section Scaffolding ── */
|
|
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
|
|
|
|
/* ── Contact Section ── */
|
|
.contact-section { background: var(--surface); }
|
|
.contact-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1.25fr;
|
|
gap: clamp(3rem, 6vw, 5rem);
|
|
}
|
|
.contact-info .label { margin-bottom: 0.75rem; }
|
|
.contact-info h2 {
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
.contact-info > p {
|
|
color: var(--text-muted);
|
|
font-size: 1rem;
|
|
line-height: 1.75;
|
|
margin-bottom: 2.5rem;
|
|
}
|
|
.contact-detail {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
.contact-detail-icon {
|
|
flex-shrink: 0;
|
|
width: 44px;
|
|
height: 44px;
|
|
background: var(--rose-tint);
|
|
border-radius: 2px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--rose);
|
|
font-size: 0.75rem;
|
|
font-weight: 700;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
.contact-detail-text strong {
|
|
display: block;
|
|
font-size: 0.875rem;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
margin-bottom: 0.125rem;
|
|
}
|
|
.contact-detail-text span,
|
|
.contact-detail-text a {
|
|
font-size: 0.875rem;
|
|
color: var(--text-muted);
|
|
line-height: 1.5;
|
|
}
|
|
.contact-detail-text a:hover { color: var(--rose); }
|
|
|
|
/* ── Contact Form ── */
|
|
.contact-form {
|
|
background: var(--body-bg);
|
|
padding: clamp(2rem, 4vw, 3rem);
|
|
border-radius: 3px;
|
|
border: 1px solid var(--border);
|
|
}
|
|
.form-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 1rem;
|
|
}
|
|
.form-group {
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
.form-group label {
|
|
display: block;
|
|
font-size: 0.8125rem;
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
margin-bottom: 0.375rem;
|
|
}
|
|
.form-group input,
|
|
.form-group textarea {
|
|
width: 100%;
|
|
border: 1px solid var(--border);
|
|
padding: 0.75rem 1rem;
|
|
border-radius: 2px;
|
|
font-family: var(--font-body);
|
|
font-size: 0.9375rem;
|
|
color: var(--text);
|
|
background: var(--surface);
|
|
transition: border-color 0.2s ease;
|
|
outline: none;
|
|
}
|
|
.form-group input::placeholder,
|
|
.form-group textarea::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
.form-group input:focus,
|
|
.form-group textarea:focus {
|
|
border-color: var(--rose);
|
|
}
|
|
.form-group textarea {
|
|
resize: vertical;
|
|
min-height: 140px;
|
|
}
|
|
.form-submit {
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
/* ── Footer ── */
|
|
.site-footer {
|
|
background: var(--ink);
|
|
padding: clamp(3.5rem, 6vw, 5rem) 0 2rem;
|
|
}
|
|
.footer-grid {
|
|
display: grid;
|
|
grid-template-columns: 1.75fr 1fr 1fr 1fr;
|
|
gap: 3rem;
|
|
padding-bottom: 3rem;
|
|
border-bottom: 1px solid rgba(255,255,255,0.07);
|
|
}
|
|
.footer-brand img { height: 38px; margin-bottom: 1rem; }
|
|
.footer-brand p {
|
|
font-size: 0.875rem;
|
|
color: rgba(255,255,255,0.4);
|
|
line-height: 1.75;
|
|
max-width: 260px;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
.footer-social {
|
|
display: flex;
|
|
gap: 0.625rem;
|
|
}
|
|
.footer-social a {
|
|
width: 36px;
|
|
height: 36px;
|
|
border: 1px solid rgba(255,255,255,0.12);
|
|
border-radius: 2px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: rgba(255,255,255,0.45);
|
|
font-size: 0.75rem;
|
|
transition: all 0.2s;
|
|
}
|
|
.footer-social a:hover {
|
|
border-color: var(--rose);
|
|
color: var(--rose);
|
|
}
|
|
.footer-col h4 {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
color: rgba(255,255,255,0.3);
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
.footer-col ul { list-style: none; }
|
|
.footer-col ul li { margin-bottom: 0.625rem; }
|
|
.footer-col ul li a {
|
|
font-size: 0.875rem;
|
|
color: rgba(255,255,255,0.5);
|
|
transition: color 0.15s;
|
|
}
|
|
.footer-col ul li a:hover { color: #fff; }
|
|
.footer-contact-item {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
font-size: 0.875rem;
|
|
color: rgba(255,255,255,0.5);
|
|
margin-bottom: 0.5rem;
|
|
line-height: 1.5;
|
|
}
|
|
.footer-contact-item strong { color: rgba(255,255,255,0.75); }
|
|
.footer-bottom {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-top: 1.75rem;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
.footer-bottom p {
|
|
font-size: 0.8125rem;
|
|
color: rgba(255,255,255,0.28);
|
|
}
|
|
.footer-bottom-links {
|
|
display: flex;
|
|
gap: 1.5rem;
|
|
list-style: none;
|
|
}
|
|
.footer-bottom-links a {
|
|
font-size: 0.8125rem;
|
|
color: rgba(255,255,255,0.28);
|
|
transition: color 0.15s;
|
|
}
|
|
.footer-bottom-links a:hover { color: rgba(255,255,255,0.65); }
|
|
|
|
/* ── Mobile Nav ── */
|
|
.mobile-menu {
|
|
display: none;
|
|
position: fixed;
|
|
inset: 0;
|
|
background: var(--ink);
|
|
z-index: 99;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
}
|
|
.mobile-menu.open { display: flex; }
|
|
.mobile-menu a {
|
|
font-family: var(--font-display);
|
|
font-size: 2rem;
|
|
color: rgba(255,255,255,0.75);
|
|
transition: color 0.15s;
|
|
}
|
|
.mobile-menu a:hover { color: #fff; }
|
|
.mobile-menu-close {
|
|
position: absolute;
|
|
top: 1.5rem;
|
|
right: 1.5rem;
|
|
background: none;
|
|
border: none;
|
|
color: rgba(255,255,255,0.5);
|
|
font-size: 1.5rem;
|
|
cursor: pointer;
|
|
line-height: 1;
|
|
}
|
|
|
|
/* ── Responsive ── */
|
|
@media (max-width: 1024px) {
|
|
.footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
|
|
.footer-brand { grid-column: span 2; }
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.nav-links, .nav-cta { display: none; }
|
|
.nav-hamburger { display: flex; }
|
|
.page-hero { padding: 120px 0 40px; }
|
|
.contact-grid { grid-template-columns: 1fr; }
|
|
.form-row { grid-template-columns: 1fr; }
|
|
.footer-grid { grid-template-columns: 1fr; }
|
|
.footer-brand { grid-column: span 1; }
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.footer-bottom { flex-direction: column; align-items: flex-start; }
|
|
}
|
|
</style>
|
|
<script src="https://www.google.com/recaptcha/api.js?render=6Les66kUAAAAANyLrgkl7iuN4JUpNlB5upaMovI4"></script>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<!-- ── Navigation ── -->
|
|
<header class="site-header scrolled" id="site-header">
|
|
<div class="container">
|
|
<nav class="nav-inner">
|
|
<a href="/" class="nav-logo">
|
|
<img src="/assets/images/seahaven-logo-nav-new.png" alt="Sea Haven Industries">
|
|
</a>
|
|
<ul class="nav-links">
|
|
<li><a href="/services/">Services</a></li>
|
|
<li><a href="/about/">About</a></li>
|
|
<li><a href="/career/">Careers</a></li>
|
|
<li><a href="/social-accountability/">Accountability</a></li>
|
|
</ul>
|
|
<a href="/contact/" class="nav-cta">Get a Quote</a>
|
|
<button class="nav-hamburger" id="hamburger" aria-label="Open menu">
|
|
<span></span><span></span><span></span>
|
|
</button>
|
|
</nav>
|
|
</div>
|
|
</header>
|
|
<div class="mobile-menu" id="mobile-menu">
|
|
<button class="mobile-menu-close" id="menu-close">✕</button>
|
|
<a href="/services/">Services</a>
|
|
<a href="/about/">About</a>
|
|
<a href="/career/">Careers</a>
|
|
<a href="/social-accountability/">Accountability</a>
|
|
<a href="/contact/">Contact</a>
|
|
</div>
|
|
|
|
<!-- ── Page Hero ── -->
|
|
<section class="page-hero">
|
|
<div class="container">
|
|
<nav class="breadcrumb" aria-label="Breadcrumb">
|
|
<a href="/">Home</a>
|
|
<span>/</span>
|
|
Contact Us
|
|
</nav>
|
|
<h1>Get in Touch</h1>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- ── Contact Section ── -->
|
|
<section class="contact-section section">
|
|
<div class="container">
|
|
<div class="contact-grid">
|
|
|
|
<!-- Left Column — Info -->
|
|
<div class="contact-info">
|
|
<p class="label">Contact Us</p>
|
|
<h2 class="display-md">Have a Question or Project Idea? Let's Talk!</h2>
|
|
<p>Have a project in mind or need more information about our construction services? Contact us today! Our friendly and knowledgeable team is ready to answer your questions, provide you with a detailed estimate, and guide you through the next steps.</p>
|
|
|
|
<div class="contact-detail">
|
|
<div class="contact-detail-icon">LOC</div>
|
|
<div class="contact-detail-text">
|
|
<strong>Address</strong>
|
|
<span>710 Koehler Ave, Ronkonkoma, NY 11779</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="contact-detail">
|
|
<div class="contact-detail-icon">@</div>
|
|
<div class="contact-detail-text">
|
|
<strong>Email</strong>
|
|
<a href="mailto:work-orders@seahaven.com">work-orders@seahaven.com</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="contact-detail">
|
|
<div class="contact-detail-icon">TEL</div>
|
|
<div class="contact-detail-text">
|
|
<strong>Phone</strong>
|
|
<a href="tel:+16317765102">(631) 776-5102</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Right Column — Form -->
|
|
<div class="contact-form">
|
|
<div class="form-success" id="form-success" style="display:none; background: var(--rose-tint); border-left: 3px solid var(--rose); padding: 1.25rem 1.5rem; border-radius: 2px;">
|
|
<strong style="color: var(--text);">Message sent!</strong>
|
|
<p style="color: var(--text-muted); margin-top: 0.25rem; font-size: 0.875rem;">Thank you for reaching out. We'll get back to you shortly.</p>
|
|
</div>
|
|
<form action="https://usebasin.com/f/08bc652e1969" method="POST">
|
|
<input type="hidden" name="_gotcha" style="display:none">
|
|
<input type="hidden" name="g-recaptcha-response" id="g-recaptcha-response">
|
|
<input type="hidden" name="g-recaptcha-version" value="v3">
|
|
<div class="form-row">
|
|
<div class="form-group">
|
|
<label for="first-name">First Name *</label>
|
|
<input type="text" id="first-name" name="first_name" required placeholder="John">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="last-name">Last Name *</label>
|
|
<input type="text" id="last-name" name="last_name" required placeholder="Doe">
|
|
</div>
|
|
</div>
|
|
<div class="form-row">
|
|
<div class="form-group">
|
|
<label for="email">Email *</label>
|
|
<input type="email" id="email" name="email" required placeholder="john@example.com">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="phone">Phone</label>
|
|
<input type="tel" id="phone" name="phone" placeholder="(555) 123-4567">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="subject">Subject</label>
|
|
<input type="text" id="subject" name="subject" placeholder="How can we help?">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="message">Message *</label>
|
|
<textarea id="message" name="message" required placeholder="Tell us about your project..."></textarea>
|
|
</div>
|
|
<div class="form-submit">
|
|
<button type="submit" class="btn btn-primary">Send Message</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- ── Footer ── -->
|
|
<footer class="site-footer">
|
|
<div class="container">
|
|
<div class="footer-grid">
|
|
<div class="footer-brand">
|
|
<img src="/assets/images/seahaven-logo-footer-new.png" alt="Sea Haven Industries">
|
|
<p>Sea Haven Industries provides quality construction services tailored to your needs, ensuring excellence and reliability in every project. Our services can also be expanded to include other fields as needed.</p>
|
|
<div class="footer-social">
|
|
<a href="#" aria-label="LinkedIn">in</a>
|
|
<a href="#" aria-label="Facebook">f</a>
|
|
<a href="#" aria-label="Instagram">ig</a>
|
|
</div>
|
|
</div>
|
|
<div class="footer-col">
|
|
<h4>Services</h4>
|
|
<ul>
|
|
<li><a href="/services/">Electrical Work</a></li>
|
|
<li><a href="/services/">Plumbing</a></li>
|
|
<li><a href="/services/">HVACR Services</a></li>
|
|
<li><a href="/services/">Handyman Services</a></li>
|
|
<li><a href="/services/">Garage Door Repair</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="footer-col">
|
|
<h4>Company</h4>
|
|
<ul>
|
|
<li><a href="/about/">About Us</a></li>
|
|
<li><a href="/career/">Careers</a></li>
|
|
<li><a href="/social-accountability/">Social Accountability</a></li>
|
|
<li><a href="/contact/">Contact</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="footer-col">
|
|
<h4>Contact</h4>
|
|
<div class="footer-contact-item"><strong>710 Koehler Ave</strong></div>
|
|
<div class="footer-contact-item">Ronkonkoma, NY 11779</div>
|
|
<div class="footer-contact-item"><a href="mailto:work-orders@seahaven.com" style="color: var(--rose);">work-orders@seahaven.com</a></div>
|
|
<div class="footer-contact-item"><strong>(631) 776-5102</strong></div>
|
|
</div>
|
|
</div>
|
|
<div class="footer-bottom">
|
|
<p>© 2026 Sea Haven Industries. All rights reserved.</p>
|
|
<ul class="footer-bottom-links">
|
|
<li><a href="/privacy-policy/">Privacy Policy</a></li>
|
|
<li><a href="/terms-of-service/">Terms of Service</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
<script>
|
|
const header = document.getElementById('site-header');
|
|
const onScroll = () => header.classList.toggle('scrolled', window.scrollY > 40);
|
|
window.addEventListener('scroll', onScroll, { passive: true });
|
|
onScroll();
|
|
const hamburger = document.getElementById('hamburger');
|
|
const mobileMenu = document.getElementById('mobile-menu');
|
|
const menuClose = document.getElementById('menu-close');
|
|
hamburger.addEventListener('click', () => mobileMenu.classList.add('open'));
|
|
menuClose.addEventListener('click', () => mobileMenu.classList.remove('open'));
|
|
mobileMenu.querySelectorAll('a').forEach(a => {
|
|
a.addEventListener('click', () => mobileMenu.classList.remove('open'));
|
|
});
|
|
|
|
// AJAX form submission
|
|
const contactForm = document.querySelector('.contact-form form');
|
|
const successMsg = document.getElementById('form-success');
|
|
contactForm.addEventListener('submit', async (e) => {
|
|
e.preventDefault();
|
|
const btn = contactForm.querySelector('button[type="submit"]');
|
|
btn.textContent = 'Sending...';
|
|
btn.disabled = true;
|
|
try {
|
|
const token = await grecaptcha.execute('6Les66kUAAAAANyLrgkl7iuN4JUpNlB5upaMovI4', { action: 'submit' });
|
|
document.getElementById('g-recaptcha-response').value = token;
|
|
const data = new FormData(contactForm);
|
|
const res = await fetch(contactForm.action, { method: 'POST', body: data, headers: { 'Accept': 'application/json' } });
|
|
if (res.ok) {
|
|
contactForm.reset();
|
|
contactForm.style.display = 'none';
|
|
successMsg.style.display = 'block';
|
|
successMsg.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
|
} else {
|
|
throw new Error('Submission failed');
|
|
}
|
|
} catch (err) {
|
|
btn.textContent = 'Send Message';
|
|
btn.disabled = false;
|
|
alert('Something went wrong. Please try again or email us directly at work-orders@seahaven.com');
|
|
}
|
|
});
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|