/* ======================================================
   GLOBAL RESET / BASE
====================================================== */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: #111;
    color: #f5f5f5;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main {
    min-height: auto;
}


/* ======================================================
   HEADER (TOP LOGO AREA)
====================================================== */

.site-header {
    background: linear-gradient(to bottom, #3a3a3a, #2f2f2f);
    text-align: center;
    padding: 15px 0 8px;
}

.site-logo {
    height: 120px;
    opacity: 0.85;
}

.site-title {
    font-size: 1.6rem;
    font-weight: 500;
    margin-top: 10px;
    letter-spacing: 0.5px;
    color: #eaeaea;
}


/* ======================================================
   NAVBAR
====================================================== */

.site-nav {
    background: #3a3a3a;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-nav .nav-link {
    color: #dcdcdc !important;
    padding: 12px 18px;
    font-size: 0.95rem;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
    color: #ffffff !important;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.3);
}

.navbar-toggler-icon {
    filter: invert(1);
}


/* ======================================================
   HERO SECTION
====================================================== */

.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-glass {
    background: rgba(255,255,255,0.08);
	    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 40px;
    border-radius: 20px;
    color: white;
    max-width: 600px;
    width: 90%;
}

.hero-glass h1 {
    font-size: 2.5rem;
    font-weight: 500;
}

.hero-glass p {
    margin-top: 10px;
    opacity: 0.85;
}
.public-home {
    background: url('/assets/images/hero.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ======================================================
   PUBLIC HOME SPECIFIC
====================================================== */

body.public-home {
    background: #000;
}

body.public-home main {
    padding: 0;
    margin: 0;
    background: transparent;
}


/* ======================================================
   FOOTER
====================================================== */

.site-footer {
    background: rgba(0,0,0,0.9);
    color: #aaa;
    padding: 25px 0;
    text-align: center;
    margin-top: 0;
}

.site-footer a {
    color: #aaa;
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}


/* ======================================================
   DROPDOWN STYLING
====================================================== */

.dropdown-menu {
    background: #2f2f2f;
    border: 1px solid rgba(255,255,255,0.08);
}

.dropdown-item {
    color: #ddd;
}

.dropdown-item:hover {
    background: #3a3a3a;
    color: #fff;
}


/* ======================================================
   CONTENT PAGES (NON-HOME)
====================================================== */

.page-container {
    padding: 50px 20px;
}


/* ======================================================
   UTILITIES
====================================================== */

.text-muted-light {
    color: rgba(255,255,255,0.6);
}
/* =========================================
   Classifieds Meta Text
========================================= */

.listing-meta {
    color: #b8c2d1;   /* soft light blue-grey */
    font-size: 0.95rem;
    margin-bottom: 10px;
}
/* ---------------------------------------
   Sold Listings Styling
---------------------------------------- */

.card.sold-card {
    opacity: 0.65;
    transition: opacity 0.2s ease;
}

.card.sold-card:hover {
    opacity: 0.85;
}

.card.sold-card .card-body {
    background-color: rgba(255, 193, 7, 0.05);
}
/* ==========================================================
   SPN FORM INSIDE HERO
   ========================================================== */

.spn-form {
    max-width: 420px;
    margin: 0 auto;
}

.spn-form .form-label {
    color: #ffffff;
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.spn-form .form-control {
    background-color: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #ffffff;
}

.spn-form .form-control:focus {
    background-color: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
    box-shadow: none;
    color: #ffffff;
}

.spn-form textarea {
    resize: none;
}
/* ==========================================================
   STATIC HERO (Used for index + contact)
   ========================================================== */

.hero-static {
    position: relative;
    width: 100%;
    height: calc(100vh - 170px);
    background-image: url('../images/slider/slide1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-static::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}
/* ==========================================================
   CENTERED GLASS CARD (Login + Contact)
   ========================================================== */

.hero-glass-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;

    width: 100%;
    max-width: 420px;
    padding: 40px 35px;

    background: linear-gradient(
        145deg,
        rgba(60,60,60,0.35),
        rgba(30,30,30,0.45)
    );

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);

    text-align: center;
}