-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlanding.php
More file actions
691 lines (622 loc) · 34.2 KB
/
landing.php
File metadata and controls
691 lines (622 loc) · 34.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
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
<?php
// landing.php - Public Landing Page for DS Diamonds
// No authentication required - this is the public-facing homepage
require_once 'config.php';
// Fetch available diamonds for slideshow (limit to 20 for performance)
$diamonds_query = "SELECT id, stock_no, shape, size, color, clarity, cut, polish, symmetry, status, image_url
FROM diamonds
WHERE status = 'Available'
ORDER BY id DESC
LIMIT 20";
$diamonds_result = $conn->query($diamonds_query);
$slideshow_diamonds = [];
if ($diamonds_result && $diamonds_result->num_rows > 0) {
while ($row = $diamonds_result->fetch_assoc()) {
$slideshow_diamonds[] = $row;
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DS Diamonds - Exquisite Diamonds, Verified Authenticity</title>
<script src="https://cdn.tailwindcss.com"></script>
<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=Sora:wght@300;400;500;600;700;800&family=Cormorant+Garamond:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
<script src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js" defer></script>
<style>
:root {
--primary: #7b2ff7;
--secondary: #f83077;
--dark: #0f172a;
}
body {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
letter-spacing: -0.01em;
}
.heading-font {
font-family: 'Cormorant Garamond', Georgia, serif;
letter-spacing: -0.02em;
font-weight: 600;
}
.brand-font {
font-family: 'Sora', sans-serif;
letter-spacing: -0.02em;
}
.hero-gradient {
background:
radial-gradient(circle at 20% 20%, rgba(123, 47, 247, 0.15) 0%, transparent 50%),
radial-gradient(circle at 80% 80%, rgba(248, 48, 119, 0.15) 0%, transparent 50%),
linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.glass-card {
background: rgba(255, 255, 255, 0.05);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.diamond-shine {
animation: shine 3s ease-in-out infinite;
}
@keyframes shine {
0%,
100% {
opacity: 0.4;
transform: scale(1);
}
50% {
opacity: 1;
transform: scale(1.05);
}
}
.gradient-text {
background: linear-gradient(135deg, #b185ff 0%, #7b2ff7 50%, #f83077 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-weight: 700;
}
.btn-gradient {
background: linear-gradient(135deg, #7b2ff7 0%, #b643f5 50%, #f83077 100%);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 4px 15px rgba(123, 47, 247, 0.2);
font-family: 'Sora', sans-serif;
font-weight: 600;
letter-spacing: -0.01em;
}
.btn-gradient:hover {
transform: translateY(-2px);
box-shadow: 0 12px 30px rgba(123, 47, 247, 0.4);
background: linear-gradient(135deg, #8844ff 0%, #c555ff 50%, #ff3d88 100%);
}
.text-display {
font-size: clamp(2.5rem, 8vw, 5rem);
line-height: 1.1;
font-weight: 700;
letter-spacing: -0.03em;
}
.text-lead {
font-size: clamp(1.125rem, 2vw, 1.5rem);
line-height: 1.6;
letter-spacing: -0.01em;
}
.stat-number {
font-family: 'Sora', sans-serif;
font-weight: 800;
}
h2 {
letter-spacing: -0.02em;
}
.section-title {
font-family: 'Cormorant Garamond', serif;
font-size: clamp(2rem, 5vw, 3.5rem);
font-weight: 700;
letter-spacing: -0.02em;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
</style>
</head>
<body class="bg-gray-50">
<!-- Header / Navigation -->
<nav class="fixed w-full top-0 z-50 bg-white/90 backdrop-blur-md border-b border-gray-200">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center h-16">
<!-- Logo -->
<div class="flex items-center">
<i class="far fa-gem text-3xl gradient-text mr-3"></i>
<span class="text-2xl font-bold brand-font tracking-tight">DS<span
class="gradient-text">Diamonds</span></span>
</div>
<!-- Desktop Navigation -->
<div class="hidden md:flex items-center space-x-8">
<a href="#home" class="text-gray-700 hover:text-purple-600 font-medium transition">Home</a>
<a href="#about" class="text-gray-700 hover:text-purple-600 font-medium transition">About</a>
<a href="#catalog" class="text-gray-700 hover:text-purple-600 font-medium transition">Catalog</a>
<a href="#contact" class="text-gray-700 hover:text-purple-600 font-medium transition">Contact</a>
<a href="index.php" class="btn-gradient text-white px-6 py-2 rounded-full font-semibold">
Client Sign In
</a>
</div>
<!-- Mobile Menu Button -->
<div class="md:hidden" x-data="{ open: false }">
<button @click="open = !open" class="text-gray-700 hover:text-purple-600">
<i class="fas fa-bars text-2xl"></i>
</button>
<!-- Mobile Menu Dropdown -->
<div x-show="open" @click.away="open = false"
class="absolute top-16 right-4 bg-white rounded-lg shadow-lg p-4 w-48">
<a href="#home" class="block py-2 text-gray-700 hover:text-purple-600">Home</a>
<a href="#about" class="block py-2 text-gray-700 hover:text-purple-600">About</a>
<a href="#catalog" class="block py-2 text-gray-700 hover:text-purple-600">Catalog</a>
<a href="#contact" class="block py-2 text-gray-700 hover:text-purple-600">Contact</a>
<a href="index.php" class="block py-2 mt-2 btn-gradient text-white text-center rounded-lg">Sign
In</a>
</div>
</div>
</div>
</div>
</nav>
<!-- Hero Section -->
<section id="home"
class="hero-gradient text-white pt-24 pb-20 min-h-screen flex items-center relative overflow-hidden">
<!-- Decorative Diamond Icons -->
<div class="absolute top-20 left-10 diamond-shine opacity-20">
<i class="far fa-gem text-6xl"></i>
</div>
<div class="absolute bottom-20 right-10 diamond-shine opacity-20" style="animation-delay: 1s;">
<i class="far fa-gem text-8xl"></i>
</div>
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
<div class="grid md:grid-cols-2 gap-12 items-center">
<!-- Left Content -->
<div>
<h1 class="heading-font mb-6 leading-tight"
style="font-size: clamp(2.5rem, 7vw, 5rem); letter-spacing: -0.03em;">
Exquisite Diamonds,<br>
<span class="gradient-text" style="font-size: clamp(2.5rem, 7vw, 5rem);">Verified
Authenticity</span>
</h1>
<p class="text-lead text-gray-200 mb-8 max-w-xl" style="font-weight: 400;">
Premium diamond collection for discerning resellers and their clientele.
Every stone certified, every detail transparent.
</p>
<div class="flex flex-wrap gap-4">
<a href="index.php"
class="btn-gradient text-white px-8 py-4 rounded-full inline-flex items-center text-base">
<i class="fas fa-sign-in-alt mr-2"></i>
Client Portal
</a>
<a href="catalog.php"
class="glass-card text-white px-8 py-4 rounded-full inline-flex items-center hover:bg-white/10 transition-all duration-300 text-base"
style="font-family: 'Sora', sans-serif; font-weight: 600;">
<i class="fas fa-gem mr-2"></i>
Browse Catalog
</a>
</div>
<!-- Stats -->
<div class="grid grid-cols-3 gap-6 mt-12">
<div class="glass-card p-5 rounded-xl text-center">
<div class="stat-number text-4xl gradient-text mb-1">500+</div>
<div class="text-xs text-gray-300 uppercase tracking-wider font-medium">Diamonds</div>
</div>
<div class="glass-card p-5 rounded-xl text-center">
<div class="stat-number text-4xl gradient-text mb-1">100%</div>
<div class="text-xs text-gray-300 uppercase tracking-wider font-medium">Certified</div>
</div>
<div class="glass-card p-5 rounded-xl text-center">
<div class="stat-number text-4xl gradient-text mb-1">24/7</div>
<div class="text-xs text-gray-300 uppercase tracking-wider font-medium">Support</div>
</div>
</div>
</div>
<!-- Right - Diamond Slideshow -->
<div class="relative hidden md:block" x-data="diamondSlideshow()">
<div class="glass-card rounded-3xl overflow-hidden relative" @mouseenter="stopAutoplay()"
@mouseleave="startAutoplay()">
<?php if (!empty($slideshow_diamonds)): ?>
<!-- Slideshow Images -->
<div class="relative h-[500px]">
<template x-for="(diamond, index) in diamonds" :key="diamond.id">
<div x-show="currentSlide === index"
x-transition:enter="transition ease-out duration-500"
x-transition:enter-start="opacity-0 transform scale-95"
x-transition:enter-end="opacity-100 transform scale-100"
x-transition:leave="transition ease-in duration-300"
x-transition:leave-start="opacity-100" x-transition:leave-end="opacity-0"
class="absolute inset-0">
<!-- Diamond Image -->
<img :src="getImage(index)" :alt="'Diamond ' + diamond.stock_no"
class="w-full h-full object-cover">
<!-- Gradient Overlay -->
<div
class="absolute inset-0 bg-gradient-to-t from-black/70 via-black/20 to-transparent">
</div>
<!-- Diamond Info Overlay -->
<div class="absolute bottom-0 left-0 right-0 p-8 text-white">
<div class="flex items-end justify-between">
<div>
<div class="text-xs opacity-90 mb-1 uppercase tracking-wider font-medium"
x-text="diamond.shape"></div>
<div class="text-5xl font-bold stat-number mb-2"
x-text="diamond.size + ' ct'"></div>
<div class="flex gap-3 text-sm font-medium">
<span class="bg-white/20 backdrop-blur-sm px-3 py-1.5 rounded-full">
<i class="fas fa-palette mr-1"></i>
<span x-text="diamond.color"></span>
</span>
<span class="bg-white/20 backdrop-blur-sm px-3 py-1.5 rounded-full">
<i class="fas fa-eye mr-1"></i>
<span x-text="diamond.clarity"></span>
</span>
<span class="bg-white/20 backdrop-blur-sm px-3 py-1.5 rounded-full">
<i class="fas fa-gem mr-1"></i>
<span x-text="diamond.cut"></span>
</span>
</div>
</div>
<div class="text-right">
<div class="text-xs opacity-90 mb-1 uppercase tracking-wider">Stock #
</div>
<div class="text-xl font-bold brand-font" x-text="diamond.stock_no">
</div>
</div>
</div>
</div>
<!-- Certified Badge -->
<div
class="absolute top-6 right-6 bg-white/90 backdrop-blur-sm px-4 py-2 rounded-full">
<i class="fas fa-certificate text-purple-600 mr-2"></i>
<span class="text-sm font-semibold text-gray-800">Certified</span>
</div>
</div>
</template>
</div>
<!-- Navigation Arrows -->
<button @click="prev(); stopAutoplay();"
class="absolute left-4 top-1/2 -translate-y-1/2 bg-white/80 hover:bg-white text-gray-800 w-12 h-12 rounded-full flex items-center justify-center transition shadow-lg z-10">
<i class="fas fa-chevron-left"></i>
</button>
<button @click="next(); stopAutoplay();"
class="absolute right-4 top-1/2 -translate-y-1/2 bg-white/80 hover:bg-white text-gray-800 w-12 h-12 rounded-full flex items-center justify-center transition shadow-lg z-10">
<i class="fas fa-chevron-right"></i>
</button>
<!-- Slide Indicators -->
<div class="absolute bottom-6 left-1/2 -translate-x-1/2 flex gap-2 z-10">
<template x-for="(diamond, index) in diamonds.slice(0, 10)" :key="index">
<button @click="currentSlide = index; stopAutoplay();"
:class="currentSlide === index ? 'bg-white w-8' : 'bg-white/50 w-2'"
class="h-2 rounded-full transition-all duration-300">
</button>
</template>
</div>
<!-- Diamond Count -->
<div
class="absolute top-6 left-6 bg-gradient-to-r from-purple-600 to-pink-600 px-4 py-2 rounded-full text-white font-semibold shadow-lg">
<i class="fas fa-gem mr-2"></i>
<span x-text="diamonds.length + ' Available'"></span>
</div>
<?php else: ?>
<!-- Fallback if no diamonds -->
<div class="h-[500px] flex items-center justify-center">
<i class="far fa-gem text-[200px] text-white/20"></i>
</div>
<?php endif; ?>
</div>
</div>
</div>
</div>
</section>
<!-- About Section -->
<section id="about" class="py-20 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="section-title mb-6">Why DS Diamonds?</h2>
<p class="text-lead text-gray-600 max-w-3xl mx-auto font-light">
We empower resellers with tools and transparency to serve their customers with confidence.
</p>
</div>
<div class="grid md:grid-cols-3 gap-8">
<!-- Feature 1 -->
<div
class="feature-card bg-gradient-to-br from-purple-50 to-pink-50 p-8 rounded-2xl transition-all duration-300 hover:shadow-xl">
<div class="w-16 h-16 btn-gradient rounded-full flex items-center justify-center mb-6">
<i class="fas fa-certificate text-2xl text-white"></i>
</div>
<h3 class="text-2xl font-bold mb-4 heading-font" style="letter-spacing: -0.01em;">100% Certified
</h3>
<p class="text-gray-600 leading-relaxed font-light" style="font-size: 1rem;">
Every diamond comes with complete certification, images, videos, and authenticity documentation.
</p>
</div>
<!-- Feature 2 -->
<div
class="feature-card bg-gradient-to-br from-purple-50 to-pink-50 p-8 rounded-2xl transition-all duration-300 hover:shadow-xl">
<div class="w-16 h-16 btn-gradient rounded-full flex items-center justify-center mb-6">
<i class="fas fa-link text-2xl text-white"></i>
</div>
<h3 class="text-2xl font-bold mb-4 heading-font" style="letter-spacing: -0.01em;">Secure Sharing
</h3>
<p class="text-gray-600 leading-relaxed font-light" style="font-size: 1rem;">
Generate private invite links for your customers with controlled access and expiration dates.
</p>
</div>
<!-- Feature 3 -->
<div
class="feature-card bg-gradient-to-br from-purple-50 to-pink-50 p-8 rounded-2xl transition-all duration-300 hover:shadow-xl">
<div class="w-16 h-16 btn-gradient rounded-full flex items-center justify-center mb-6">
<i class="fas fa-handshake text-2xl text-white"></i>
</div>
<h3 class="text-2xl font-bold mb-4 heading-font" style="letter-spacing: -0.01em;">In-Person Deals
</h3>
<p class="text-gray-600 leading-relaxed font-light" style="font-size: 1rem;">
All transactions conducted face-to-face. Our platform facilitates showcasing, not selling
online.
</p>
</div>
</div>
</div>
</section>
<!-- Catalog Preview Section -->
<section id="catalog" class="py-20 bg-gray-50">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="section-title mb-6">Our Collection</h2>
<p class="text-lead text-gray-600 max-w-3xl mx-auto font-light">
Browse a curated selection of premium diamonds. Full catalog available to registered clients.
</p>
</div>
<!-- Sample Diamond Cards -->
<div class="grid md:grid-cols-4 gap-6 mb-12">
<!-- Diamond Card 1 -->
<div
class="bg-white rounded-xl shadow-lg overflow-hidden hover:shadow-2xl transition-all duration-300 hover:-translate-y-1">
<div
class="bg-gradient-to-br from-purple-100 to-pink-100 h-48 flex items-center justify-center overflow-hidden">
<img src="assets/images/diamonds/diamond-1.jpg" alt="Round Brilliant Diamond"
class="w-full h-full object-cover">
</div>
<div class="p-6">
<div class="text-xs text-gray-500 mb-2 uppercase tracking-wider font-medium">Round Brilliant
</div>
<div class="text-3xl font-bold mb-3 stat-number">2.00 <span class="text-lg">ct</span></div>
<div class="flex justify-between text-xs text-gray-600 font-medium">
<span>Color: D</span>
<span>Clarity: VVS1</span>
</div>
</div>
</div>
<!-- Diamond Card 2 -->
<div
class="bg-white rounded-xl shadow-lg overflow-hidden hover:shadow-2xl transition-all duration-300 hover:-translate-y-1">
<div
class="bg-gradient-to-br from-blue-100 to-purple-100 h-48 flex items-center justify-center overflow-hidden">
<img src="assets/images/diamonds/diamond-2.jpg" alt="Emerald Cut Diamond"
class="w-full h-full object-cover">
</div>
<div class="p-6">
<div class="text-xs text-gray-500 mb-2 uppercase tracking-wider font-medium">Emerald Cut</div>
<div class="text-3xl font-bold mb-3 stat-number">3.50 <span class="text-lg">ct</span></div>
<div class="flex justify-between text-xs text-gray-600 font-medium">
<span>Color: E</span>
<span>Clarity: VS1</span>
</div>
</div>
</div>
<!-- Diamond Card 3 -->
<div
class="bg-white rounded-xl shadow-lg overflow-hidden hover:shadow-2xl transition-all duration-300 hover:-translate-y-1">
<div
class="bg-gradient-to-br from-pink-100 to-red-100 h-48 flex items-center justify-center overflow-hidden">
<img src="assets/images/diamonds/diamond-3.jpg" alt="Princess Cut Diamond"
class="w-full h-full object-cover">
</div>
<div class="p-6">
<div class="text-xs text-gray-500 mb-2 uppercase tracking-wider font-medium">Princess Cut</div>
<div class="text-3xl font-bold mb-3 stat-number">1.75 <span class="text-lg">ct</span></div>
<div class="flex justify-between text-xs text-gray-600 font-medium">
<span>Color: F</span>
<span>Clarity: VVS2</span>
</div>
</div>
</div>
<!-- Diamond Card 4 -->
<div
class="bg-white rounded-xl shadow-lg overflow-hidden hover:shadow-2xl transition-all duration-300 hover:-translate-y-1">
<div
class="bg-gradient-to-br from-purple-100 to-indigo-100 h-48 flex items-center justify-center overflow-hidden">
<img src="assets/images/diamonds/diamond-4.jpg" alt="Cushion Cut Diamond"
class="w-full h-full object-cover">
</div>
<div class="p-6">
<div class="text-xs text-gray-500 mb-2 uppercase tracking-wider font-medium">Cushion Cut</div>
<div class="text-3xl font-bold mb-3 stat-number">2.80 <span class="text-lg">ct</span></div>
<div class="flex justify-between text-xs text-gray-600 font-medium">
<span>Color: G</span>
<span>Clarity: VS2</span>
</div>
</div>
</div>
</div>
<div class="text-center">
<a href="catalog.php"
class="btn-gradient text-white px-8 py-4 rounded-full inline-flex items-center text-base">
View Full Catalog
<i class="fas fa-arrow-right ml-2"></i>
</a>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" class="py-20 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid md:grid-cols-2 gap-12 items-center">
<!-- Left: Contact Info -->
<div>
<h2 class="section-title mb-6">Get in Touch</h2>
<p class="text-lead text-gray-600 mb-8 font-light">
Interested in becoming a reseller? Have questions about our collection? We're here to help.
</p>
<div class="space-y-6">
<div class="flex items-start">
<div
class="w-12 h-12 btn-gradient rounded-full flex items-center justify-center mr-4 flex-shrink-0">
<i class="fas fa-envelope text-white"></i>
</div>
<div>
<div class="font-semibold text-lg brand-font">Email</div>
<div class="text-gray-600 font-light">info@dsdiamonds.com</div>
</div>
</div>
<div class="flex items-start">
<div
class="w-12 h-12 btn-gradient rounded-full flex items-center justify-center mr-4 flex-shrink-0">
<i class="fas fa-phone text-white"></i>
</div>
<div>
<div class="font-semibold text-lg brand-font">Phone</div>
<div class="text-gray-600 font-light">+91 12345 67890</div>
</div>
</div>
<div class="flex items-start">
<div
class="w-12 h-12 btn-gradient rounded-full flex items-center justify-center mr-4 flex-shrink-0">
<i class="fas fa-map-marker-alt text-white"></i>
</div>
<div>
<div class="font-semibold text-lg brand-font">Location</div>
<div class="text-gray-600">Surat, Gujarat, India</div>
</div>
</div>
</div>
</div>
<!-- Right: CTA Box -->
<div class="bg-gradient-to-br from-purple-600 to-pink-600 p-12 rounded-3xl text-white">
<h3 class="text-3xl font-bold heading-font mb-4">Become a Partner</h3>
<p class="mb-8 text-purple-100">
Join our network of trusted resellers and get access to premium diamonds with transparent
pricing and secure sharing tools.
</p>
<a href="client_register.php"
class="bg-white text-purple-600 px-8 py-4 rounded-full font-semibold text-lg inline-flex items-center hover:bg-gray-100 transition">
Request Access
<i class="fas fa-arrow-right ml-2"></i>
</a>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-gray-300 py-12">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid md:grid-cols-4 gap-8 mb-8">
<!-- Company Info -->
<div>
<div class="flex items-center mb-4">
<i class="far fa-gem text-2xl gradient-text mr-2"></i>
<span class="text-xl font-bold heading-font text-white">DS<span
class="gradient-text">Diamonds</span></span>
</div>
<p class="text-sm">
Premium diamond collection for resellers. Verified authenticity, secure sharing, in-person
transactions.
</p>
</div>
<!-- Quick Links -->
<div>
<h4 class="text-white font-semibold mb-4">Quick Links</h4>
<ul class="space-y-2 text-sm">
<li><a href="#home" class="hover:text-white transition">Home</a></li>
<li><a href="#about" class="hover:text-white transition">About</a></li>
<li><a href="#catalog" class="hover:text-white transition">Catalog</a></li>
<li><a href="#contact" class="hover:text-white transition">Contact</a></li>
</ul>
</div>
<!-- For Clients -->
<div>
<h4 class="text-white font-semibold mb-4">For Clients</h4>
<ul class="space-y-2 text-sm">
<li><a href="index.php" class="hover:text-white transition">Client Login</a></li>
<li><a href="#" class="hover:text-white transition">Partner Program</a></li>
<li><a href="#" class="hover:text-white transition">Resources</a></li>
<li><a href="#" class="hover:text-white transition">Support</a></li>
</ul>
</div>
<!-- Legal -->
<div>
<h4 class="text-white font-semibold mb-4">Legal</h4>
<ul class="space-y-2 text-sm">
<li><a href="#" class="hover:text-white transition">Privacy Policy</a></li>
<li><a href="#" class="hover:text-white transition">Terms of Service</a></li>
<li><a href="#" class="hover:text-white transition">Cookie Policy</a></li>
</ul>
</div>
</div>
<!-- Bottom Bar -->
<div class="border-t border-gray-800 pt-8 flex flex-col md:flex-row justify-between items-center">
<div class="text-sm mb-4 md:mb-0">
© 2025 DS Diamonds. All rights reserved.
</div>
<div class="text-xs text-gray-500">
<i class="fas fa-info-circle mr-1"></i>
All transactions conducted in person. No online payments.
</div>
</div>
</div>
</footer>
<script>
function diamondSlideshow() {
return {
currentSlide: 0,
diamonds: <?php echo json_encode($slideshow_diamonds); ?>,
autoplayInterval: null,
init() {
if (this.diamonds.length > 0) {
this.startAutoplay();
}
},
startAutoplay() {
this.autoplayInterval = setInterval(() => {
this.next();
}, 3000);
},
stopAutoplay() {
if (this.autoplayInterval) {
clearInterval(this.autoplayInterval);
this.autoplayInterval = null;
}
},
next() {
if (this.diamonds.length > 0) {
this.currentSlide = (this.currentSlide + 1) % this.diamonds.length;
}
},
prev() {
if (this.diamonds.length > 0) {
this.currentSlide = (this.currentSlide - 1 + this.diamonds.length) % this.diamonds.length;
}
},
getImage(index) {
const diamond = this.diamonds[index];
// Check if diamond has custom uploaded image
if (diamond.image_url && diamond.image_url.trim() !== '') {
return diamond.image_url;
}
// Otherwise use rotating default images (1-5)
const imageNum = ((diamond.id - 1) % 5) + 1;
return 'assets/images/diamonds/diamond-' + imageNum + '.jpg';
}
}
}
</script>
</body>
</html>