New Design
New Design
php
session_start();
error_reporting(0);
include('includes/dbconnection.php');
?>
<!DOCTYPE html>
<html lang="zxx">
<head>
<title>Eloquente Catering Food Services</title>
<style>
/* General body styling */
body {
font-family: 'Cairo', sans-serif;
color: #333;
background-color: #f9f9f9;
margin-top: 0;
}
/* Hero Section */
.hero {
position: relative;
width: 100%;
height: 70vh; /* Larger hero section height for more
impactful images */
background-size: cover;
background-position: center center;
border-radius: 10px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
margin-top: 70px; /* Ensure the header is not hidden
behind */
}
.hero__text {
color: white;
text-align: center;
font-size: 4rem;
font-weight: bold;
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
.primary-btn {
color: white;
padding: 12px 30px;
font-size: 1.2rem;
background-color: darkred;
border: none;
border-radius: 5px;
text-decoration: none;
transition: background-color 0.3s ease, transform
0.3s ease;
}
.primary-btn:hover {
background-color: #d9534f;
transform: translateY(-3px);
}
.hero__slider img {
width: 100%;
height: auto;
border-radius: 10px;
transition: transform 0.3s ease;
}
.hero__slider img:hover {
transform: scale(1.1);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
/* Category Section */
.categories__slider {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 30px;
}
.categories__item {
width: 100%;
height: 250px;
background-size: cover;
background-position: center center;
border-radius: 15px;
display: flex;
justify-content: center;
align-items: center;
transition: transform 0.3s ease, box-shadow 0.3s
ease;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.categories__item:hover {
transform: scale(1.05);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.categories__item h5 {
color: white;
font-size: 1.5rem;
font-weight: bold;
background: rgba(0, 0, 0, 0.6);
padding: 10px 20px;
border-radius: 5px;
text-align: center;
}
.categories__item a {
text-decoration: none;
color: white;
}
/* Banner Section */
.bottom-banner {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 30px;
}
.bottom-banner .banner__pic {
width: 23%;
position: relative;
overflow: hidden;
border-radius: 10px;
}
.banner__pic img {
width: 100%;
height: 100%;
gap: 15px;
object-fit: cover;
transition: transform 0.3s ease;
.banner__pic:hover img {
transform: scale(1.1);
}
.image-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: rgba(0, 0, 0, 0.6);
color: white;
padding: 10px 20px;
font-size: 1.2rem;
font-weight: bold;
border-radius: 5px;
/* Footer Styling */
footer {
background-color: #333;
color: white;
padding: 30px 0;
}
footer a {
color: #d9534f;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
.online-catering .section-title {
font-size: 2.5rem;
font-weight: bold;
color: darkred;
margin-bottom: 20px;
}
.online-catering .section-description {
font-size: 1.2rem;
color: #555;
margin-bottom: 30px;
}
.online-catering .primary-btn {
font-size: 1.2rem;
background-color: darkred;
color: white;
padding: 12px 30px;
border-radius: 5px;
text-decoration: none;
}
.online-catering .primary-btn:hover {
background-color: #d9534f;
transform: translateY(-3px);
}
</style>
</head>
<body>
<!-- Page Preloader -->
<div id="preloder">
<div class="loader"></div>
</div>
<?php include'includes/header.php';?>
<!-- Add a new text section between the images and hero slider --
>
<div class="online-catering">
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8 text-justify">
<h2 class="section-title">Create a Stunning
Ambiance for Your Celebration</h2>
<p class="section-description">
Let us bring your vision to life! Our expert
in-house event stylists will collaborate with you to design and
execute a unique atmosphere tailored to your celebration. Whether
you're looking for a specific theme or a seamless blend of
styles, we offer a curated selection of pre-designed event
concepts for inspiration.
</p>
</div>
<div class="col-lg-8 text-center">
<a href="products.php" class="primary-
btn">Explore More</a>
</div>
</div>
</div>
</div>
<script>
$(document).ready(function(){
$(".owl-carousel").owlCarousel({
items: 1,
margin: 10,
loop: true,
autoplay: true,
autoplayTimeout: 3000,
autoplayHoverPause: true,
nav: false,
dots: true
});
});
</script>
</body>
</html>