A beautiful, modern, fully responsive tourism website for Swat Valley, Khyber Pakhtunkhwa, Pakistan β built with pure HTML5, CSS3 and vanilla JavaScript. No frameworks, no dependencies.
π Live Site: swatexplorer.netlify.app
π Repository: github.com/yourusername/SwatExplorer
π€ Author: Shah Faisal β Mingora, Swat Valley, Pakistan
- Premium modern UI with cinematic hero sections
- Glassmorphism cards, gradients and blur effects
- Mobile-first, fully responsive on all screen sizes
- Google Fonts β Playfair Display + Inter
- Custom π favicon in browser tab
- Deep forest green, river blue and warm orange color palette
- Scroll reveal animations β fade up, fade left/right, scale
- Staggered card animations on attractions grid
- Slow Ken Burns zoom effect on all hero backgrounds
- Unique per-page hero effects:
- π§ Jarogo β animated rain drops falling
- π² Ushu Valley β floating leaves (πππΏπ)
- πͺ¨ Butkara β golden dust particles
- Animated scroll hint with mouse wheel indicator
- Smooth scroll on all navigation links
- Fixed frosted-glass navbar with scroll effect
- Click-based dropdown showing all 9 attraction links
- Slide-in mobile drawer with all pages listed
- "Book Now" CTA button linking to dedicated booking page
- Back button on all attraction pages
| Page | Description |
|---|---|
index.html |
Main homepage with all sections |
booking.html |
Dedicated full booking page |
404.html |
Custom error page with mountain theme |
malam-jabba.html |
Malam Jabba Ski Resort |
kalam.html |
Kalam Valley |
mahodand.html |
Mahodand Lake |
bahrain.html |
Bahrain Riverside Town |
white-palace.html |
White Palace Marghazar |
fizagat.html |
Fizagat Park |
jarogo.html |
Jarogo Waterfall |
butkara.html |
Butkara Stupa |
ushu-valley.html |
Ushu Valley |
| # | Attraction | Type | Distance |
|---|---|---|---|
| 1 | β· Malam Jabba | Ski Resort | 68 km |
| 2 | π Mahodand Lake | Alpine Lake | 98 km |
| 3 | πΏ Kalam Valley | Alpine Valley | 99 km |
| 4 | π Bahrain | Riverside Town | 64 km |
| 5 | π³ Fizagat Park | Riverside Park | 8 km |
| 6 | πͺ¨ Butkara Stupa | Buddhist Heritage | 3 km |
| 7 | π° White Palace | Royal Palace | 13 km |
| 8 | π§ Jarogo Waterfall | Waterfall | 101 km |
| 9 | π² Ushu Valley | Ancient Forest | 105 km |
- Full booking form β choose destination, trip type, guests, dates, accommodation, budget
- 5 package options per attraction page
- Confirmation modal with full booking summary
- Auto-generated booking reference (e.g.
SWT-955414) - WhatsApp integration β opens chat with 03305412327
- Pre-filled WhatsApp message with all booking details
- WhatsApp: 03305412327 β direct chat link
- Email: shahf29887@gmail.com β mailto link
- Location: Mingora, Swat, KPK β Google Maps embed + link
SwatExplorer/
β
βββ π index.html # Homepage
βββ π booking.html # Booking page
βββ π 404.html # Error page
βββ π malam-jabba.html # Malam Jabba Ski Resort
βββ π kalam.html # Kalam Valley
βββ π mahodand.html # Mahodand Lake
βββ π bahrain.html # Bahrain Town
βββ π white-palace.html # White Palace Marghazar
βββ π fizagat.html # Fizagat Park
βββ π jarogo.html # Jarogo Waterfall
βββ π butkara.html # Butkara Stupa
βββ π ushu-valley.html # Ushu Valley
β
βββ π css/
β βββ global.css # Shared styles β nav, footer, animations
β βββ home.css # Homepage only styles
β βββ attraction.css # All attraction pages shared styles
β βββ booking.css # Booking page styles
β
βββ π js/
β βββ main.js # Shared JS β nav, scroll, drawer, animations
β βββ attraction.js # Lightbox, package selector, booking submit
β βββ booking.js # Booking form logic, modal, WhatsApp message
β
βββ π images/
βββ my-photo.jpg # Author photo (About section)
βββ bahrain.jpg # Bahrain custom image
| Technology | Usage |
|---|---|
| HTML5 | Semantic structure for all 12 pages |
| CSS3 | Custom animations, glassmorphism, gradients, responsive grid |
| Vanilla JavaScript | Nav, scroll animations, booking logic, WhatsApp integration |
| Google Fonts | Playfair Display (headings) + Inter (body) |
| Unsplash API | High quality placeholder images |
| Google Maps Embed | Location map in contact section |
| WhatsApp API | Direct booking via wa.me link |
β‘ Zero frameworks Β· Zero dependencies Β· Pure static site
- Hosted on Netlify via GitHub auto-deploy
- Every push to
mainbranch automatically updates the live site - No build step required β pure static files
1. Fork this repo
2. Go to netlify.com β Add new site β Import from Git
3. Select this repo β Deploy
# Clone the repo
git clone https://github.com/yourusername/SwatExplorer.git
# Open in VS Code
code SwatExplorer
# Open index.html with Live Server extension
# Right click index.html β Open with Live Server| Method | Details |
|---|---|
| π± WhatsApp | 03305412327 |
| π§ Email | shahf29887@gmail.com |
| π Location | Mingora, Swat Valley, KPK, Pakistan |
Shah Faisal
π Mingora, Swat Valley, Khyber Pakhtunkhwa, Pakistan
"Made with β€ for the beautiful people and places of Swat Valley"
This project is licensed under the MIT License.
Feel free to use it as inspiration β please give credit if you do.
Β© 2025 SwatExplorer Β· Shah Faisal Β· Mingora, Swat
If you like this project, please give it a β star on GitHub!
It helps others discover SwatExplorer and supports the work. π