-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchennai.html
More file actions
271 lines (241 loc) · 8.89 KB
/
Copy pathchennai.html
File metadata and controls
271 lines (241 loc) · 8.89 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Chennai - Explorer</title>
<link rel="stylesheet" href="style.css">
<style>
.destination-header {
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
url('https://images.pexels.com/photos/10070972/pexels-photo-10070972.jpeg');
background-size: cover;
background-position: center;
height: 400px;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-align: center;
padding: 20px;
}
.destination-header h1 {
font-size: 48px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
margin-bottom: 20px;
}
.destination-content {
max-width: 1200px;
margin: 40px auto;
padding: 0 20px;
}
.section {
background: white;
border-radius: 15px;
padding: 30px;
margin-bottom: 30px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.section h2 {
color: #0056b3;
margin-bottom: 20px;
font-size: 28px;
}
.section p {
color: #666;
line-height: 1.6;
margin-bottom: 15px;
}
.itinerary-day {
border-left: 3px solid #0056b3;
padding-left: 20px;
margin-bottom: 30px;
}
.itinerary-day h3 {
color: #333;
margin-bottom: 15px;
}
.highlights {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-top: 20px;
}
.highlight-card {
background: #f8f9fa;
padding: 20px;
border-radius: 10px;
text-align: center;
}
.highlight-card img {
width: 60px;
height: 60px;
margin-bottom: 15px;
}
.instructions {
list-style: none;
padding: 0;
}
.instructions li {
padding: 10px 0;
border-bottom: 1px solid #eee;
display: flex;
align-items: center;
gap: 10px;
}
.instructions li:last-child {
border-bottom: none;
}
.book-now {
display: inline-block;
background: #28a745;
color: white;
padding: 15px 30px;
border-radius: 30px;
text-decoration: none;
font-weight: bold;
margin-top: 20px;
transition: all 0.3s ease;
}
.book-now:hover {
background: #218838;
transform: translateY(-2px);
}
.back-link {
display: inline-block;
margin: 20px;
color: #0056b3;
text-decoration: none;
font-weight: 500;
}
.back-link:hover {
text-decoration: underline;
}
</style>
</head>
<body>
<a href="index.html" class="back-link">← Back to Home</a>
<div class="destination-header">
<div>
<h1>Chennai</h1>
<p>Gateway to South India's Cultural Heritage</p>
</div>
</div>
<div class="destination-content">
<div class="section">
<h2>About Chennai</h2>
<p>Chennai, formerly known as Madras, is the capital of Tamil Nadu and one of India's major cultural, economic, and educational centers. With a rich history dating back to the British East India Company in the 17th century, Chennai has evolved into a vibrant metropolis while preserving its traditional charm.</p>
<p>The city is famous for its Marina Beach, historic temples, colonial architecture, and being the hub of South Indian classical music and dance. It's also known as the "Detroit of India" due to its thriving automobile industry.</p>
</div>
<div class="section">
<h2>Trip Highlights</h2>
<div class="highlights">
<div class="highlight-card">
<h3>Marina Beach</h3>
<p>World's second-longest urban beach</p>
</div>
<div class="highlight-card">
<h3>Kapaleeshwarar Temple</h3>
<p>Ancient Dravidian architecture</p>
</div>
<div class="highlight-card">
<h3>Fort St. George</h3>
<p>First British fortress in India</p>
</div>
<div class="highlight-card">
<h3>Local Cuisine</h3>
<p>Authentic South Indian delicacies</p>
</div>
</div>
</div>
<div class="section">
<h2>3-Day Itinerary</h2>
<div class="itinerary-day">
<h3>Day 1: Historical Chennai</h3>
<p>• Morning: Visit Fort St. George and Government Museum</p>
<p>• Afternoon: Explore San Thome Basilica</p>
<p>• Evening: Sunset at Marina Beach</p>
</div>
<div class="itinerary-day">
<h3>Day 2: Cultural Experience</h3>
<p>• Morning: Visit Kapaleeshwarar Temple</p>
<p>• Afternoon: Shopping at T Nagar</p>
<p>• Evening: Classical music performance</p>
</div>
<div class="itinerary-day">
<h3>Day 3: Modern Chennai</h3>
<p>• Morning: Visit DakshinaChitra</p>
<p>• Afternoon: MGM Dizzee World</p>
<p>• Evening: Dinner at ECR</p>
</div>
</div>
<div class="section">
<h2>Travel Instructions</h2>
<ul class="instructions">
<li>✈️ Nearest Airport: Chennai International Airport (MAA)</li>
<li>🚊 Local Transport: Metro, buses, and auto-rickshaws available</li>
<li>🌡️ Best Time to Visit: November to February</li>
<li>👕 What to Pack: Light cotton clothes, sunscreen, hat</li>
<li>📱 Emergency Contact: +91 98765 43210</li>
</ul>
<a href="#" class="book-now">Book Now - ₹15,000</a>
</div>
</div>
<!-- Add this before the closing body tag -->
<div id="bookingModal" class="booking-modal">
<div class="booking-content">
<span class="close-booking" onclick="closeBookingModal()">×</span>
<div id="bookingStep1">
<div class="booking-icon">🎉</div>
<h2 class="booking-success">Booking Successful!</h2>
<div class="booking-details">
<h3>Booking Details</h3>
<p><strong>Destination:</strong> Chennai</p>
<p><strong>Duration:</strong> 3 Days 2 Nights</p>
<p><strong>Package:</strong> Cultural Heritage Tour</p>
<p><strong>Amount:</strong> ₹12,000</p>
</div>
<button class="proceed-pay" onclick="proceedToPayment()">Proceed to Payment</button>
</div>
</div>
</div>
<script>
// Get modal element
const bookingModal = document.getElementById('bookingModal');
// Function to handle booking
function bookNow() {
bookingModal.style.display = 'block';
document.body.style.overflow = 'hidden'; // Prevent scrolling
}
// Function to close modal
function closeBookingModal() {
bookingModal.style.display = 'none';
document.body.style.overflow = 'auto'; // Enable scrolling
}
// Close modal when clicking outside
window.onclick = function(event) {
if (event.target == bookingModal) {
closeBookingModal();
}
}
// Function to proceed to payment
function proceedToPayment() {
// Here you would typically redirect to a payment gateway
// For demo purposes, we'll just show an alert
alert('Redirecting to payment gateway...');
closeBookingModal();
}
// Add keyboard support
document.addEventListener('keydown', function(event) {
if (event.key === 'Escape' && bookingModal.style.display === 'block') {
closeBookingModal();
}
});
// Update all book now buttons to use the new functionality
document.querySelectorAll('.book-now').forEach(button => {
button.setAttribute('onclick', 'bookNow()');
button.href = 'javascript:void(0);';
});
</script>
</body>
</html>