<?php
include("admin/connection.php");
include('include/header.php');

?>
<style>
    .project-list-item {
        position: relative;
        flex: 0 0 33.33%;
      
        padding: 10px;
    }

    .project-list-item .project-link {
        height: 100%;
        width: 100%;
        display: block;
        text-decoration: none;
        position: relative;
    }

    .proj_list {
        height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-flow: column;
        background-size: cover;
        background-position: center center;
        position: relative;
        text-align: center;
        border: 1px solid #c08830;
        overflow: hidden;
    }

    .proj_list::before {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 1;
    }

    .proj_list h2,
    .proj_list p {
        position: relative;
        z-index: 2;
        color: #fff;
        margin: 5px 0;
    }

    .proj_list h2 {
        font-size: 28px;
        font-weight: bold;
        text-transform: uppercase;
        color: #c08830;
    }

    .proj_list p {
        font-size: 16px;
        font-weight: 500;
    }

    @media (max-width: 768px) {
        .project-list-item {
            max-width: 100%;
            flex: 0 0 100%;
        }
    }
</style>

<div class="container">
    <div class="row">
        <!-- Gurgaon -->
        <div class="col-lg-4 col-md-6">
            <div class="project-list-item">
                
                <a href="gurgaon-projects" class="project-link" target="_blank">
                    <div class="proj_list" style="background-image:url('assets/img/product/gurgaon.jpg')">
                        <h2>Gurgaon</h2>
                        <p>Luxury Properties in Gurgaon</p>
                    </div>
                </a>
            </div>
        </div>

        <!-- Delhi -->
        <div class="col-lg-4 col-md-6">
            <div class="project-list-item">
                <a href="delhi-projects" class="project-link" target="_blank">
                    <div class="proj_list" style="background-image:url('assets/img/product/delhi.jpg')">
                        <h2>Delhi</h2>
                        <p>Luxury Properties in Delhi</p>
                    </div>
                </a>
            </div>
        </div>

        <!-- Bangalore -->
        <div class="col-lg-4 col-md-6">
            <div class="project-list-item">
                <a href="bangalore-projects" class="project-link" target="_blank">
                    <div class="proj_list" style="background-image:url('assets/img/product/bangalore.jpg')">
                        <h2>Bangalore</h2>
                        <p>Luxury Properties in Bangalore</p>
                    </div>
                </a>
            </div>
        </div>
    </div>
</div>




<?php
include("include/footer.php");
?>