/* --- JAOOS LUXURY STYLESHEET --- */

/* 1. RESET & FONTS */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --gold: #d4af37;
    --gold-dim: #aa8c2c;
    --black: #050505;
    --dark-gray: #111;
    --light-gray: #f4f4f4;
    --text-gray: #aaa;
    --font-head: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

body {
    background-color: var(--black);
    color: #fff;
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
    font-family: var(--font-head);
}

a {
    text-decoration: none;
    transition: 0.3s;
    color: inherit;
}

ul {
    list-style: none;
}

.gold {
    color: var(--gold);
}

.text-center {
    text-align: center;
}

/* 2. UTILITIES */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* [NEW] 95% Width Container for Trust Section */
.container-wide {
    width: 95%;
    max-width: 1600px; /* Allows it to stretch wider on big screens */
    margin: 0 auto;
}

.section-dark {
    padding: 5rem 0;
    background: var(--dark-gray);
}

.section-black {
    padding: 5rem 0;
    background: var(--black);
}

/* 3. NAVIGATION (Sticky & Glass) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: rgba(5,5,5,0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: 700;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

    .nav-links a {
        color: #fff;
        text-transform: uppercase;
        font-size: 0.8rem;
        letter-spacing: 1px;
        font-weight: 700;
    }

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

.btn-gold {
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    padding: 0.6rem 1.5rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

    .btn-gold:hover {
        background: var(--gold);
        color: #000 !important;
    }

/* 4. HERO SECTION (Dynamic) */
.hero {
    height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.hero-home {
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('img/jaoos (1).jpg');
}

.hero-buy {
    height: 60vh;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/jaoos (2).jpg');
}

.hero-rent {
    height: 60vh;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('img/jaoos (11).jpg');
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
    animation: fadeIn 1.5s ease;
}

.hero-tag {
    letter-spacing: 4px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    color: var(--gold);
    text-transform: uppercase;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* 5. SEARCH FILTER BAR */
.search-container {
    background: rgba(0,0,0,0.8);
    border: 1px solid #333;
    padding: 1rem;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 1rem;
    border-radius: 4px;
    margin-top: 2rem;
}

.search-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

    .search-group label {
        font-size: 0.7rem;
        color: #888;
        margin-bottom: 0.3rem;
        text-transform: uppercase;
    }

.search-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #555;
    color: #fff;
    padding: 0.5rem;
    min-width: 150px;
    font-family: var(--font-body);
}

    .search-input:focus {
        outline: none;
        border-color: var(--gold);
    }

.search-btn {
    background: var(--gold);
    color: #000;
    border: none;
    padding: 0 2rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
}

/* 6. ABOUT / SPLIT SECTIONS */
.split-layout {
    display: flex;
    align-items: center;
    gap: 5%;
    margin: 2rem 0;
}

.text-block {
    flex: 1;
}

    .text-block h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        color: #fff;
    }

    .text-block p {
        color: #ccc;
        margin-bottom: 1rem;
        font-size: 1rem;
    }

.image-block {
    flex: 1;
    position: relative;
}

.image-frame {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border: 1px solid #333;
    box-shadow: 20px 20px 0px rgba(212, 175, 55, 0.1);
}

/* 7. PROPERTY GRID */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 3rem;
    border-bottom: 1px solid #222;
    padding-bottom: 1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.property-card {
    background: #0a0a0a;
    border: 1px solid #222;
    transition: 0.3s;
    position: relative;
}

    .property-card:hover {
        transform: translateY(-5px);
        border-color: var(--gold);
    }

.prop-img-container {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.prop-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.property-card:hover .prop-img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--gold);
    color: #000;
    padding: 0.3rem 0.8rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.prop-info {
    padding: 1.5rem;
}

.prop-title {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.prop-loc {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.prop-price {
    color: var(--gold);
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--font-head);
}

.specs {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #222;
    font-size: 0.85rem;
    color: #ccc;
}

    .specs li span {
        color: #666;
        margin-right: 5px;
    }

/* 8. SELL PAGE (Split Form) */
.split-screen {
    display: flex;
    min-height: 100vh;
}

.split-img {
    flex: 1;
    background: url('img/jaoos (3).jpg') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .split-img::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.6);
    }

.split-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.split-form-container {
    flex: 1;
    padding: 4rem;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-input {
    width: 100%;
    padding: 1rem;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

    .form-input:focus {
        outline: none;
        border-color: var(--gold);
    }

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gold);
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* 9. FOOTER (UPDATED LISTS) */
footer {
    background: #080808;
    border-top: 1px solid #222;
    padding: 4rem 0 2rem;
    font-size: 0.9rem;
    color: #666;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-desc {
    max-width: 300px;
    margin-top: 1rem;
    line-height: 1.8;
}

.footer h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* Footer List Styling */
.footer-list {
    list-style: none;
    padding: 0;
}

    .footer-list li {
        margin-bottom: 0.8rem;
    }

    .footer-list a {
        display: block;
        color: #888;
        text-decoration: none;
        transition: 0.3s;
        font-size: 0.9rem;
    }

        .footer-list a:hover {
            color: var(--gold);
            padding-left: 5px; /* Subtle movement effect */
        }

/* BACK LINK (For Portfolio) */
.back-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--gold);
    color: #000;
    padding: 0.8rem 1.5rem;
    font-weight: 700;
    border-radius: 4px;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

@media(max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .split-layout, .split-screen, .footer-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }
    /* Simplified for demo */
    .image-frame {
        height: 300px;
    }

    .container-wide {
        width: 90%;
    }
    /* Revert to standard on mobile */
}
