<!DOCTYPE html>

<html>

<head>

<meta charset="UTF-8">

<base target="_self">

<title>Generated Preview</title>

<style>body {

font-family: 'Roboto', sans-serif;

margin: 0;

padding: 0;

line-height: 1.6;

color: #333;

background-color: #f4f4f4;

}


h1, h2, h3 {

margin-bottom: 15px;

color: #222;

}


a {

text-decoration: none;

color: #007bff;

}


a:hover {

color: #0056b3;

}



.container {

max-width: 1200px;

margin: 0 auto;

padding: 20px;

}


.cta-button {

display: inline-block;

padding: 12px 24px;

background-color: #007bff;

color: #fff;

border-radius: 5px;

transition: background-color 0.3s ease;

}


.cta-button:hover {

background-color: #0056b3;

}



header {

background-color: #fff;

box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

position: sticky;

top: 0;

z-index: 100;

}


.navbar {

display: flex;

justify-content: space-between;

align-items: center;

padding: 20px;

max-width: 1200px;

margin: 0 auto;

}


.logo {

font-size: 1.5rem;

font-weight: 700;

color: #222;

}


.nav-links {

list-style: none;

display: flex;

gap: 20px;

}


.nav-links li a {

color: #555;

transition: color 0.3s ease;

}


.nav-links li a:hover {

color: #007bff;

}



.hero {

display: flex;

align-items: center;

padding: 60px 20px;

background-color: #f9f9f9;

}


.hero-content {

flex: 1;

}


.hero-content h1 {

font-size: 3rem;

margin-bottom: 20px;

}


.hero-image {

flex: 1;

text-align: center;

}


.hero-image img {

max-width: 100%;

height: auto;

border-radius: 8px;

box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}



.featured-tours {

padding: 60px 20px;

text-align: center;

}


.tour-grid {

display: grid;

grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

gap: 30px;

margin-top: 30px;

}


.tour-item {

background-color: #fff;

border-radius: 8px;

box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

padding: 20px;

text-align: left;

transition: transform 0.3s ease;

}


.tour-item:hover {

transform: translateY(-5px);

}


.tour-item img {

width: 100%;

height: 200px;

object-fit: cover;

border-radius: 8px;

margin-bottom: 15px;

}


.tour-button {

display: inline-block;

padding: 10px 20px;

background-color: #28a745;

color: #fff;

border-radius: 5px;

transition: background-color 0.3s ease;

}


.tour-button:hover {

background-color: #218838;

}



.testimonials {

padding: 60px 20px;

background-color: #e9ecef;

text-align: center;

}


.testimonial-slider {

margin-top: 30px;

}


.testimonial {

padding: 20px;

background-color: #fff;

border-radius: 8px;

box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

margin-bottom: 20px;

}


.testimonial p.author {

font-style: italic;

color: #777;

margin-top: 10px;

}



.book-now {

padding: 60px 20px;

text-align: center;

background-color: #fff;

}



.about-us {

display: flex;

align-items: center;

padding: 60px 20px;

background-color: #f9f9f9;

}


.about-content {

flex: 1;

padding-right: 20px;

}


.about-image {

flex: 1;

text-align: center;

}


.about-image img {

max-width: 100%;

height: auto;

border-radius: 8px;

box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}



.our-team {

padding: 60px 20px;

text-align: center;

}


.team-grid {

display: grid;

grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

gap: 30px;

margin-top: 30px;

}


.team-member {

background-color: #fff;

border-radius: 8px;

box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

padding: 20px;

text-align: center;

}


.team-member img {

width: 150px;

height: 150px;

object-fit: cover;

border-radius: 50%;

margin-bottom: 15px;

}



.contact-us {

padding: 60px 20px;

text-align: center;

}


.contact-form {

max-width: 600px;

margin: 0 auto;

text-align: left;

}


.form-group {

margin-bottom: 20px;

}


.form-group label {

display: block;

margin-bottom: 5px;

font-weight: 500;

}


.form-group input,

.form-group textarea {

width: 100%;

padding: 12px;

border: 1px solid #ccc;

border-radius: 5px;

font-size: 1rem;

}



.contact-info {

padding: 60px 20px;

background-color: #e9ecef;

text-align: center;

}


.info-grid {

display: grid;

grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

gap: 30px;

margin-top: 30px;

}


.info-item {

background-color: #fff;

border-radius: 8px;

box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

padding: 20px;

text-align: center;

}


.info-item i {

font-size: 2rem;

margin-bottom: 10px;

color: #007bff;

}



footer {

background-color: #333;

color: #fff;

text-align: center;

padding: 20px;

}



@media (max-width: 768px) {

.hero {

flex-direction: column;

text-align: center;

}


.hero-image {

margin-top: 30px;

}


.nav-links {

flex-direction: column;

align-items: center;

}

.navbar {

flex-direction: column;

align-items: flex-start;

}


.logo {

margin-bottom: 10px;

text-align: center;

}


.about-us {

flex-direction: column;

text-align: center;

}


.about-content {

padding-right: 0;

}


.about-image {

margin-top: 30px;

}

}</style>

</head>

<body>

<div id="app">

<!-- Header -->

<header>

<nav class="navbar">

<div class="logo">Mazatlan Adventures</div>

<ul class="nav-links">

<li><a href="index.html">Home</a></li>

<li><a href="about.html">About</a></li>

<li><a href="#tours">Tours</a></li>

<li><a href="contact.html">Contact</a></li>

<li><a href="#book-now" class="cta-button">Book Now</a></li>


</ul>

</nav>

</header>


<!-- Hero Section -->

<section class="hero">

<div class="hero-content">

<h1>Discover the Magic of Mazatlan</h1>

<p>Explore breathtaking landscapes, rich culture, and thrilling adventures.</p>

<a href="#tours" class="cta-button">Explore Tours</a>

</div>

<div class="hero-image">

<img src="https://picsum.photos/id/1015/800/600" alt="Mazatlan Beach">

</div>

</section>


<!-- Featured Tours -->

<section id="tours" class="featured-tours">

<h2>Our Featured Tours</h2>

<div class="tour-grid">


<div class="tour-item">

<img src="https://picsum.photos/id/237/400/300" alt="Aquarium">

<h3>Aquarium Adventure</h3>

<p>Explore the wonders of the underwater world at Mazatlan's famous aquarium.</p>

<a href="#" class="tour-button">Learn More</a>

</div>


<div class="tour-item">

<img src="https://picsum.photos/id/1024/400/300" alt="Observatory">

<h3>Observatory Hill Tour</h3>

<p>Enjoy panoramic views of Mazatlan from the historic observatory.</p>

<a href="#" class="tour-button">Learn More</a>

</div>


<div class="tour-item">

<img src="https://picsum.photos/id/42/400/300" alt="Tequila Tour">

<h3>Tequila Tasting & Distillery Tour</h3>

<p>Discover the secrets of tequila making on a guided tour and tasting.</p>

<a href="#" class="tour-button">Learn More</a>

</div>


<div class="tour-item">

<img src="https://picsum.photos/id/1074/400/300" alt="Museums">

<h3>Historical Museum Tour</h3>

<p>Journey into Mazatlan's rich history by visiting the city's best museums.</p>

<a href="#" class="tour-button">Learn More</a>

</div>


</div>

</section>


<!-- Testimonials -->

<section class="testimonials">

<h2>What Our Customers Say</h2>

<div class="testimonial-slider">

<div class="testimonial">

<p>"An unforgettable experience! The tour guides were knowledgeable and friendly."</p>

<p class="author">- John Doe</p>

</div>

<div class="testimonial">

<p>"The tequila tour was fantastic! I learned so much and had a great time."</p>

<p class="author">- Jane Smith</p>

</div>

</div>

</section>


<!-- Book Now Section -->

<section id="book-now" class="book-now">

<h2>Book Your Adventure Today!</h2>

<p>Ready to explore Mazatlan? Contact us to book your tour.</p>

<a href="contact.html" class="cta-button">Contact Us</a>

</section>


<!-- Footer -->

<footer>

<p>&copy; 2025 Mazatlan Adventures. All rights reserved.</p>

</footer>


<script src="script.js"></script>

</div>

<script>

const pages = {"index.html":"<!-- Header -->\n <header>\n <nav class=\"navbar\">\n <div class=\"logo\">Mazatlan Adventures</div>\n <ul class=\"nav-links\">\n <li><a href=\"index.html\">Home</a></li>\n <li><a href=\"about.html\">About</a></li>\n <li><a href=\"#tours\">Tours</a></li>\n <li><a href=\"contact.html\">Contact</a></li>\n <li><a href=\"#book-now\" class=\"cta-button\">Book Now</a></li>\n\n </ul>\n </nav>\n </header>\n\n <!-- Hero Section -->\n <section class=\"hero\">\n <div class=\"hero-content\">\n <h1>Discover the Magic of Mazatlan</h1>\n <p>Explore breathtaking landscapes, rich culture, and thrilling adventures.</p>\n <a href=\"#tours\" class=\"cta-button\">Explore Tours</a>\n </div>\n <div class=\"hero-image\">\n <img src=\"https://picsum.photos/id/1015/800/600\" alt=\"Mazatlan Beach\">\n </div>\n </section>\n\n <!-- Featured Tours -->\n <section id=\"tours\" class=\"featured-tours\">\n <h2>Our Featured Tours</h2>\n <div class=\"tour-grid\">\n\n <div class=\"tour-item\">\n <img src=\"https://picsum.photos/id/237/400/300\" alt=\"Aquarium\">\n <h3>Aquarium Adventure</h3>\n <p>Explore the wonders of the underwater world at Mazatlan's famous aquarium.</p>\n <a href=\"#\" class=\"tour-button\">Learn More</a>\n </div>\n\n <div class=\"tour-item\">\n <img src=\"https://picsum.photos/id/1024/400/300\" alt=\"Observatory\">\n <h3>Observatory Hill Tour</h3>\n <p>Enjoy panoramic views of Mazatlan from the historic observatory.</p>\n <a href=\"#\" class=\"tour-button\">Learn More</a>\n </div>\n\n <div class=\"tour-item\">\n <img src=\"https://picsum.photos/id/42/400/300\" alt=\"Tequila Tour\">\n <h3>Tequila Tasting & Distillery Tour</h3>\n <p>Discover the secrets of tequila making on a guided tour and tasting.</p>\n <a href=\"#\" class=\"tour-button\">Learn More</a>\n </div>\n\n <div class=\"tour-item\">\n <img src=\"https://picsum.photos/id/1074/400/300\" alt=\"Museums\">\n <h3>Historical Museum Tour</h3>\n <p>Journey into Mazatlan's rich history by visiting the city's best museums.</p>\n <a href=\"#\" class=\"tour-button\">Learn More</a>\n </div>\n\n </div>\n </section>\n\n <!-- Testimonials -->\n <section class=\"testimonials\">\n <h2>What Our Customers Say</h2>\n <div class=\"testimonial-slider\">\n <div class=\"testimonial\">\n <p>\"An unforgettable experience! The tour guides were knowledgeable and friendly.\"</p>\n <p class=\"author\">- John Doe</p>\n </div>\n <div class=\"testimonial\">\n <p>\"The tequila tour was fantastic! I learned so much and had a great time.\"</p>\n <p class=\"author\">- Jane Smith</p>\n </div>\n </div>\n </section>\n\n <!-- Book Now Section -->\n <section id=\"book-now\" class=\"book-now\">\n <h2>Book Your Adventure Today!</h2>\n <p>Ready to explore Mazatlan? Contact us to book your tour.</p>\n <a href=\"contact.html\" class=\"cta-button\">Contact Us</a>\n </section>\n\n <!-- Footer -->\n <footer>\n <p>&copy; 2025 Mazatlan Adventures. All rights reserved.</p>\n </footer>\n\n <script src=\"script.js\"><\/script>","about.html":"<!-- Header -->\n <header>\n <nav class=\"navbar\">\n <div class=\"logo\">Mazatlan Adventures</div>\n <ul class=\"nav-links\">\n <li><a href=\"index.html\">Home</a></li>\n <li><a href=\"about.html\">About</a></li>\n <li><a href=\"index.html#tours\">Tours</a></li>\n <li><a href=\"contact.html\">Contact</a></li>\n <li><a href=\"index.html#book-now\" class=\"cta-button\">Book Now</a></li>\n </ul>\n </nav>\n </header>\n\n <!-- About Us Section -->\n <section class=\"about-us\">\n <div class=\"about-content\">\n <h2>About Mazatlan Adventures</h2>\n <p>We are a team of passionate travel enthusiasts dedicated to providing unforgettable experiences in Mazatlan and its surrounding areas. Our mission is to showcase the beauty, culture, and adventure that this region has to offer.</p>\n <p>With years of experience, we have curated a selection of tours and activities that cater to all interests, from exploring historical landmarks to discovering hidden gems. We work with local experts and guides to ensure that our guests receive the highest quality service and an authentic experience.</p>\n <p>Our commitment to sustainability and responsible tourism means that we strive to minimize our impact on the environment and support local communities. We believe that travel should be both enriching and beneficial to the places we visit.</p>\n </div>\n <div class=\"about-image\">\n <img src=\"https://picsum.photos/id/1011/600/400\" alt=\"About Us\">\n </div>\n </section>\n\n <!-- Our Team -->\n <section class=\"our-team\">\n <h2>Meet Our Team</h2>\n <div class=\"team-grid\">\n <div class=\"team-member\">\n <img src=\"https://picsum.photos/id/238/200/200\" alt=\"Team Member 1\">\n <h3>John Smith</h3>\n <p>Tour Guide</p>\n </div>\n <div class=\"team-member\">\n <img src=\"https://picsum.photos/id/239/200/200\" alt=\"Team Member 2\">\n <h3>Jane Doe</h3>\n <p>Customer Support</p>\n </div>\n <div class=\"team-member\">\n <img src=\"https://picsum.photos/id/240/200/200\" alt=\"Team Member 3\">\n <h3>Peter Jones</h3>\n <p>Adventure Coordinator</p>\n </div>\n </div>\n </section>\n\n <!-- Footer -->\n <footer>\n <p>&copy; 2025 Mazatlan Adventures. All rights reserved.</p>\n </footer>\n\n <script src=\"script.js\"><\/script>","contact.html":"<!-- Header -->\n <header>\n <nav class=\"navbar\">\n <div class=\"logo\">Mazatlan Adventures</div>\n <ul class=\"nav-links\">\n <li><a href=\"index.html\">Home</a></li>\n <li><a href=\"about.html\">About</a></li>\n <li><a href=\"index.html#tours\">Tours</a></li>\n <li><a href=\"contact.html\">Contact</a></li>\n <li><a href=\"index.html#book-now\" class=\"cta-button\">Book Now</a></li>\n </ul>\n </nav>\n </header>\n\n <!-- Contact Form -->\n <section class=\"contact-us\">\n <h2>Contact Us</h2>\n <p>We'd love to hear from you! Please fill out the form below to get in touch.</p>\n <form class=\"contact-form\">\n <div class=\"form-group\">\n <label for=\"name\">Name:</label>\n <input type=\"text\" id=\"name\" name=\"name\" required>\n </div>\n <div class=\"form-group\">\n <label for=\"email\">Email:</label>\n <input type=\"email\" id=\"email\" name=\"email\" required>\n </div>\n <div class=\"form-group\">\n <label for=\"message\">Message:</label>\n <textarea id=\"message\" name=\"message\" rows=\"5\" required></textarea>\n </div>\n <button type=\"submit\" class=\"cta-button\">Send Message</button>\n </form>\n </section>\n\n <!-- Contact Information -->\n <section class=\"contact-info\">\n <h2>Our Contact Information</h2>\n <div class=\"info-grid\">\n <div class=\"info-item\">\n <i class=\"fas fa-map-marker-alt\"></i>\n <p>123 Main Street, Mazatlan, Mexico</p>\n </div>\n <div class=\"info-item\">\n <i class=\"fas fa-phone\"></i>\n <p>+52 669 123 4567</p>\n </div>\n <div class=\"info-item\">\n <i class=\"fas fa-envelope\"></i>\n <p>info@mazatlanadventures.com</p>\n </div>\n </div>\n </section>\n\n <!-- Footer -->\n <footer>\n <p>&copy; 2025 Mazatlan Adventures. All rights reserved.</p>\n </footer>\n\n <script src=\"script.js\"><\/script>"};

function runPageJS() {

document.querySelectorAll('a[href^="#"]').forEach(anchor => {

anchor.addEventListener('click', function (e) {

e.preventDefault();


document.querySelector(this.getAttribute('href')).scrollIntoView({

behavior: 'smooth'

});

});

});



const testimonials = document.querySelectorAll('.testimonial');

let currentTestimonial = 0;


function showTestimonial() {

testimonials.forEach(testimonial => testimonial.style.display = 'none');

testimonials[currentTestimonial].style.display = 'block';

}


function nextTestimonial() {

currentTestimonial = (currentTestimonial + 1) % testimonials.length;

showTestimonial();

}


if (testimonials.length > 0) {

showTestimonial();

setInterval(nextTestimonial, 5000);

}

}

document.addEventListener('click', function(e) {

const anchor = e.target.closest('a');

if (anchor) {

const href = anchor.getAttribute('href');

if (pages[href]) {

e.preventDefault();

document.getElementById('app').innerHTML = pages[href];

window.scrollTo(0, 0);

} else if (href && href.endsWith('.html')) {

e.preventDefault();

document.getElementById('app').innerHTML = '<h1>404 - Page Not Found</h1> <br/><a href="index.html">Go back to home</a>';

}

}

});

runPageJS();

</script>

<script>

document.querySelectorAll('a[href^="#"]').forEach(anchor => {

anchor.addEventListener('click', function (e) {

e.preventDefault();


document.querySelector(this.getAttribute('href')).scrollIntoView({

behavior: 'smooth'

});

});

});



const testimonials = document.querySelectorAll('.testimonial');

let currentTestimonial = 0;


function showTestimonial() {

testimonials.forEach(testimonial => testimonial.style.display = 'none');

testimonials[currentTestimonial].style.display = 'block';

}


function nextTestimonial() {

currentTestimonial = (currentTestimonial + 1) % testimonials.length;

showTestimonial();

}


if (testimonials.length > 0) {

showTestimonial();

setInterval(nextTestimonial, 5000);

}

</script>

</body>

</html>