Files
SkyArtShop/website/public/contact.html
Local Server e4b3de4a46 Updatweb
2025-12-19 20:44:46 -06:00

798 lines
27 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Contact Us - Sky Art Shop</title>
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css"
/>
<link rel="stylesheet" href="/assets/css/main.css" />
<link rel="stylesheet" href="/assets/css/navbar.css" />
<link rel="stylesheet" href="/assets/css/shopping.css" />
<style>
@media (max-width: 768px) {
#contactForm > div[style*="grid-template-columns"] {
grid-template-columns: 1fr !important;
}
}
</style>
</head>
<body>
<!-- Modern Navigation -->
<nav class="modern-navbar">
<div class="navbar-wrapper">
<div class="navbar-brand">
<a href="/home.html" class="brand-link">
<img
src="/uploads/images/8ba675b9-c4e6-41e6-8f14-382b9ee1d019.jpg"
alt="Sky Art Shop Logo"
class="brand-logo"
/>
<span class="brand-name">Sky Art Shop</span>
</a>
</div>
<div class="navbar-menu">
<ul class="nav-menu-list">
<li class="nav-item">
<a href="/home.html" class="nav-link">Home</a>
</li>
<li class="nav-item">
<a href="/shop.html" class="nav-link">Shop</a>
</li>
<li class="nav-item">
<a href="/portfolio.html" class="nav-link">Portfolio</a>
</li>
<li class="nav-item">
<a href="/about.html" class="nav-link">About</a>
</li>
<li class="nav-item">
<a href="/blog.html" class="nav-link">Blog</a>
</li>
<li class="nav-item">
<a href="/contact.html" class="nav-link active">Contact</a>
</li>
</ul>
</div>
<div class="navbar-actions">
<div class="action-item wishlist-dropdown-wrapper">
<button
class="action-btn"
id="wishlistToggle"
aria-label="Wishlist"
>
<i class="bi bi-heart"></i>
<span class="action-badge" id="wishlistCount">0</span>
</button>
<div class="action-dropdown wishlist-dropdown" id="wishlistPanel">
<div class="dropdown-head">
<h3>My Wishlist</h3>
<button class="dropdown-close" id="wishlistClose">
<i class="bi bi-x-lg"></i>
</button>
</div>
<div class="dropdown-body" id="wishlistContent">
<p class="empty-state">Your wishlist is empty</p>
</div>
<div class="dropdown-foot">
<a href="/shop.html" class="btn-outline">Continue Shopping</a>
</div>
</div>
</div>
<div class="action-item cart-dropdown-wrapper">
<button
class="action-btn"
id="cartToggle"
aria-label="Shopping Cart"
>
<i class="bi bi-cart3"></i>
<span class="action-badge" id="cartCount">0</span>
</button>
<div class="action-dropdown cart-dropdown" id="cartPanel">
<div class="dropdown-head">
<h3>Shopping Cart</h3>
<button class="dropdown-close" id="cartClose">
<i class="bi bi-x-lg"></i>
</button>
</div>
<div class="dropdown-body" id="cartContent">
<p class="empty-state">Your cart is empty</p>
</div>
<div class="dropdown-foot">
<div class="cart-summary">
<span class="summary-label">Subtotal:</span>
<span class="summary-value" id="cartSubtotal">$0.00</span>
</div>
<a href="/checkout.html" class="btn-primary-full"
>Proceed to Checkout</a
>
<a href="/shop.html" class="btn-text">Continue Shopping</a>
</div>
</div>
</div>
<button class="mobile-toggle" id="mobileMenuToggle" aria-label="Menu">
<span class="toggle-line"></span>
<span class="toggle-line"></span>
<span class="toggle-line"></span>
</button>
</div>
</div>
<div class="mobile-menu" id="mobileMenu">
<div class="mobile-menu-header">
<span class="mobile-brand">Sky Art Shop</span>
<button class="mobile-close" id="mobileMenuClose">
<i class="bi bi-x-lg"></i>
</button>
</div>
<ul class="mobile-menu-list">
<li><a href="/home.html" class="mobile-link">Home</a></li>
<li><a href="/shop.html" class="mobile-link">Shop</a></li>
<li><a href="/portfolio.html" class="mobile-link">Portfolio</a></li>
<li><a href="/about.html" class="mobile-link">About</a></li>
<li><a href="/blog.html" class="mobile-link">Blog</a></li>
<li><a href="/contact.html" class="mobile-link">Contact</a></li>
</ul>
</div>
</nav>
<!-- Contact Hero -->
<section
class="contact-hero"
style="
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 80px 0 60px;
color: white;
text-align: center;
"
>
<div class="container">
<h1 style="font-size: 2.5rem; margin-bottom: 16px; font-weight: 700">
Get In Touch
</h1>
<p
style="
font-size: 1.1rem;
color: rgba(255, 255, 255, 0.9);
max-width: 600px;
margin: 0 auto;
"
>
Have questions or feedback? We'd love to hear from you. Send us a
message and we'll respond as soon as possible.
</p>
</div>
</section>
<!-- Business Contact Information -->
<section style="padding: 60px 0 40px; background: white">
<div class="container" style="max-width: 1000px">
<div style="text-align: center; margin-bottom: 48px">
<h2
style="
font-size: 2rem;
font-weight: 700;
color: #2d3436;
margin-bottom: 12px;
"
>
Our Contact Information
</h2>
<p style="font-size: 1rem; color: #636e72">
Reach out to us through any of these channels
</p>
</div>
<div
style="
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 32px;
"
>
<!-- Phone -->
<div
style="
background: #f8f9fa;
padding: 32px 24px;
border-radius: 12px;
text-align: center;
border: 2px solid #e1e8ed;
transition: all 0.3s;
"
onmouseover="this.style.borderColor='#667eea'; this.style.transform='translateY(-4px)';"
onmouseout="this.style.borderColor='#e1e8ed'; this.style.transform='translateY(0)';"
>
<div
style="
width: 64px;
height: 64px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
"
>
<i
class="bi bi-telephone"
style="font-size: 28px; color: white"
></i>
</div>
<h3
style="
font-size: 18px;
font-weight: 600;
margin-bottom: 12px;
color: #2d3436;
"
>
Phone
</h3>
<p style="color: #636e72; margin: 0 0 8px 0; font-size: 15px">
Give us a call
</p>
<a
href="tel:+1234567890"
style="
color: #667eea;
font-weight: 600;
text-decoration: none;
font-size: 16px;
"
>+1 (234) 567-8900</a
>
</div>
<!-- Email -->
<div
style="
background: #f8f9fa;
padding: 32px 24px;
border-radius: 12px;
text-align: center;
border: 2px solid #e1e8ed;
transition: all 0.3s;
"
onmouseover="this.style.borderColor='#667eea'; this.style.transform='translateY(-4px)';"
onmouseout="this.style.borderColor='#e1e8ed'; this.style.transform='translateY(0)';"
>
<div
style="
width: 64px;
height: 64px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
"
>
<i
class="bi bi-envelope"
style="font-size: 28px; color: white"
></i>
</div>
<h3
style="
font-size: 18px;
font-weight: 600;
margin-bottom: 12px;
color: #2d3436;
"
>
Email
</h3>
<p style="color: #636e72; margin: 0 0 8px 0; font-size: 15px">
Send us an email
</p>
<a
href="mailto:support@skyartshop.com"
style="
color: #667eea;
font-weight: 600;
text-decoration: none;
font-size: 16px;
"
>support@skyartshop.com</a
>
</div>
<!-- Location -->
<div
style="
background: #f8f9fa;
padding: 32px 24px;
border-radius: 12px;
text-align: center;
border: 2px solid #e1e8ed;
transition: all 0.3s;
"
onmouseover="this.style.borderColor='#667eea'; this.style.transform='translateY(-4px)';"
onmouseout="this.style.borderColor='#e1e8ed'; this.style.transform='translateY(0)';"
>
<div
style="
width: 64px;
height: 64px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 20px;
"
>
<i
class="bi bi-geo-alt"
style="font-size: 28px; color: white"
></i>
</div>
<h3
style="
font-size: 18px;
font-weight: 600;
margin-bottom: 12px;
color: #2d3436;
"
>
Location
</h3>
<p style="color: #636e72; margin: 0 0 8px 0; font-size: 15px">
Visit our shop
</p>
<p
style="
color: #667eea;
font-weight: 600;
margin: 0;
font-size: 16px;
line-height: 1.6;
"
>
123 Creative Street<br />Art District, CA 90210
</p>
</div>
</div>
<!-- Business Hours -->
<div
style="
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 12px;
padding: 32px;
margin-top: 40px;
text-align: center;
color: white;
"
>
<h3 style="font-size: 20px; font-weight: 600; margin-bottom: 16px">
Business Hours
</h3>
<div
style="
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 16px;
max-width: 600px;
margin: 0 auto;
"
>
<div>
<p style="margin: 0; font-weight: 500; opacity: 0.9">
Monday - Friday
</p>
<p style="margin: 4px 0 0 0; font-size: 18px; font-weight: 600">
9:00 AM - 6:00 PM
</p>
</div>
<div>
<p style="margin: 0; font-weight: 500; opacity: 0.9">Saturday</p>
<p style="margin: 4px 0 0 0; font-size: 18px; font-weight: 600">
10:00 AM - 4:00 PM
</p>
</div>
<div>
<p style="margin: 0; font-weight: 500; opacity: 0.9">Sunday</p>
<p style="margin: 4px 0 0 0; font-size: 18px; font-weight: 600">
Closed
</p>
</div>
</div>
</div>
</div>
</section>
<!-- Contact Form Section -->
<section
class="contact-section"
style="padding: 80px 0; background: #f8f9fa"
>
<div class="container" style="max-width: 800px">
<div style="text-align: center; margin-bottom: 40px">
<h2
style="
font-size: 2rem;
font-weight: 700;
color: #2d3436;
margin-bottom: 12px;
"
>
Send Us a Message
</h2>
<p style="font-size: 1rem; color: #636e72">
Fill out the form below and we'll get back to you within 24 hours
</p>
</div>
<div
class="contact-form-wrapper"
style="
background: white;
border-radius: 16px;
padding: 48px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
"
>
<form
id="contactForm"
style="display: flex; flex-direction: column; gap: 16px"
>
<!-- Name and Email Row -->
<div
style="display: grid; grid-template-columns: 1fr 1fr; gap: 16px"
>
<!-- Name Field -->
<div class="form-group">
<label
for="name"
style="
display: block;
font-weight: 600;
margin-bottom: 8px;
color: #2d3436;
font-size: 15px;
"
>
Full Name <span style="color: #ff6b6b">*</span>
</label>
<input
type="text"
id="name"
name="name"
required
placeholder="John Doe"
style="
width: 100%;
padding: 14px 16px;
border: 2px solid #e1e8ed;
border-radius: 8px;
font-size: 15px;
transition: all 0.3s;
font-family: 'Roboto', sans-serif;
"
onfocus="this.style.borderColor='#667eea'; this.style.outline='none';"
onblur="this.style.borderColor='#e1e8ed';"
/>
</div>
<!-- Email Field -->
<div class="form-group">
<label
for="email"
style="
display: block;
font-weight: 600;
margin-bottom: 8px;
color: #2d3436;
font-size: 15px;
"
>
Email Address <span style="color: #ff6b6b">*</span>
</label>
<input
type="email"
id="email"
name="email"
required
placeholder="john@example.com"
style="
width: 100%;
padding: 14px 16px;
border: 2px solid #e1e8ed;
border-radius: 8px;
font-size: 15px;
transition: all 0.3s;
font-family: 'Roboto', sans-serif;
"
onfocus="this.style.borderColor='#667eea'; this.style.outline='none';"
onblur="this.style.borderColor='#e1e8ed';"
/>
</div>
</div>
<!-- Phone and Subject Row -->
<div
style="display: grid; grid-template-columns: 1fr 1fr; gap: 16px"
>
<!-- Phone Field -->
<div class="form-group">
<label
for="phone"
style="
display: block;
font-weight: 600;
margin-bottom: 8px;
color: #2d3436;
font-size: 15px;
"
>
Phone Number
<span style="color: #999; font-weight: 400">(Optional)</span>
</label>
<input
type="tel"
id="phone"
name="phone"
placeholder="(123) 456-7890"
style="
width: 100%;
padding: 14px 16px;
border: 2px solid #e1e8ed;
border-radius: 8px;
font-size: 15px;
transition: all 0.3s;
font-family: 'Roboto', sans-serif;
"
onfocus="this.style.borderColor='#667eea'; this.style.outline='none';"
onblur="this.style.borderColor='#e1e8ed';"
/>
</div>
<!-- Subject Field -->
<div class="form-group">
<label
for="subject"
style="
display: block;
font-weight: 600;
margin-bottom: 8px;
color: #2d3436;
font-size: 15px;
"
>
Subject <span style="color: #ff6b6b">*</span>
</label>
<input
type="text"
id="subject"
name="subject"
required
placeholder="How can we help you?"
style="
width: 100%;
padding: 14px 16px;
border: 2px solid #e1e8ed;
border-radius: 8px;
font-size: 15px;
transition: all 0.3s;
font-family: 'Roboto', sans-serif;
"
onfocus="this.style.borderColor='#667eea'; this.style.outline='none';"
onblur="this.style.borderColor='#e1e8ed';"
/>
</div>
</div>
<!-- Message Field -->
<div class="form-group">
<label
for="message"
style="
display: block;
font-weight: 600;
margin-bottom: 8px;
color: #2d3436;
font-size: 15px;
"
>
Message <span style="color: #ff6b6b">*</span>
</label>
<textarea
id="message"
name="message"
required
rows="6"
placeholder="Tell us more about your inquiry..."
style="
width: 100%;
padding: 14px 16px;
border: 2px solid #e1e8ed;
border-radius: 8px;
font-size: 15px;
transition: all 0.3s;
resize: vertical;
font-family: 'Roboto', sans-serif;
line-height: 1.6;
"
onfocus="this.style.borderColor='#667eea'; this.style.outline='none';"
onblur="this.style.borderColor='#e1e8ed';"
></textarea>
</div>
<!-- Submit Button -->
<div style="margin-top: 8px">
<button
type="submit"
style="
width: 100%;
padding: 16px 32px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
font-family: 'Roboto', sans-serif;
"
onmouseover="this.style.transform='translateY(-2px)'; this.style.boxShadow='0 8px 20px rgba(102,126,234,0.4)';"
onmouseout="this.style.transform='translateY(0)'; this.style.boxShadow='none';"
>
<i class="bi bi-send" style="margin-right: 8px"></i>
Send Message
</button>
</div>
<!-- Success/Error Message -->
<div
id="formMessage"
style="
display: none;
padding: 16px;
border-radius: 8px;
text-align: center;
font-weight: 500;
"
></div>
</form>
</div>
</div>
</section>
<footer class="footer">
<div class="container">
<div class="footer-grid">
<div class="footer-col">
<h3 class="footer-title">Sky Art Shop</h3>
<p class="footer-text">
Your destination for unique art pieces and creative supplies.
</p>
<div class="social-links">
<a href="#" class="social-link"><i class="bi bi-facebook"></i></a>
<a href="#" class="social-link"
><i class="bi bi-instagram"></i
></a>
<a href="#" class="social-link"><i class="bi bi-twitter"></i></a>
<a href="#" class="social-link"
><i class="bi bi-pinterest"></i
></a>
</div>
</div>
<div class="footer-col">
<h4 class="footer-heading">Shop</h4>
<ul class="footer-links">
<li><a href="/shop.html">All Products</a></li>
<li><a href="/shop.html?category=paintings">Paintings</a></li>
<li><a href="/shop.html?category=prints">Prints</a></li>
<li><a href="/shop.html?category=supplies">Art Supplies</a></li>
</ul>
</div>
<div class="footer-col">
<h4 class="footer-heading">About</h4>
<ul class="footer-links">
<li><a href="/about.html">Our Story</a></li>
<li><a href="/portfolio.html">Portfolio</a></li>
<li><a href="/blog.html">Blog</a></li>
<li><a href="/contact.html">Contact</a></li>
</ul>
</div>
<div class="footer-col">
<h4 class="footer-heading">Customer Service</h4>
<ul class="footer-links">
<li><a href="#">Shipping Info</a></li>
<li><a href="#">Returns</a></li>
<li><a href="#">FAQ</a></li>
<li><a href="#">Privacy Policy</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<p>&copy; 2025 Sky Art Shop. All rights reserved.</p>
</div>
</div>
</footer>
<script src="/assets/js/main.js"></script>
<script src="/assets/js/cart.js"></script>
<script src="/assets/js/shopping.js"></script>
<script>
// Handle contact form submission
document
.getElementById("contactForm")
.addEventListener("submit", async function (e) {
e.preventDefault();
const formMessage = document.getElementById("formMessage");
const submitButton = e.target.querySelector('button[type="submit"]');
const originalButtonText = submitButton.innerHTML;
// Disable button and show loading state
submitButton.disabled = true;
submitButton.innerHTML =
'<i class="bi bi-hourglass-split" style="margin-right: 8px;"></i>Sending...';
// Get form data
const formData = {
name: document.getElementById("name").value,
email: document.getElementById("email").value,
phone: document.getElementById("phone").value,
subject: document.getElementById("subject").value,
message: document.getElementById("message").value,
timestamp: new Date().toISOString(),
};
try {
// Simulate API call (replace with actual endpoint when ready)
await new Promise((resolve) => setTimeout(resolve, 1500));
// Show success message
formMessage.style.display = "block";
formMessage.style.background = "#d4edda";
formMessage.style.color = "#155724";
formMessage.style.border = "1px solid #c3e6cb";
formMessage.innerHTML =
'<i class="bi bi-check-circle" style="margin-right: 8px;"></i>Thank you! Your message has been sent successfully. We\'ll get back to you soon.';
// Reset form
e.target.reset();
// Log to console (for now)
console.log("Contact form submitted:", formData);
} catch (error) {
// Show error message
formMessage.style.display = "block";
formMessage.style.background = "#f8d7da";
formMessage.style.color = "#721c24";
formMessage.style.border = "1px solid #f5c6cb";
formMessage.innerHTML =
'<i class="bi bi-exclamation-circle" style="margin-right: 8px;"></i>Oops! Something went wrong. Please try again or email us directly.';
console.error("Contact form error:", error);
} finally {
// Re-enable button
submitButton.disabled = false;
submitButton.innerHTML = originalButtonText;
// Hide message after 5 seconds
setTimeout(() => {
formMessage.style.display = "none";
}, 5000);
}
});
</script>
</body>
</html>