<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple HTML Website</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
line-height: 1.6;
color: #333;
background-color: #f9f9f9;
}
.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
}
/* Header Styles */
header {
background-color: #2c3e50;
color: white;
padding: 1rem 0;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.header-container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 1.8rem;
font-weight: bold;
}
nav ul {
display: flex;
list-style: none;
}
nav ul li {
margin-left: 2rem;
}
nav ul li a {
color: white;
text-decoration: none;
transition: color 0.3s;
}
nav ul li a:hover {
color: #3498db;
}
/* Hero Section */
.hero {
background: linear-gradient(135deg, #3498db, #2c3e50);
color: white;
padding: 5rem 0;
text-align: center;
}
.hero h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
.hero p {
font-size: 1.2rem;
max-width: 700px;
margin: 0 auto 2rem;
}
.btn {
display: inline-block;
background: #e74c3c;
color: white;
padding: 0.8rem 1.5rem;
text-decoration: none;
border-radius: 5px;
font-weight: bold;
transition: background 0.3s;
}
.btn:hover {
background: #c0392b;
}
/* Features Section */
.features {
padding: 5rem 0;
background-color: white;
}
.section-title {
text-align: center;
margin-bottom: 3rem;
}
.section-title h2 {
font-size: 2.5rem;
color: #2c3e50;
margin-bottom: 1rem;
}
.section-title p {
color: #7f8c8d;
max-width: 700px;
margin: 0 auto;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.feature-card {
background: #f8f9fa;
padding: 2rem;
border-radius: 5px;
text-align: center;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
transition: transform 0.3s;
}
.feature-card:hover {
transform: translateY(-5px);
}
.feature-icon {
font-size: 2.5rem;
color: #3498db;
margin-bottom: 1rem;
}
.feature-card h3 {
margin-bottom: 1rem;
color: #2c3e50;
}
/* About Section */
.about {
padding: 5rem 0;
background-color: #f1f2f6;
}
.about-content {
display: flex;
align-items: center;
gap: 3rem;
}
.about-text {
flex: 1;
}
.about-image {
flex: 1;
border-radius: 5px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.about-image img {
width: 100%;
height: auto;
display: block;
}
/* Contact Section */
.contact {
padding: 5rem 0;
background-color: white;
}
.contact-form {
max-width: 600px;
margin: 0 auto;
}
.form-group {
margin-bottom: 1.5rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
font-weight: bold;
}
.form-control {
width: 100%;
padding: 0.8rem;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 1rem;
}
textarea.form-control {
min-height: 150px;
resize: vertical;
}
/* Footer */
footer {
background-color: #2c3e50;
color: white;
padding: 2rem 0;
text-align: center;
}
.footer-content {
display: flex;
flex-direction: column;
align-items: center;
}
.social-links {
margin: 1rem 0;
}
.social-links a {
color: white;
margin: 0 0.5rem;
font-size: 1.2rem;
}
/* Responsive Design */
@media (max-width: 768px) {
.header-container {
flex-direction: column;
text-align: center;
}
nav ul {
margin-top: 1rem;
flex-wrap: wrap;
justify-content: center;
}
nav ul li {
margin: 0.5rem;
}
.hero h1 {
font-size: 2.2rem;
}
.about-content {
flex-direction: column;
}
}
</style>
</head>
<body>
<!-- Header -->
<header>
<div class="container header-container">
<div class="logo">SimpleSite</div>
<nav>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#features">Features</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
</div>
</header>
<!-- Hero Section -->
<section class="hero" id="home">
<div class="container">
<h1>Welcome to Our Simple Website</h1>
<p>A clean, responsive HTML website template that you can customize for your needs.</p>
<a href="#features" class="btn">Learn More</a>
</div>
</section>
<!-- Features Section -->
<section class="features" id="features">
<div class="container">
<div class="section-title">
<h2>Our Features</h2>
<p>Discover what makes our website template stand out from the rest.</p>
</div>
<div class="features-grid">
<div class="feature-card">
<div class="feature-icon">📱</div>
<h3>Responsive Design</h3>
<p>Looks great on all devices from desktop to mobile with a clean, modern interface.</p>
</div>
<div class="feature-card">
<div class="feature-icon">⚡</div>
<h3>Fast Loading</h3>
<p>Optimized for performance with minimal code and fast loading times.</p>
</div>
<div class="feature-card">
<div class="feature-icon">🎨</div>
<h3>Easy Customization</h3>
<p>Simple structure that's easy to modify and adapt to your specific needs.</p>
</div>
</div>
</div>
</section>
<!-- About Section -->
<section class="about" id="about">
<div class="container">
<div class="section-title">
<h2>About Us</h2>
<p>Learn more about our mission and values.</p>
</div>
<div class="about-content">
<div class="about-text">
<h3>Our Story</h3>
<p>We believe in creating simple, effective solutions that solve real problems. Our approach focuses on clean design, user experience, and functionality.</p>
<p>With years of experience in web development, we've created this template to help others get started quickly with their projects.</p>
<a href="#contact" class="btn">Get in Touch</a>
</div>
<div class="about-image">
<!-- Using a placeholder image -->
<img src="https://images.unsplash.com/photo-1522202176988-66273c2fd55f?ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=80" alt="Team working">
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section class="contact" id="contact">
<div class="container">
<div class="section-title">
<h2>Contact Us</h2>
<p>Have questions? We'd love to hear from you.</p>
</div>
<div class="contact-form">
<form>
<div class="form-group">
<label for="name">Name</label>
<input type="text" id="name" class="form-control" placeholder="Your Name">
</div>
<div class="form-group">
<label for="email">Email</label>
<input type="email" id="email" class="form-control" placeholder="Your Email">
</div>
<div class="form-group">
<label for="message">Message</label>
<textarea id="message" class="form-control" placeholder="Your Message"></textarea>
</div>
<button type="submit" class="btn">Send Message</button>
</form>
</div>
</div>
</section>
<!-- Footer -->
<footer>
<div class="container">
<div class="footer-content">
<p>© 2023 SimpleSite. All rights reserved.</p>
<div class="social-links">
<a href="#">Facebook</a>
<a href="#">Twitter</a>
<a href="#">Instagram</a>
<a href="#">LinkedIn</a>
</div>
</div>
</div>
</footer>
</body>
</html>