* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    background-color: #FAF9F6;
}

    .content{
        display: grid;
    }

        /* Navigation Bar */
        .navigation-bar {
            width: 100%;
            background-color: ghostwhite;
            position: sticky;
            top: -50px;
            transition: transform 0.3s ease;
            z-index: 1000;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        }

            /* Top Bar */
            .navigation-topbar {
                min-height: 50px;
                width: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 10px 30px;
                background-color: ghostwhite;
                border-bottom: 1px solid #e0e0e0;
                flex-wrap: wrap;
                gap: 10px;
            }

                .contact-email {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    font-size: 14px;
                    color: #555;
                    transition: color 0.3s;
                }

                    .contact-email:hover {
                        color: #D27D2D;
                    }

                .social-media-contact {
                    display: flex;
                    align-items: center;
                    gap: 0;
                }

                    .social-icon {
                        width: 60px;
                        height: 32px;
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        transition: transform 0.3s;
                        cursor: pointer;
                        border-right: 1px solid #ddd;
                    }

                        .social-icon:hover {
                            transform: translateY(-2px);
                        }

                        .social-icon img {
                            width: 24px;
                            height: 24px;
                        }

                    .phone-contact {
                        display: flex;
                        align-items: center;
                        gap: 5px;
                        text-decoration: none;
                        color: #555;
                        font-size: 14px;
                        font-weight: 500;
                        padding-left: 15px;
                        transition: color 0.3s;
                    }

                        .phone-contact:hover {
                            color: #D27D2D;
                        }

            /* Main Navigation */
            .navigation-menu {
                min-height: 80px;
                width: 100%;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 15px 40px;
                background-color: ghostwhite;
            }

                .menu-info {
                    text-align: center;
                }

                    .menu-info a {
                        text-decoration: none;
                        color: #333;
                        font-size: 16px;
                        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
                        font-weight: 600;
                        line-height: 1.6;
                        transition: color 0.3s;
                    }

                    .menu-info a:hover {
                        color: #D27D2D;
                    }

            /* Hamburger Menu Button */
            .hamburger {
                display: none;
                flex-direction: column;
                gap: 5px;
                cursor: pointer;
                padding: 10px;
            }

            .hamburger span {
                width: 30px;
                height: 3px;
                background-color: #333;
                transition: 0.3s;
            }

            .hamburger.active span:nth-child(1) {
                transform: rotate(45deg) translate(8px, 8px);
            }

            .hamburger.active span:nth-child(2) {
                opacity: 0;
            }

            .hamburger.active span:nth-child(3) {
                transform: rotate(-45deg) translate(8px, -8px);
            }

                /* Menu Items */
                .menu ul {
                    display: flex;
                    gap: 40px;
                    list-style: none;
                    align-items: center;
                }

                .menu ul li {
                    position: relative;
                }

                    .menu ul li a,
                    .menu ul li p {
                        text-decoration: none;
                        color: #333;
                        font-size: 15px;
                        font-weight: 500;
                        cursor: pointer;
                        padding: 8px 0;
                        transition: color 0.3s;
                        position: relative;
                    }

                    .menu ul li a::after,
                    .menu ul li p::after {
                        content: '';
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        width: 0;
                        height: 2px;
                        background-color: #D27D2D;
                        transition: width 0.3s;
                    }

                    .menu ul li a:hover,
                    .menu ul li p:hover {
                        color: #D27D2D;
                    }

                    .menu ul li a:hover::after,
                    .menu ul li p:hover::after {
                        width: 100%;
                    }

            /* Dropdown Menu */
            .sub-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: -20px;
                background-color: white;
                min-width: 200px;
                border-radius: 8px;
                box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
                padding: 10px 0;
                margin-top: 0;
                opacity: 0;
                transform: translateY(-10px);
                transition: opacity 0.3s, transform 0.3s;
            }

                .menu ul li:hover .sub-menu {
                    display: block;
                    opacity: 1;
                    transform: translateY(0);
                }

                .sub-menu ul {
                    display: flex;
                    flex-direction: column;
                    gap: 0;
                }

                    .sub-menu ul li {
                        width: 100%;
                    }

                    .sub-menu ul li a {
                        display: block;
                        padding: 12px 24px;
                        font-size: 14px;
                        color: #555;
                        transition: background-color 0.2s, color 0.2s;
                    }

                    .sub-menu ul li a::after {
                        display: none;
                    }

                    .sub-menu ul li a:hover {
                        background-color: #f8f8f8;
                        color: #D27D2D;
                        padding-left: 28px;
                    }

        /* Mobile Styles */
        @media (max-width: 1024px) {
            .navigation-topbar {
                padding: 10px 20px;
                font-size: 12px;
            }

            .social-media-contact {
                gap: 10px;
            }

            .social-icon {
                width: 28px;
                height: 28px;
            }

            .social-icon img {
                width: 20px;
                height: 20px;
            }

            .phone-contact {
                font-size: 12px;
                padding-left: 10px;
            }

            .navigation-menu {
                padding: 15px 20px;
            }

            .hamburger {
                display: flex;
            }

            .menu {
                position: fixed;
                top: 80px;
                right: -100%;
                width: 300px;
                height: calc(100vh - 130px);
                background-color: white;
                transition: right 0.3s;
                box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
                overflow-y: auto;
            }

            .menu.active {
                right: 0;
            }

            .menu ul {
                flex-direction: column;
                gap: 0;
                padding: 20px 0;
            }

            .menu ul li {
                width: 100%;
                border-bottom: 1px solid #f0f0f0;
            }

            .menu ul li a,
            .menu ul li p {
                display: block;
                padding: 15px 30px;
                font-size: 16px;
            }

            .menu ul li a::after,
            .menu ul li p::after {
                display: none;
            }

            .sub-menu {
                position: static;
                box-shadow: none;
                border-radius: 0;
                margin-top: 0;
                padding: 0;
                background-color: #f8f8f8;
            }

            .menu ul li:hover .sub-menu {
                display: none;
            }

            .menu ul li.active .sub-menu {
                display: block;
                opacity: 1;
                transform: none;
            }
        }

        @media (max-width: 600px) {
            .navigation-topbar {
                display: none;
            }

            .navigation-bar {
                position: sticky;
                top: 0;
                left: 0;
                right: 0;
            }

            .navigation-menu {
                padding: 15px 20px;
                min-height: 70px;
            }

            .menu {
                position: absolute; /* Use absolute instead of fixed */
                top: 100%; /* Place it just below the navigation-menu */
                right: -60%; /* Hide it to the right initially */
                width: 60%; /* Only cover half the screen */
                height: calc(100vh - 70px); /* Height excluding navbar */
                background-color: ghostwhite;
                transition: right 0.3s ease;
                z-index: 900; /* lower than navbar */
                border-left: 1px solid #D27D2D;
            }

            .menu ul li a,
            .menu ul li p {
                padding: 14px 25px;
                font-size: 15px;
            }

            .sub-menu ul li a {
                padding: 10px 40px;
                font-size: 13px;
            }

            .sub-menu ul li a:hover {
                padding-left: 45px;
            }
        }
        
        /**/                    
        .body_content {
            width: 100%;
            padding: 40px 20px;
            min-height: 600px;
            background-color: ghostwhite;
        }

            .title {
                text-align: center;
                margin-bottom: 40px;
            }

                .title p {
                    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
                    font-size: 42px;
                    font-weight: 600;
                    color: #333;
                    letter-spacing: 1px;
                }

            .condominium_details {
                max-width: 1400px;
                margin: 0 auto;
                display: grid;
                grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
                gap: 30px;
                padding: 0 20px;
            }

                .detail-container {
                    display: flex;
                    justify-content: center;
                }

                    .detailbox {
                        width: 100%;
                        max-width: 380px;
                        background-color: white;
                        border-radius: 12px;
                        overflow: hidden;
                        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
                        transition: transform 0.3s ease, box-shadow 0.3s ease;
                    }

                    .detailbox:hover {
                        transform: translateY(-8px);
                        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
                    }

                    .detailbox ul {
                        padding: 0;
                        margin: 0;
                    }

                    .detailbox ul li {
                        list-style: none;
                    }

                    .detailbox ul li img {
                        width: 100%;
                        height: 250px;
                        object-fit: cover;
                        display: block;
                    }

                        .property-info {
                            padding: 20px;
                        }

                        .detailbox ul li p {
                            padding: 8px 0;
                            font-size: 15px;
                            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
                            color: #555;
                            line-height: 1.5;
                        }

                        .property-name {
                            font-weight: 600;
                            font-size: 18px !important;
                            color: #333 !important;
                            margin-bottom: 5px;
                        }

                        .property-location {
                            color: #666 !important;
                            font-size: 14px !important;
                        }

                        .property-price {
                            font-weight: 600;
                            font-size: 16px !important;
                            margin-top: 10px;
                        }

                        .property-status {
                            display: inline-block;
                            padding: 5px 12px;
                            background-color: #D27D2D;
                            color: white;
                            border-radius: 20px;
                            font-size: 12px !important;
                            margin-top: 5px;
                        }
                        .property-new-tag {
                            display: inline-block;
                            padding: 5px 12px;
                            background-color: #2196F3; /* A nice blue color */
                            color: white;
                            border-radius: 20px;
                            font-size: 12px !important;
                            font-weight: 500;
                            margin-top: 5px;
                            margin-left: 5px; /* Add some space next to the status tag */
                        }

        @media (max-width: 768px) {
            .title p {
                font-size: 32px;
            }

            .condominium_details {
                grid-template-columns: 1fr;
                gap: 20px;
            }
        }