This commit is contained in:
Flatlogic Bot 2025-11-24 17:10:42 +00:00
parent 75b3e24201
commit e66ccf1d85
3 changed files with 330 additions and 142 deletions

177
assets/css/custom.css Normal file
View File

@ -0,0 +1,177 @@
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
--primary-color: #D4AF37; /* Soft Gold */
--secondary-color: #F5F5DC; /* Beige */
--background-color: #FFFFFF;
--surface-color: #FDFDFD;
--text-color: #333333;
--heading-font: "Playfair Display", serif;
--body-font: "Lato", sans-serif;
}
body {
font-family: var(--body-font);
color: var(--text-color);
background-color: var(--background-color);
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--heading-font);
color: var(--text-color);
}
a {
color: var(--primary-color);
text-decoration: none;
}
a:hover {
color: #c5a031;
text-decoration: none;
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
background-color: rgba(255, 255, 255, 0.9);
backdrop-filter: blur(10px);
padding: 15px 0;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.header .logo {
font-family: var(--heading-font);
font-size: 28px;
font-weight: 700;
color: var(--text-color);
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
width: 100%;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
background: linear-gradient(45deg, rgba(212, 175, 55, 0.1), rgba(245, 245, 220, 0.3));
color: var(--text-color);
}
.hero h1 {
font-size: 5rem;
font-weight: 700;
margin-bottom: 20px;
}
.hero p {
font-size: 1.5rem;
margin-bottom: 40px;
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
background-color: var(--surface-color);
padding: 60px 0;
font-size: 14px;
border-top: 1px solid #e9ecef;
}
.footer h4 {
font-size: 16px;
font-weight: bold;
position: relative;
padding-bottom: 12px;
}
.footer .footer-links ul {
list-style: none;
padding: 0;
margin: 0;
}
.footer .footer-links ul i {
padding-right: 2px;
color: var(--primary-color);
font-size: 18px;
line-height: 1;
}
.footer .footer-links ul li {
padding: 10px 0;
display: flex;
align-items: center;
}
.footer .social-links a {
font-size: 18px;
display: inline-block;
background: var(--primary-color);
color: #fff;
line-height: 1;
padding: 8px 0;
margin-right: 4px;
border-radius: 50%;
text-align: center;
width: 36px;
height: 36px;
transition: 0.3s;
}
.footer .social-links a:hover {
background: #c5a031;
color: #fff;
}
/*--------------------------------------------------------------
# Floating Widgets
--------------------------------------------------------------*/
.floating-widgets {
position: fixed;
bottom: 20px;
right: 20px;
z-index: 1000;
display: flex;
flex-direction: column;
gap: 10px;
}
.floating-btn {
display: flex;
align-items: center;
justify-content: center;
width: 60px;
height: 60px;
border-radius: 50%;
color: white;
text-align: center;
font-size: 28px;
box-shadow: 0 4px 12px rgba(0,0,0,0.15);
transition: all 0.3s ease;
}
.whatsapp-btn {
background-color: #25D366;
}
.quote-btn {
background-color: var(--primary-color);
font-size: 16px;
width: auto;
height: auto;
padding: 15px 25px;
border-radius: 30px;
font-weight: bold;
}
.quote-btn:hover, .whatsapp-btn:hover {
transform: scale(1.1);
color: white;
}

5
assets/js/main.js Normal file
View File

@ -0,0 +1,5 @@
// Custom JavaScript for Dreamz Destination
document.addEventListener('DOMContentLoaded', (event) => {
// Future JavaScript code will go here
});

290
index.php
View File

@ -1,150 +1,156 @@
<?php
declare(strict_types=1);
@ini_set('display_errors', '1');
@error_reporting(E_ALL);
@date_default_timezone_set('UTC');
$phpVersion = PHP_VERSION;
$now = date('Y-m-d H:i:s');
?>
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>New Style</title>
<?php
// Read project preview data from environment
$projectDescription = $_SERVER['PROJECT_DESCRIPTION'] ?? '';
$projectImageUrl = $_SERVER['PROJECT_IMAGE_URL'] ?? '';
?>
<?php if ($projectDescription): ?>
<!-- Meta description -->
<meta name="description" content='<?= htmlspecialchars($projectDescription) ?>' />
<!-- Open Graph meta tags -->
<meta property="og:description" content="<?= htmlspecialchars($projectDescription) ?>" />
<!-- Twitter meta tags -->
<meta property="twitter:description" content="<?= htmlspecialchars($projectDescription) ?>" />
<?php endif; ?>
<?php if ($projectImageUrl): ?>
<!-- Open Graph image -->
<meta property="og:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
<!-- Twitter image -->
<meta property="twitter:image" content="<?= htmlspecialchars($projectImageUrl) ?>" />
<?php endif; ?>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dreamz Destination - Come See The World With Us</title>
<!-- SEO Meta Tags -->
<meta name="description" content="<?php echo htmlspecialchars($_SERVER['PROJECT_DESCRIPTION'] ?? 'Luxury travel and tour packages by Dreamz Destination.'); ?>">
<meta name="keywords" content="luxury travel, tours, vacation, international tours, domestic tours">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:title" content="Dreamz Destination">
<meta property="og:description" content="<?php echo htmlspecialchars($_SERVER['PROJECT_DESCRIPTION'] ?? 'Come See The World With Us'); ?>">
<meta property="og:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? ''); ?>">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:title" content="Dreamz Destination">
<meta property="twitter:description" content="<?php echo htmlspecialchars($_SERVER['PROJECT_DESCRIPTION'] ?? 'Come See The World With Us'); ?>">
<meta property="twitter:image" content="<?php echo htmlspecialchars($_SERVER['PROJECT_IMAGE_URL'] ?? ''); ?>">
<!-- Favicons -->
<link href="assets/images/favicon.png" rel="icon">
<!-- Google Fonts -->
<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=Inter:wght@400;700&display=swap" rel="stylesheet">
<style>
:root {
--bg-color-start: #6a11cb;
--bg-color-end: #2575fc;
--text-color: #ffffff;
--card-bg-color: rgba(255, 255, 255, 0.01);
--card-border-color: rgba(255, 255, 255, 0.1);
}
body {
margin: 0;
font-family: 'Inter', sans-serif;
background: linear-gradient(45deg, var(--bg-color-start), var(--bg-color-end));
color: var(--text-color);
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
text-align: center;
overflow: hidden;
position: relative;
}
body::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M-10 10L110 10M10 -10L10 110" stroke-width="1" stroke="rgba(255,255,255,0.05)"/></svg>');
animation: bg-pan 20s linear infinite;
z-index: -1;
}
@keyframes bg-pan {
0% { background-position: 0% 0%; }
100% { background-position: 100% 100%; }
}
main {
padding: 2rem;
}
.card {
background: var(--card-bg-color);
border: 1px solid var(--card-border-color);
border-radius: 16px;
padding: 2rem;
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}
.loader {
margin: 1.25rem auto 1.25rem;
width: 48px;
height: 48px;
border: 3px solid rgba(255, 255, 255, 0.25);
border-top-color: #fff;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.hint {
opacity: 0.9;
}
.sr-only {
position: absolute;
width: 1px; height: 1px;
padding: 0; margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap; border: 0;
}
h1 {
font-size: 3rem;
font-weight: 700;
margin: 0 0 1rem;
letter-spacing: -1px;
}
p {
margin: 0.5rem 0;
font-size: 1.1rem;
}
code {
background: rgba(0,0,0,0.2);
padding: 2px 6px;
border-radius: 4px;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
footer {
position: absolute;
bottom: 1rem;
font-size: 0.8rem;
opacity: 0.7;
}
</style>
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Playfair+Display:wght@700&display=swap" rel="stylesheet">
<!-- Vendor CSS Files -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css" rel="stylesheet">
<!-- Main CSS File -->
<link href="assets/css/custom.css" rel="stylesheet">
</head>
<body>
<main>
<div class="card">
<h1>Analyzing your requirements and generating your website…</h1>
<div class="loader" role="status" aria-live="polite" aria-label="Applying initial changes">
<span class="sr-only">Loading…</span>
</div>
<p class="hint"><?= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.</p>
<p class="hint">This page will update automatically as the plan is implemented.</p>
<p>Runtime: PHP <code><?= htmlspecialchars($phpVersion) ?></code> — UTC <code><?= htmlspecialchars($now) ?></code></p>
<!-- ======= Header ======= -->
<header id="header" class="header fixed-top d-flex align-items-center">
<div class="container d-flex align-items-center justify-content-between">
<a href="index.php" class="logo d-flex align-items-center">
<h1>Dreamz Destination</h1>
</a>
<nav id="navbar" class="navbar">
<!-- Navigation links will be added here in the next step -->
<ul>
<li><a class="nav-link scrollto active" href="#hero">Home</a></li>
<li><a class="nav-link scrollto" href="#about">About</a></li>
<li><a class="nav-link scrollto" href="#services">Services</a></li>
<li><a class="nav-link scrollto" href="#portfolio">Tours</a></li>
<li><a class="nav-link scrollto" href="#team">Blog</a></li>
<li><a class="getstarted scrollto" href="#contact">Plan Your Trip</a></li>
</ul>
</nav><!-- .navbar -->
</div>
</main>
<footer>
Page updated: <?= htmlspecialchars($now) ?> (UTC)
</footer>
</header><!-- End Header -->
<!-- ======= Hero Section ======= -->
<section id="hero" class="hero">
<div class="container position-relative">
<div class="row gy-5" data-aos="fade-in">
<div class="col-lg-12 text-center">
<h1>Come See The World With Us</h1>
<p>Your journey to luxury and adventure begins here.</p>
<div class="col-md-8 offset-md-2 mt-5">
<div class="input-group input-group-lg">
<input type="text" class="form-control" placeholder="Search for your dream destination...">
<button class="btn btn-primary" type="button" id="button-addon2" style="background-color: var(--primary-color); border-color: var(--primary-color);">Search</button>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- End Hero Section -->
<main id="main">
<!-- Other sections will be added here -->
</main><!-- End #main -->
<!-- ======= Footer ======= -->
<footer id="footer" class="footer">
<div class="container">
<div class="row gy-4">
<div class="col-lg-5 col-md-12 footer-info">
<a href="index.php" class="logo d-flex align-items-center">
<span>Dreamz Destination</span>
</a>
<p>Cras fermentum odio eu feugiat lide par naso tierra. Justo eget nada terra videa magna derita valies darta donna mare fermentum iaculis eu non diam phasellus.</p>
<div class="social-links d-flex mt-4">
<a href="#" class="twitter"><i class="bi bi-twitter"></i></a>
<a href="#" class="facebook"><i class="bi bi-facebook"></i></a>
<a href="#" class="instagram"><i class="bi bi-instagram"></i></a>
<a href="#" class="linkedin"><i class="bi bi-linkedin"></i></a>
</div>
</div>
<div class="col-lg-2 col-6 footer-links">
<h4>Quick Links</h4>
<ul>
<li><i class="bi bi-chevron-right"></i> <a href="#">Home</a></li>
<li><i class="bi bi-chevron-right"></i> <a href="#">About us</a></li>
<li><i class="bi bi-chevron-right"></i> <a href="#">Services</a></li>
<li><i class="bi bi-chevron-right"></i> <a href="#">Terms of service</a></li>
<li><i class="bi bi-chevron-right"></i> <a href="#">Privacy policy</a></li>
</ul>
</div>
<div class="col-lg-2 col-6 footer-links">
<h4>Our Services</h4>
<ul>
<li><i class="bi bi-chevron-right"></i> <a href="#">Visa</a></li>
<li><i class="bi bi-chevron-right"></i> <a href="#">Accommodation</a></li>
<li><i class="bi bi-chevron-right"></i> <a href="#">Flight Booking</a></li>
<li><i class="bi bi-chevron-right"></i> <a href="#">Travel Insurance</a></li>
<li><i class="bi bi-chevron-right"></i> <a href="#">Consultation</a></li>
</ul>
</div>
<div class="col-lg-3 col-md-12 footer-contact text-center text-md-start">
<h4>Contact Us</h4>
<p>
Faridabad, Haryana<br>
India <br><br>
<strong>Phone:</strong> +1 234 5678 90<br>
<strong>Email:</strong> info@dreamzdestination.com<br>
</p>
</div>
</div>
</div>
</footer><!-- End Footer -->
<!-- ======= Floating Widgets ======= -->
<div class="floating-widgets">
<a href="https://wa.me/1234567890" target="_blank" class="floating-btn whatsapp-btn">
<i class="bi bi-whatsapp"></i>
</a>
<a href="#contact" class="floating-btn quote-btn mt-2">Quote</a>
</div>
<!-- Vendor JS Files -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
<!-- Main JS File -->
<script src="assets/js/main.js"></script>
</body>
</html>
</html>