<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Filip the Founder</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
    <link rel="stylesheet" href="assets/css/custom.css">
</head>
<body data-bs-theme="dark">

    <!-- Navbar -->
    <nav class="navbar navbar-expand-lg navbar-dark bg-dark fixed-top">
        <div class="container">
            <a class="navbar-brand" href="#">Filip F.</a>
            <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarNav">
                <ul class="navbar-nav ms-auto">
                    <li class="nav-item">
                        <a class="nav-link" href="#work">Work</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#about">About</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#testimonials">Testimonials</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="#contact">Contact</a>
                    </li>
                </ul>
            </div>
        </div>
    </nav>

    <!-- Hero Section -->
    <header id="hero" class="hero-section text-center text-white d-flex align-items-center justify-content-center">
        <div class="container">
            <h1 class="display-3">Filip the Founder</h1>
            <p class="lead">Building innovative web applications for a brighter future.</p>
            <a href="#contact" class="btn btn-primary btn-lg">Contact Me</a>
        </div>
    </header>

    <!-- Work Section -->
    <section id="work" class="py-5">
        <div class="container">
            <h2 class="text-center mb-5">My Work</h2>
            <div class="row">
                <!-- Project 1 -->
                <div class="col-md-4 mb-4">
                    <div class="card">
                        <img src="https://picsum.photos/600/400?random=1" class="card-img-top" alt="Project 1">
                        <div class="card-body">
                            <h5 class="card-title">Project One</h5>
                            <p class="card-text">A brief description of the first project, highlighting the technologies used and the problem solved.</p>
                        </div>
                    </div>
                </div>
                <!-- Project 2 -->
                <div class="col-md-4 mb-4">
                    <div class="card">
                        <img src="https://picsum.photos/600/400?random=2" class="card-img-top" alt="Project 2">
                        <div class="card-body">
                            <h5 class="card-title">Project Two</h5>
                            <p class="card-text">A brief description of the second project, highlighting the technologies used and the problem solved.</p>
                        </div>
                    </div>
                </div>
                <!-- Project 3 -->
                <div class="col-md-4 mb-4">
                    <div class="card">
                        <img src="https://picsum.photos/600/400?random=3" class="card-img-top" alt="Project 3">
                        <div class="card-body">
                            <h5 class="card-title">Project Three</h5>
                            <p class="card-text">A brief description of the third project, highlighting the technologies used and the problem solved.</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- About Section -->
    <section id="about" class="py-5 bg-dark-subtle">
        <div class="container">
            <h2 class="text-center mb-5">About Me</h2>
            <div class="row align-items-center">
                <div class="col-md-4 text-center">
                    <img src="https://picsum.photos/256/256" class="img-fluid rounded-circle mb-3" alt="Filip">
                </div>
                <div class="col-md-8">
                    <p class="lead">I'm Filip, a passionate founder and developer with a knack for creating elegant and effective web solutions. With over a decade of experience in the industry, I specialize in turning complex problems into simple, beautiful, and intuitive designs.</p>
                    <p>My goal is to build applications that not only function flawlessly but also provide a delightful user experience. I'm always excited to take on new challenges and collaborate with clients to bring their visions to life.</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Testimonials Section -->
    <section id="testimonials" class="py-5">
        <div class="container">
            <h2 class="text-center mb-5">Testimonials</h2>
            <div class="row">
                <div class="col-md-4 mb-4">
                    <div class="card">
                        <div class="card-body text-center">
                            <img src="https://picsum.photos/96/96?random=7" class="rounded-circle mb-3" alt="Testimonial 1">
                            <p class="card-text">"Filip is a true professional. The quality of his work and his dedication to our project was outstanding."</p>
                            <footer class="blockquote-footer">Jane Doe, CEO of Innovate Inc.</footer>
                        </div>
                    </div>
                </div>
                <div class="col-md-4 mb-4">
                    <div class="card">
                        <div class="card-body text-center">
                            <img src="https://picsum.photos/96/96?random=8" class="rounded-circle mb-3" alt="Testimonial 2">
                            <p class="card-text">"Working with Filip was a breeze. He understood our vision perfectly and delivered beyond our expectations."</p>
                            <footer class="blockquote-footer">John Smith, Founder of Tech Solutions</footer>
                        </div>
                    </div>
                </div>
                <div class="col-md-4 mb-4">
                    <div class="card">
                        <div class="card-body text-center">
                            <img src="https://picsum.photos/96/96?random=9" class="rounded-circle mb-3" alt="Testimonial 3">
                            <p class="card-text">"The final product was polished, and the user feedback has been overwhelmingly positive. Highly recommended!"</p>
                            <footer class="blockquote-footer">Emily White, Project Manager at Creative Minds</footer>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Contact Section -->
    <section id="contact" class="py-5 bg-dark-subtle">
        <div class="container">
            <h2 class="text-center mb-4">Contact Me</h2>
            <div class="row justify-content-center">
                <div class="col-lg-6">
                    <?php if (isset($_GET['status']) && $_GET['status'] === 'success'): ?>
                        <div class="alert alert-success" role="alert">
                            Your message has been sent successfully!
                        </div>
                    <?php elseif (isset($_GET['status']) && $_GET['status'] === 'error'): ?>
                        <div class="alert alert-danger" role="alert">
                            There was an error sending your message. Please check the form and try again.
                        </div>
                    <?php elseif (isset($_GET['status']) && $_GET['status'] === 'dberror'): ?>
                        <div class="alert alert-danger" role="alert">
                            There was a problem with the database. Please try again later.
                        </div>
                    <?php endif; ?>
                    <form id="contactForm" action="submit_contact.php" method="POST" class="needs-validation" novalidate>
                        <div class="mb-3">
                            <label for="name" class="form-label">Name</label>
                            <input type="text" class="form-control" id="name" name="name" required>
                            <div class="invalid-feedback">
                                Please enter your name.
                            </div>
                        </div>
                        <div class="mb-3">
                            <label for="email" class="form-label">Email</label>
                            <input type="email" class="form-control" id="email" name="email" required>
                            <div class="invalid-feedback">
                                Please enter a valid email address.
                            </div>
                        </div>
                        <div class="mb-3">
                            <label for="message" class="form-label">Message</label>
                            <textarea class="form-control" id="message" name="message" rows="4" required></textarea>
                            <div class="invalid-feedback">
                                Please enter your message.
                            </div>
                        </div>
                        <button type="submit" class="btn btn-primary w-100">Send Message</button>
                    </form>
                </div>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="py-4 bg-dark text-white text-center">
        <div class="container">
            <a href="#" class="text-white me-3"><i class="bi bi-github"></i></a>
            <a href="#" class="text-white me-3"><i class="bi bi-linkedin"></i></a>
            <a href="#" class="text-white"><i class="bi bi-twitter"></i></a>
            <p class="mt-3 mb-0">&copy; 2025 Filip the Founder. All Rights Reserved.</p>
        </div>
    </footer>

    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
    <script src="assets/js/main.js"></script>
</body>
</html>