<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Cacti & Succulent Florist</title>
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
background-color: #f5f0e1;
color: #333;
}
.hero {
display: flex;
flex-wrap: wrap;
padding: 40px 20px;
background: linear-gradient(135deg, #a8d8b9, #f0e68c);
position: relative;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: 0; left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.1) 0%, transparent 70%),
radial-gradient(circle at 80% 80%, rgba(0,0,0,0.05) 0%, transparent 60%);
z-index: 0;
}
.hero-text {
flex: 1;
z-index: 1;
padding: 20px;
max-width: 600px;
}
.hero-text h1 {
font-family: 'Playfair Display', serif;
font-size: 3rem;
color: #2e3a2a;
margin-bottom: 10px;
text-shadow: 2px 2px 4px rgba(255,255,255,0.3);
}
.hero-text p {
font-size: 1.2rem;
color: #4b5e4a;
line-height: 1.6;
}
.hero-gallery {
flex: 1;
display: flex;
flex-direction: column;
gap: 10px;
z-index: 1;
padding: 20px;
}
.gallery-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
height: 100%;
}
.gallery-container img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 10px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.gallery-container img:hover {
transform: scale(1.05);
box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}
.gallery-container .horizontal {
grid-column: span 2;
}
@media (max-width: 768px) {
.hero {
flex-direction: column;
}
.hero-gallery {
flex-direction: row;
flex-wrap: wrap;
}
.gallery-container {
grid-template-columns: 1fr;
}
.gallery-container .horizontal {
grid-column: span 1;
}
}
</style>
</head>
<body>
<header class="hero">
<div class="hero-text">
<h1>Desert Elegance</h1>
<p>Where cacti and succulents meet artistry. Discover nature's most resilient beauty, crafted with care and designed to thrive.</p>
</div>
<div class="hero-gallery">
<div class="gallery-container">
<img src="https://source.unsplash.com/800x600/?cactus,succulent" alt="Cactus Arrangement" />
<img src="https://source.unsplash.com/800x600/?succulent,flower" alt="Succulent Bouquet" class="horizontal" />
<img src="https://source.unsplash.com/800x600/?desert,plant" alt="Desert Scene" />
</div>
</div>
</header>
<script>
// Optional: Add dynamic effects like image rotation or interaction
const images = document.querySelectorAll('.gallery-container img');
let currentIndex = 0;
function showNextImage() {
images[currentIndex].classList.remove('active');
currentIndex = (currentIndex + 1) % images.length;
images[currentIndex].classList.add('active');
}
setInterval(showNextImage, 5000);
</script>
</body>
</html>
🌵 Key Features:
- Bold Visuals: A gradient background with a subtle texture overlay evokes a desert aesthetic.
- Dynamic Gallery: Images are arranged in a responsive grid with hover effects for interactivity.
- Modern Organic Aesthetic: Earthy tones (
#a8d8b9, #f0e68c) paired with clean typography.
- Responsive Design: Adapts to mobile screens with a stacked layout.
- Artistic Touches: Abstract background patterns and shadow effects add depth.
📸 Image Sources:
Images are sourced from Unsplash for demonstration. Replace with your own high-quality images for production.
🚀 Future Enhancements:
- Add a lightbox for full-screen image viewing.
- Implement a fade-in animation for the hero text.
- Integrate a parallax effect for the background.
This design balances modern minimalism with the wild, resilient spirit of desert flora, inviting users to explore further. 🌞🌵