PK

ADDRLIN : C:/Inetpub/vhosts/dharmayatra.co.in/httpdocs/
FLL :
Current File : C:/Inetpub/vhosts/dharmayatra.co.in/httpdocs/index.php

<?php include './includes/header.php' ?>
<!-- Main Content -->

<style>
.suggestions-box {
    position: absolute;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    max-height: 250px;
    overflow-y: auto;
    z-index: 999;
    display: none;
}

.suggestion-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.suggestion-item:hover {
    background: #f4f4f4;
}
</style>

<main id="mainContent">
    <!-- Home Page -->
    <div id="homePage">
        <!-- Hero -->
        <!-- <section class="hero">
                <div class="hero-content">
                    <h1>Discover Odisha's Sacred Soul</h1>
                    <p>Experience spiritual heritage with Khandai Holidays - Your trusted partner for Puri, Konark & Bhubaneswar tours</p>
                    <div class="hero-buttons">
                        <a href="./packages.php" class="btn-primary">Explore Packages</a>
                        <a href="./contact.php" class="btn-secondary">Plan My Trip</a>
                    </div>
                </div>
            </section> -->

        <section class="hero">
            <div class="hero-slider">

                <!-- Slide 1 -->
                <div class="hero-slide active">
                    <div class="hero-content">
                        <h1>Discover Odisha's Sacred Soul</h1>
                        <p>Experience spiritual heritage with Khandai Holidays - Your trusted partner for Puri, Konark & Bhubaneswar tours</p>
                        <div class="hero-buttons">
                            <a href="./packages.php" class="btn-primary">Explore Packages</a>
                            <a href="./contact.php" class="btn-secondary">Plan My Trip</a>
                        </div>
                    </div>
                </div>

                <!-- Slide 2 -->
                <div class="hero-slide">
                    <div class="hero-content">
                        <h1>Explore Puri & Jagannath Dham</h1>
                        <p>Witness divine blessings and golden beaches with our curated spiritual tours</p>
                        <div class="hero-buttons">
                            <a href="./packages.php" class="btn-primary">View Tours</a>
                            <a href="./contact.php" class="btn-secondary">Book Now</a>
                        </div>
                    </div>
                </div>

                <!-- Slide 3 -->
                <div class="hero-slide">
                    <div class="hero-content">
                        <h1>Konark Sun Temple Experience</h1>
                        <p>Step into history with Odisha’s iconic UNESCO heritage site</p>
                        <div class="hero-buttons">
                            <a href="./packages.php" class="btn-primary">Explore</a>
                            <a href="./contact.php" class="btn-secondary">Customize Trip</a>
                        </div>
                    </div>
                </div>

            </div>
        </section>

        <div class="container">
            <!-- Quick Booking -->
            <div class="quick-booking">
    <h3 style="text-align: center; margin-bottom: 20px;">Search Packages</h3>

    <form id="packageSearchForm" method="GET" action="search-packages.php">
        <div class="form-group" style="position: relative;">
            <input 
                type="text" 
                id="packageSearchInput"
                name="search"
                placeholder="Search packages by name..." 
                class="form-control"
                autocomplete="off"
                required
            >

            <!-- Suggestions dropdown -->
            <div id="searchSuggestions" class="suggestions-box"></div>
        </div>

        <button type="submit" class="btn-primary" style="width: 100%;">
            Search
        </button>
    </form>
</div>

            <!-- Featured Destinations -->
            <h2 style="text-align: center; margin: 50px 0 30px;">Featured Destinations</h2>
            <div class="destinations-grid">
                <div class="destination-card">
                    <div class="card-image">
                        <img src="./d1.jpg" alt="Puri Jagannath Temple">
                    </div>
                    <div class="card-content">
                        <h3>πŸ›• Puri</h3>
                        <p>Abode of Lord Jagannath - One of the Char Dham sites. Experience the divine energy of the 12th-century temple.</p>
                        <a href="./puri.php" class="btn-secondary" style="display: inline-block; margin-top: 15px;">Explore Puri β†’</a>
                    </div>
                </div>
                <div class="destination-card">
                    <div class="card-image">
                        <img src="./d2.jpg" alt="Konark Sun Temple">
                    </div>
                    <div class="card-content">
                        <h3>πŸ›οΈ Konark</h3>
                        <p>UNESCO World Heritage Site - The magnificent Sun Temple shaped like a colossal chariot.</p>
                        <a href="./konark.php" class="btn-secondary" style="display: inline-block; margin-top: 15px;">Explore Konark β†’</a>
                    </div>
                </div>
                <div class="destination-card">
                    <div class="card-image">
                        <img src="./d3.jpg" alt="Bhubaneswar Temples">
                    </div>
                    <div class="card-content">
                        <h3>πŸ™οΈ Bhubaneswar</h3>
                        <p>City of Temples - Home to over 500 ancient temples including the magnificent Lingaraj Temple.</p>
                        <a href="./bbsr.php" class="btn-secondary" style="display: inline-block; margin-top: 15px;">Explore Bhubaneswar β†’</a>
                    </div>
                </div>
            </div>

            <!-- Village Tourism Highlight -->
            <div style="background: linear-gradient(135deg, var(--tertiary), var(--secondary)); border-radius: 16px; padding: 40px; margin: 50px 0; color: white;">
                <h2 style="text-align: center; margin-bottom: 20px;">🏑 Authentic Village Tourism</h2>
                <p style="text-align: center; margin-bottom: 30px;">Immerse yourself in Odisha's rich rural culture - pottery, weaving, tribal dances, and traditional cuisine</p>
                <div style="display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;">
                    <span>🎨 Pattachitra Painting</span>
                    <span>🧡 Applique Craft</span>
                    <span>πŸ’ƒ Gotipua Dance</span>
                    <span>🌾 Farming Experience</span>
                </div>
                <div style="text-align: center; margin-top: 30px;">
                    <a href="./villagetour.php" class="btn-primary" style="background: white; color: var(--primary);">Explore Villages β†’</a>
                </div>
            </div>

            <!-- Testimonials -->
            <div class="testimonials" style="margin: 50px 0;">
                <h2 style="text-align: center; margin-bottom: 40px;">What Our Travelers Say</h2>
                <div class="destinations-grid">
                    <div class="testimonial-card">
                        <div class="stars">⭐⭐⭐⭐⭐</div>
                        <p>"Amazing spiritual journey! The team at Khandai Holidays made our Puri trip unforgettable. Highly recommended!"</p>
                        <h4>- Rajesh M., Delhi</h4>
                    </div>
                    <div class="testimonial-card">
                        <div class="stars">⭐⭐⭐⭐⭐</div>
                        <p>"The village tour was a unique experience. Authentic culture, warm hospitality, and delicious local food."</p>
                        <h4>- Smita P., Mumbai</h4>
                    </div>
                    <div class="testimonial-card">
                        <div class="stars">⭐⭐⭐⭐⭐</div>
                        <p>"Perfectly organized Konark tour. The guide was knowledgeable and the stay was comfortable."</p>
                        <h4>- Vikram S., Bangalore</h4>
                    </div>
                </div>
            </div>

            <!-- Stay at Our Hotel -->
            <div style="background: white; border-radius: 16px; padding: 40px; margin: 50px 0; box-shadow: 0 4px 15px rgba(0,0,0,0.08);">
                <h2 style="text-align: center; margin-bottom: 20px;">🏨 Stay at Our Hotel</h2>
                <p style="text-align: center; margin-bottom: 30px;">Comfortable accommodation near Jagannath Temple with modern amenities and traditional hospitality</p>
                <div style="text-align: center;">
                    <a href="./contact.php" class="btn-primary">Book Your Stay β†’</a>
                </div>
            </div>
        </div>
    </div>


</main>

<script>
    let slides = document.querySelectorAll('.hero-slide');
    let index = 0;

    function showSlide(i) {
        slides.forEach((slide) => slide.classList.remove('active'));
        slides[i].classList.add('active');
    }

    function nextSlide() {
        index = (index + 1) % slides.length;
        showSlide(index);
    }

    setInterval(nextSlide, 4000); // change every 4 sec
</script>

<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>

<script>
$(document).ready(function(){

    $('#packageSearchInput').keyup(function(){
        let query = $(this).val();

        if(query.length > 1){
            $.ajax({
                url: 'search-suggestions.php',
                method: 'GET',
                data: { query: query },
                success: function(data){
                    $('#searchSuggestions').html(data).show();
                }
            });
        } else {
            $('#searchSuggestions').hide();
        }
    });

    // Click on suggestion
    $(document).on('click', '.suggestion-item', function(){
        let text = $(this).text();
        $('#packageSearchInput').val(text);
        $('#searchSuggestions').hide();
    });

    // Hide on click outside
    $(document).click(function(e){
        if(!$(e.target).closest('.form-group').length){
            $('#searchSuggestions').hide();
        }
    });

});
</script>
<?php include './includes/footer.php' ?>


PK 99