:root {
    --primary: #d4a761;
    --primary-light: #f7e1b5;
    --dark-bg: #0f141a;
    --faint-gray: rgba(255, 255, 255, 0.05);
    --text-white: #ffffff;
    --text-dim: #94a3b8;
    --glass: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header & Navbar - Bulletproof */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: rgba(15, 20, 26, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo img {
    height: 70px;
    width: auto;
    display: block;
}

/* Menu Toggle Button - Desktop Hidden */
.menu-btn {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    z-index: 1100;
}

.nav-links ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links ul li {
    margin-left: 20px;
    position: relative;
    padding: 10px 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: 0.3s;
}

.nav-links a:hover,
.active-link {
    color: var(--primary);
}

/* Dropdown Content - Properly Hidden */
.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: #111822;
    min-width: 220px;
    border-radius: 8px;
    padding: 10px 0;
    display: none;
    /* Bulletproof hidden */
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass);
    z-index: 2000;
}

.dropdown:hover .dropdown-content {
    display: flex;
    /* Show only on hover */
}

.dropdown-content a {
    padding: 15px 25px;
    font-size: 0.8rem;
    color: var(--text-dim) !important;
    text-transform: none;
    letter-spacing: normal;
    display: block;
    width: 100%;
}

.dropdown-content a:hover {
    color: var(--primary) !important;
    background: var(--faint-gray);
}

/* Hero Section */
.hero {
    height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(15, 20, 26, 0.85), rgba(15, 20, 26, 0.85)), url('images/hero.png');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero h1 {
    font-size: 4rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Footer Eliteness & Alignment Fix */
footer {
    background: #090c10;
    padding: 100px 8% 40px;
    border-top: 2px solid var(--primary);
}

.footer-wrap {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 25px;
}

.footer-info p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 25px;
    padding-right: 40px;
}

.social-links a {
    color: var(--primary);
    font-size: 1.3rem;
    margin-right: 20px;
    transition: 0.3s;
}

.social-links a:hover {
    color: white;
    transform: translateY(-3px);
    display: inline-block;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--primary);
    margin-bottom: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links a {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 0.95rem;
    transition: 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    color: var(--text-dim);
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    color: var(--primary);
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid var(--glass);
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .footer-wrap {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    header {
        height: 90px;
    }

    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background: #111822;
        padding: 40px;
        display: none;
        /* Managed by JS Class */
        border-bottom: 2px solid var(--primary);
    }

    .nav-links.mobile-active {
        display: block;
    }

    .nav-links ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links ul li {
        margin: 15px 0;
        width: 100%;
    }

    .dropdown:hover .dropdown-content {
        display: block;
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-wrap {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-info p {
        padding-right: 0;
    }

    .footer-contact p {
        justify-content: center;
    }
}

.btn-gold {
    background: var(--primary);
    color: #000;
    padding: 18px 45px;
    border: none;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-gold:hover {
    background: #fff;
    transform: translateY(-3px);
}

/* --- Specialized Property Feed --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 40px;
    padding: 80px 0;
    width: 100%;
}

.property-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    /* For uniform height logic */
    height: 100%;
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.property-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: #000;
    padding: 6px 15px;
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 4px;
    z-index: 10;
    text-transform: uppercase;
}

.property-thumb {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid var(--glass);
}

.property-details-list {
    border-top: 1px solid var(--glass);
    border-bottom: 1px solid var(--glass);
    padding: 20px 0;
    margin-bottom: 25px;
    display: grid;
    gap: 12px;
}

.spec-item {
    color: var(--text-dim);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.spec-item i {
    margin-right: 15px;
    width: 20px;
    color: var(--primary);
    text-align: center;
}

.spec-item b {
    color: white;
    margin-right: 8px;
}

.card-content-wrap {
    flex-grow: 1;
    /* Pushes button to bottom */
}

/* --- Contact Us Page Specialized Layout --- */
.contact-container {
    padding: 120px 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    align-items: start;
}

.contact-info h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 30px;
    background: linear-gradient(to right, var(--primary), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info p.description {
    font-size: 1.15rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 50px;
    max-width: 500px;
}

.contact-list {
    list-style: none;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 35px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass);
    border-radius: 12px;
    transition: 0.3s;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateX(10px);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 25px;
    width: 30px;
    text-align: center;
}

.contact-item-text span {
    display: block;
    color: var(--text-dim);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.contact-item-text strong {
    font-size: 1.1rem;
    color: #fff;
}

.contact-form-wrap {
    background: var(--glass);
    padding: 60px;
    border-radius: 24px;
    border: 1px solid var(--glass);
    backdrop-filter: blur(10px);
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass);
    padding: 18px 25px;
    color: #fff;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 0, 0, 0.5);
}

@media (max-width: 1024px) {
    .contact-grid {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 80px;
    }

    .contact-info h2 {
        font-size: 2.5rem;
    }

    .contact-form-wrap {
        padding: 40px 30px;
    }
}