<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Floor Plan</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Arial, sans-serif;
        }
        body {
            background-color: #1a242f;
            color: white;
        }
        .container {
            display: flex;
            height: 100vh;
        }
        .sidebar {
            width: 30%;
            background-color: #222;
            padding: 20px;
            display: flex;
            flex-direction: column;
        }
        .sidebar h1 {
            font-size: 24px;
            margin-bottom: 20px;
        }
        .sidebar ul {
            list-style: none;
        }
        .sidebar ul li {
            font-size: 18px;
            padding: 15px;
            border-bottom: 1px solid gray;
            cursor: pointer;
            transition: background 0.3s;
        }
        .sidebar ul li:hover {
            background: #444;
        }
        .content {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            background-color: #1a242f;
        }
        .content img {
            max-width: 80%;
            max-height: 80vh;
            border-radius: 5px;
            display: none;
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- Left Sidebar -->
        <div class="sidebar">
            <h1>FLOOR PLAN</h1>
            <ul>
                <li onclick="showImage('stilt')">STILT FLOOR PLAN</li>
                <li onclick="showImage('basement')">BASEMENT FLOOR PLAN</li>
                <li onclick="showImage('typical')">TYPICAL FLOOR PLAN</li>
                <li onclick="showImage('terrace')">TERRACE FLOOR PLAN</li>
            </ul>
        </div>

        <!-- Right Content (Image Display) -->
        <div class="content">
            <img id="floorPlanImage" src="" alt="Floor Plan Image">
        </div>
    </div>

    <script>
        function showImage(planType) {
            const imageMap = {
                "stilt": "https://storage.googleapis.com/a1aa/image/Gq7LqxC-ccgFK5s1p-fqUic2epbyoKFE0zzaFyl-zRo.jpg",
                "basement": "https://storage.googleapis.com/a1aa/image/siZ37WpIXda9xXv-vZ16DCryo688Z4wjIPVzHjzjgRY.jpg",
                "typical": "https://storage.googleapis.com/a1aa/image/4h2qt2L4k6LH28G7VvodhX8zG4DS4Kqxe6QdkEd9MSU.jpg",
                "terrace": "https://storage.googleapis.com/a1aa/image/NKUkIg6glOY3Y9GEtoabrJkcFCRhNcUUHPk7ETFdWjg.jpg"
            };
            
            const imageElement = document.getElementById("floorPlanImage");
            imageElement.src = imageMap[planType];
            imageElement.style.display = "block";
        }
    </script>
</body>
</html>
