-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.php
More file actions
308 lines (276 loc) · 13.2 KB
/
Copy pathcontact.php
File metadata and controls
308 lines (276 loc) · 13.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
<?php
session_start(); // Initializes the session to check if user is logged in
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Get In Touch | KasiSize®</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
<style>
:root {
--primary-blue: #0678eb;
--dark-bg: #111111;
--light-grey: #f8f9fa;
}
body { font-family: 'Inter', sans-serif; color: #333; }
/* --- NAVIGATION --- */
.navbar { background: #fff; border-bottom: 1px solid #eee; padding: 15px 0; }
.navbar-brand { font-weight: 800; font-size: 24px; color: #000 !important; letter-spacing: 1px; }
.nav-link { color: #111 !important; font-weight: 600; font-size: 14px; margin: 0 12px; text-transform: uppercase; }
.nav-link.active { color: var(--primary-blue) !important; }
.btn-signup {
background: #0678eb;
color: #fff !important;
padding: 8px 22px;
border-radius: 0px;
font-weight: 600;
text-transform: uppercase;
font-size: 12px;
border: 1px solid #0678eb;
transition: all 0.3s ease;
}
.btn-signup:hover {
background: #000 !important;
color: #fff !important;
border-color: #000;
}
/* Logout Link Style */
.logout-link {
font-size: 11px;
text-transform: uppercase;
font-weight: 700;
color: #ff4d4d !important;
text-decoration: none;
}
/* --- CONTACT HERO --- */
.contact-hero {
background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1516738901171-8eb4fc13bd20?q=80&w=2070');
height: 400px;
background-size: cover;
background-position: center;
display: flex;
align-items: center; /* Vertical Center */
justify-content: center; /* Horizontal Center */
color: white;
text-align: center;
}
/* Ensures inner content respects flex centering */
.contact-hero .container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.contact-hero h1 {
font-size: 64px;
font-weight: 900;
margin-bottom: 15px;
text-transform: uppercase;
letter-spacing: 4px;
}
.contact-hero p {
font-size: 20px;
color: #eee;
max-width: 800px;
font-weight: 300;
line-height: 1.6;
}
/* --- CONTACT INFO & FORM --- */
.contact-section { padding: 80px 0; }
.info-box { margin-bottom: 30px; display: flex; align-items: flex-start; gap: 15px; }
.info-box i { color: var(--primary-blue); font-size: 22px; margin-top: 5px; }
.info-box h5 { font-weight: 700; margin-bottom: 5px; font-size: 18px; }
.info-box p { color: #666; font-size: 15px; line-height: 1.6; }
.contact-form { background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.form-control { border: 1px solid #ddd; padding: 12px; border-radius: 6px; margin-bottom: 15px; }
.btn-send { background: var(--primary-blue); color: white; border: none; padding: 14px; width: 100%; border-radius: 6px; font-weight: 700; font-size: 16px; }
/* --- MAP --- */
.map-container { height: 450px; width: 100%; background: #eee; justify-content: center; justify-items: center;}
/* --- FAQ SECTION --- */
.faq-section { background: var(--light-grey); padding: 80px 0; }
.faq-item { margin-bottom: 40px; }
.faq-item i { color: var(--primary-blue); font-size: 24px; margin-bottom: 15px; display: block; }
.faq-item h5 { font-weight: 700; margin-bottom: 10px; }
.faq-item p { color: #666; font-size: 14px; }
/* --- FOOTER --- */
footer {
background-color: #000000; /* True black background */
padding: 40px 0;
color: #ffffff; /* Sets base text color to white */
border-top: 1px solid #222;
}
footer h5,
footer p,
footer a,
footer .text-muted {
color: #ffffff !important; /* Forces all text and links to white */
}
.social-icons a {
font-size: 20px;
transition: opacity 0.3s ease;
}
.social-icons a:hover {
color: #0678eb !important; /* Keeps your signature orange on hover */
opacity: 0.8;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg sticky-top">
<div class="container">
<a class="navbar-brand" href="index.php">
Pastimes<i class="fa-solid fa-registered" style="font-size: 10px; vertical-align: top;"></i>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav mx-auto">
<li class="nav-item"><a class="nav-link" href="index.php">Home</a></li>
<li class="nav-item"><a class="nav-link active" href="listings.php">Shop</a></li>
<li class="nav-item"><a class="nav-link" href="about.php">About</a></li>
<li class="nav-item"><a class="nav-link" href="catalogue.php">Gallery</a></li>
<li class="nav-item"><a class="nav-link" href="contact.php">Contact</a></li>
</ul>
<div class="d-flex align-items-center gap-3">
<a href="cart.php" class="text-dark position-relative">
<i class="fa-solid fa-bag-shopping fs-5"></i>
<?php if(isset($_SESSION['cart']) && count($_SESSION['cart']) > 0): ?>
<span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-danger" style="font-size: 10px;">
<?php echo count($_SESSION['cart']); ?>
</span>
<?php endif; ?>
</a>
<!-- DYNAMIC LOGIN/LOGOUT SECTION -->
<?php if(isset($_SESSION['user_id'])): ?>
<span class="small fw-bold text-uppercase" style="font-size: 11px;">
Hi, <?php echo explode(' ', $_SESSION['full_name'])[0]; ?>
</span>
<a href="logout.php" class="logout-link">Logout</a>
<?php else: ?>
<a href="authenticate.php" class="text-dark text-decoration-none small fw-bold text-uppercase">Sign In</a>
<a href="sign-up.php" class="btn btn-signup">Sign Up</a>
<?php endif; ?>
</div>
</div>
</div>
</nav>
<section class="contact-hero">
<div class="container">
<h1>Get in Touch</h1>
<p>We'd love to hear from you. Whether you have a question, collaboration idea, or just want to say hi.</p>
</div>
</section>
<section class="contact-section container">
<div class="row g-5">
<div class="col-md-5">
<h2 class="fw-bold mb-4">Contact Us</h2>
<p class="text-muted mb-5">Got questions? We're here to help. Reach out to us through any of these channels and we'll get back to you within 24 hours.</p>
<div class="info-box">
<i class="fa-solid fa-location-dot"></i>
<div>
<h5>Visit Us</h5>
<p>Sandridge Square, Carlswald<br>Midrand, 1864<br>South Africa</p>
</div>
</div>
<div class="info-box">
<i class="fa-solid fa-phone"></i>
<div>
<h5>Call Us</h5>
<p>+27 11 123 4567<br>Mon-Fri: 9am - 5pm</p>
</div>
</div>
<div class="info-box">
<i class="fa-solid fa-envelope"></i>
<div>
<h5>Email Us</h5>
<p>hello@PASTIMES.co.za<br>support@PASTIMES.co.za</p>
</div>
</div>
</div>
<div class="col-md-7">
<div class="contact-form">
<h3 class="fw-bold mb-4">Send a Message</h3>
<form>
<div class="row">
<div class="col-md-6"><input type="text" class="form-control" placeholder="Your Name"></div>
<div class="col-md-6"><input type="email" class="form-control" placeholder="Your Email"></div>
</div>
<input type="text" class="form-control" placeholder="Subject">
<textarea class="form-control" rows="5" placeholder="Your Message"></textarea>
<button type="submit" class="btn btn-send">Send Message <i class="fa-solid fa-paper-plane ms-2"></i></button>
</form>
</div>
</div>
</div>
</section>
<section class="map-container">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3586.733134602492!2d28.115933574852008!3d-25.976791177217308!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x1e956e2f569d077f%3A0xf77bf35f16287750!2sSandridge%20Square%20Shopping%20Centre%2C%20Lever%20Rd%2C%20MIDRAND%2C%20Midrand%2C%201685!5e0!3m2!1sen!2sza!4v1775595296030!5m2!1sen!2sza" width="100%" height="100%" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
</section>
<section class="faq-section">
<div class="container">
<h2 class="text-center fw-bold mb-5">Frequently Asked Questions</h2>
<div class="row g-5">
<div class="col-md-4 faq-item">
<i class="fa-solid fa-truck-fast"></i>
<h5>Shipping & Delivery</h5>
<p>We offer nationwide delivery across South Africa. Orders are processed within 1-2 business days.</p>
</div>
<div class="col-md-4 faq-item">
<i class="fa-solid fa-rotate-left"></i>
<h5>Returns Policy</h5>
<p>We accept returns within 14 days of purchase. Items must be unworn and in original packaging.</p>
</div>
<div class="col-md-4 faq-item">
<i class="fa-solid fa-ruler-combined"></i>
<h5>Size Guide</h5>
<p>Our clothing is oversized fit. Check our size chart on the product pages for detailed measurements.</p>
</div>
<div class="col-md-4 faq-item">
<i class="fa-solid fa-credit-card"></i>
<h5>Payment Methods</h5>
<p>We accept all major credit cards, EFT, and instant EFT through our secure payment gateway.</p>
</div>
<div class="col-md-4 faq-item">
<i class="fa-solid fa-box"></i>
<h5>Order Tracking</h5>
<p>Once your order ships, you'll receive a tracking number via email to track your delivery status.</p>
</div>
<div class="col-md-4 faq-item">
<i class="fa-solid fa-briefcase"></i>
<h5>Wholesale Inquiries</h5>
<p>Interested in stocking PASTIMES? Contact our wholesale team at wholesale@PASTIMES.co.za.</p>
</div>
</div>
</div>
</section>
<footer>
<div class="container text-center">
<h5 class="mt-3 mb-1" style="letter-spacing: 2px;">PASTIMES</h5>
<p class="small mb-2" style="color: #bbb; font-size: 11px;">
© 2026 Pastimes® Collective. <br>
Headquartered in Midrand, South Africa.
</p>
<div class="social-icons mb-3">
<a href="#" style="margin: 0 10px;"><i class="fab fa-instagram"></i></a>
<a href="#" style="margin: 0 10px;"><i class="fab fa-tiktok"></i></a>
<a href="#" style="margin: 0 10px;"><i class="fab fa-facebook-f"></i></a>
</div>
<div class="pt-3" style="border-top: 1px solid #333; max-width: 340px; margin: 0 auto;">
<p class="mb-1" style="font-size: 9px; text-transform: uppercase; letter-spacing: 2px; color: #aaa;">
Digital Architecture & Direction
</p>
<p class="mb-0">
<a href="#" class="text-white text-decoration-none fw-bold" style="letter-spacing: 4px; font-size: 12px;">
Amo Matlhaga & Kea Masole
</a>
</p>
</div>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>