Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
- <title>Steve's PC Repair</title>
- <style>
- /* Reset & Base Styles */
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body {
- font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
- line-height: 1.6;
- color: #333;
- background: #f4f4f4;
- }
- /* Nav Bar */
- header {
- background: #1a1a1a;
- color: #fff;
- padding: 1rem 2rem;
- position: sticky;
- top: 0;
- z-index: 1000;
- }
- nav a {
- color: #fff;
- margin: 0 1rem;
- text-decoration: none;
- font-weight: 500;
- }
- nav a:hover {
- text-decoration: underline;
- }
- /* Hero Section */
- .hero {
- background: linear-gradient(135deg, #2980b9, #6dd5fa);
- color: white;
- padding: 4rem 2rem;
- text-align: center;
- }
- .hero h1 {
- font-size: 3rem;
- margin-bottom: 1rem;
- }
- .hero p {
- font-size: 1.2rem;
- margin-bottom: 2rem;
- }
- .hero a {
- background: #fff;
- color: #2980b9;
- padding: 0.8rem 1.5rem;
- border-radius: 5px;
- text-decoration: none;
- font-weight: bold;
- transition: background 0.3s;
- }
- .hero a:hover {
- background: #f0f0f0;
- }
- /* Services Section */
- .services {
- padding: 4rem 2rem;
- background: white;
- }
- .services h2 {
- text-align: center;
- margin-bottom: 3rem;
- color: #2980b9;
- }
- .service-cards {
- display: flex;
- flex-wrap: wrap;
- justify-content: center;
- gap: 2rem;
- max-width: 1200px;
- margin: 0 auto;
- }
- .card {
- background: #f9f9f9;
- border-radius: 10px;
- padding: 2rem;
- width: 300px;
- text-align: center;
- box-shadow: 0 4px 10px rgba(0,0,0,0.05);
- transition: transform 0.3s;
- }
- .card:hover {
- transform: translateY(-10px);
- }
- .card i {
- font-size: 3rem;
- margin-bottom: 1rem;
- }
- /* About Section */
- .about {
- padding: 4rem 2rem;
- background: #f4f4f4;
- text-align: center;
- }
- .about h2 {
- color: #2980b9;
- margin-bottom: 2rem;
- }
- .about-content {
- max-width: 800px;
- margin: 0 auto;
- display: flex;
- flex-wrap: wrap;
- gap: 2rem;
- align-items: center;
- justify-content: center;
- }
- .about-content img {
- width: 100%;
- max-width: 400px;
- border-radius: 10px;
- box-shadow: 0 4px 10px rgba(0,0,0,0.1);
- }
- .about-text {
- max-width: 500px;
- }
- /* Contact Section */
- .contact {
- padding: 4rem 2rem;
- background: white;
- }
- .contact h2 {
- text-align: center;
- margin-bottom: 3rem;
- color: #2980b9;
- }
- .contact-form {
- max-width: 700px;
- margin: 0 auto;
- background: #fafafa;
- padding: 2rem;
- border-radius: 10px;
- box-shadow: 0 4px 10px rgba(0,0,0,0.05);
- }
- .contact-form input,
- .contact-form textarea {
- width: 100%;
- padding: 0.8rem;
- margin-bottom: 1rem;
- border: 1px solid #ccc;
- border-radius: 5px;
- }
- .contact-form button {
- background: #2980b9;
- color: white;
- padding: 0.8rem 1.5rem;
- border: none;
- border-radius: 5px;
- cursor: pointer;
- transition: background 0.3s;
- }
- .contact-form button:hover {
- background: #1c5980;
- }
- /* Footer */
- footer {
- background: #1a1a1a;
- color: #fff;
- text-align: center;
- padding: 2rem;
- font-size: 0.9rem;
- }
- /* Responsive Design */
- @media (max-width: 768px) {
- .hero h1 {
- font-size: 2.2rem;
- }
- .service-cards {
- flex-direction: column;
- align-items: center;
- }
- .about-content {
- flex-direction: column;
- }
- }
- </style>
- </head>
- <body>
- <!-- Navigation -->
- <header>
- <nav>
- <a href="#services">Services</a>
- <a href="#about">About</a>
- <a href="#contact">Contact</a>
- </nav>
- </header>
- <!-- Hero Section -->
- <section class="hero">
- <h1>Steve's PC Repair</h1>
- <p>Professional, Fast & Affordable Computer Repair Services</p>
- <a href="#contact">Get a Quote</a>
- </section>
- <!-- Services Section -->
- <section class="services" id="services">
- <h2>Our Services</h2>
- <div class="service-cards">
- <div class="card">
- <i>⚙️</i>
- <h3>Hardware Repair</h3>
- <p>Expert repair for laptops, desktops, and peripherals.</p>
- </div>
- <div class="card">
- <i>💡</i>
- <h3>Software Support</h3>
- <p>OS installation, virus removal, and system optimization.</p>
- </div>
- <div class="card">
- <i>🛡️</i>
- <h3>Security Solutions</h3>
- <p>Malware removal and network security setup.</p>
- </div>
- </div>
- </section>
- <!-- About Section -->
- <section class="about" id="about">
- <h2>About Steve</h2>
- <div class="about-content">
- <img src="https://picsum.photos/400/300" alt="Steve at work" />
- <div class="about-text">
- <p>Hi! I'm Steve, a certified PC technician with over 10 years of experience in hardware and software repair. I provide personalized, reliable services to keep your technology running smoothly.</p>
- <p>My workshop is equipped with state-of-the-art tools, and I guarantee quality work with a 90-day warranty on all repairs.</p>
- </div>
- </div>
- </section>
- <!-- Contact Section -->
- <section class="contact" id="contact">
- <h2>Contact Us</h2>
- <div class="contact-form">
- <form action="#" method="POST">
- <input type="text" name="name" placeholder="Your Name" required />
- <input type="email" name="email" placeholder="Your Email" required />
- <textarea name="message" rows="5" placeholder="Describe your issue..." required></textarea>
- <button type="submit">Send Message</button>
- </form>
- <p style="text-align:center; margin-top:1rem;">
- <strong>Email:</strong> [email protected] | <strong>Phone:</strong> (555) 123-4567
- </p>
- </div>
- </section>
- <!-- Footer -->
- <footer>
- <p>© 2025 Steve's PC Repair. All rights reserved.</p>
- </footer>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement