/* GTA‑ish dark UI with red/blue accents */

:root {
    --bg-dark: #050608;
    --bg-panel: #111218;
    --bg-card: #151824;
    --accent-red: #ff4b4b;
    --accent-blue: #36a3ff;
    --accent-yellow: #f1c40f;
    --text-main: #f5f5f5;
    --text-muted: #b0b0b0;
    --border-soft: #262939;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: radial-gradient(circle at top, #20243a 0, #050608 55%);
    color: var(--text-main);
}

/* Header / nav */

header {
    background: linear-gradient(90deg, #050608, #090b11);
    color: var(--text-main);
    padding: 14px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: 0 4px 18px rgba(0,0,0,0.7);
}

header h1 {
    margin: 0;
    font-size: 22px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

header h1 span {
    color: var(--accent-blue);
}

nav a {
    color: var(--text-muted);
    margin-left: 18px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.discord-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    background: linear-gradient(180deg, #2b2b2b 0%, #1a1a1a 100%);
    border: 2px solid #00a2ff; /* GTA neon blue */
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 162, 255, 0.4);
    transition: 0.2s ease-in-out;
}

.discord-btn:hover {
    background: linear-gradient(180deg, #3a3a3a 0%, #222222 100%);
    border-color: #4cc3ff;
    box-shadow: 0 0 18px rgba(76, 195, 255, 0.7);
    transform: translateY(-2px);
}
nav a:hover {
    color: var(--accent-red);
    border-color: var(--accent-blue);
}
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    object-fit: contain;
    cursor: pointer;
}

/* Hero */

.hero {
    background:
        linear-gradient(135deg, rgba(0,0,0,0.8), rgba(0,0,0,0.6)),
        url("https://images.unsplash.com/photo-1510342200911-88455c7f9470?auto=format&fit=crop&w=1600&q=80")
        center/cover no-repeat;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    padding: 24px 32px;
    background: rgba(5, 6, 12, 0.82);
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 12px 40px rgba(0,0,0,0.9);
}

.hero-title {
    font-size: 30px;
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-sub {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

/* Search / filter bar */

.search-container {
    background: #0b0d14;
    padding: 14px;
    margin: -26px auto 24px;
    width: 88%;
    max-width: 1000px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.85);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    border: 1px solid var(--border-soft);
}

.search-container input,
.search-container select {
    flex: 1;
    min-width: 150px;
    padding: 9px 10px;
    border-radius: 4px;
    border: 1px solid var(--border-soft);
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 13px;
}

.search-container button {
    padding: 9px 18px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-blue));
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
}

/* Page container */

.page-container {
    width: 90%;
    margin: auto;
    padding: 24px 0 40px;
}

/* Property grid */

.property-grid {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 18px;
    padding-bottom: 40px;
}

.property-card {
    background: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0,0,0,0.85);
    border: 1px solid var(--border-soft);
    text-decoration: none;
    color: var(--text-main);
    position: relative;
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.95);
    border-color: var(--accent-blue);
}

.property-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.property-tag {
    position: absolute;
    top: 10px;
    left: 10px;
	z-index: 1;
    background: rgba(5, 6, 12, 0.85);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(255,255,255,0.1);
}
.property-details {
    position: relative;
}

.detail-tag {
    position: absolute;
    top: 15px;
    right: 25px;
    background: rgba(5, 6, 12, 0.85);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid rgba(255,255,255,0.15);
}
}
.property-tag.ls {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.property-tag.bc {
    border-color: var(--accent-red);
    color: var(--accent-red);
}

.property-info {
    padding: 12px 13px 14px;
}

.property-info h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.price {
    font-size: 17px;
    font-weight: bold;
    color: var(--accent-yellow);
    margin-bottom: 4px;
}

.details {
    font-size: 20px;
    color: var(--text-muted);
}
.detail-tag.ls {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.detail-tag.bc {
    border-color: var(--accent-red);
    color: var(--accent-red);
}
/* Property details layout */

.property-details {
    background: var(--bg-panel);
    border-radius: 12px;
    padding: 18px 20px 20px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 12px 35px rgba(0,0,0,0.85);
}

.property-details h2 {
    margin-top: 14px;
    margin-bottom: 6px;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.property-meta span {
    padding: 2px 0;
}
.image-gallery {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.detail-image {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    border: 1px solid var(--border-soft);
}
/* Admin form */

.admin-form {
    background: var(--bg-panel);
    border-radius: 12px;
    padding: 18px 20px 20px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 12px 30px rgba(0,0,0,0.9);
    max-width: 600px;
}

.admin-form label {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 3px;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 9px 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid var(--border-soft);
    background: var(--bg-card);
    color: var(--text-main);
    font-size: 13px;
}

.admin-form textarea {
    resize: vertical;
}

.admin-form button {
    width: 100%;
    padding: 11px;
    background: linear-gradient(135deg, var(--accent-red), var(--accent-blue));
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Map */

.map-wrapper {
    background: var(--bg-panel);
    padding: 14px;
    border-radius: 10px;
    border: 1px solid var(--border-soft);
    box-shadow: 0 10px 30px rgba(0,0,0,0.85);
}

.map-wrapper img {
    width: 100%;
    border-radius: 8px;
}

/* Footer */

footer {
    background: #050608;
    color: var(--text-muted);
    text-align: center;
    padding: 16px;
    margin-top: 30px;
    border-top: 1px solid var(--border-soft);
    font-size: 12px;
}
.status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
}

.status-badge.sold {
    background: #ff4b4b;
}

.status-badge.unavailable {
    background: #808080;
}
.status-badge.available {
    background: #00FF00;
}

/* Responsive */

@media (max-width: 768px) {
    header {
        padding: 10px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    nav a {
        margin-left: 0;
        margin-right: 14px;
    }

    .hero {
        height: 260px;
        padding: 0 12px;
    }

    .hero-title {
        font-size: 24px;
    }

    .search-container {
        width: 94%;
    }

    .page-container {
        width: 94%;
    }
}