{% extends "base.html" %}
{% load i18n %}
{% load static %}
{% block title %}{{ _("Welcome to Our App") }}{% endblock title %}

{% block content %}
<style>
.hero-section img {
    object-fit: cover;
    height: 400px;
}

.overlay {
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
    </style>
    
<div class="container-fluid p-0">
    <!-- Hero Section -->
    <div class="hero-section position-relative text-white text-center bg-dark">
        <img src="{% static 'images/hero_02.png' %}" alt="" class="img-fluid w-100">
        <div class="overlay position-absolute top-0 start-0 w-100 h-100 bg-dark bg-opacity-50 d-flex flex-column justify-content-center align-items-center">
            <h1 class="display-4 fw-bold">{{ _("Welcome to ") }}{{ _('HAIKAL') }}</h1>
            <p class="lead">{{ _("Discover a seamless way to manage your cars, reservations, and inventory like never before!") }}</p>
            <a href="{% url 'signup' %}" class="btn btn-primary btn-lg mt-3">{{ _("Get Started") }}</a>
        </div>
    </div>

    <!-- Features Section -->
    <div class="container my-3">
        <div class="row text-center">
            <h2 class="mb-2">{{ _("Why Choose Haikal?") }}</h2>
            <div class="col-md-4">
                <div class="icon mb-3">
                    <i class="bi bi-speedometer2 fs-1 text-primary"></i>
                </div>
                <h4>{{ _("Fast and Efficient") }}</h4>
                <p>{{ _("Haikal is optimized for speed and ease of use, saving you time and effort.") }}</p>
            </div>
            <div class="col-md-4">
                <div class="icon mb-2">
                    <i class="bi bi-shield-check fs-1 text-success"></i>
                </div>
                <h4>{{ _("Secure and Reliable") }}</h4>
                <p>{{ _("Your data is protected with industry-standard security and encryption.") }}</p>
            </div>
            <div class="col-md-4">
                <div class="icon mb-3">
                    <i class="bi bi-bar-chart-line fs-1 text-warning"></i>
                </div>
                <h4>{{ _("Detailed Insights") }}</h4>
                <p>{{ _("Gain valuable insights into your inventory and performance with our analytics tools.") }}</p>
            </div>
        </div>
    </div>

    <!-- Call-to-Action Section -->
    <div class="bg-light py-5 text-center">
        <h3>{{ _("Ready to take control of your inventory?") }}</h3>
        <a href="{% url 'signup' %}" class="btn btn-success btn-lg mt-3">{{ _("Join Us Today") }}</a>
    </div>
</div>
{% endblock %}