/* =========================================================
   LAHUNI FRONTEND THEME
   Bootstrap 5 Custom Theme
========================================================= */

/* =========================
   GOOGLE FONT
========================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');


/* =========================
   ROOT VARIABLES
========================= */

:root {

    /* BRAND COLORS */
    --bs-primary: #c89b3c;
    --bs-primary-rgb: 200,155,60;

    --lahuni-gold: #c89b3c;
    --lahuni-gold-hover: #b88a2d;

    --lahuni-navy: #1e3a5f;
    --lahuni-dark: #0f172a;

    --lahuni-bg: #f8fafc;
    --lahuni-card: #ffffff;

    --lahuni-border: #e2e8f0;

    --lahuni-text: #1e293b;
    --lahuni-muted: #64748b;

    /* BOOTSTRAP OVERRIDE */
    --bs-primary-bg-subtle: #f6ead1;
    --bs-primary-border-subtle: #ead39d;
    --bs-primary-text-emphasis: #8b6914;

    --bs-link-color: #c89b3c;
    --bs-link-hover-color: #b88a2d;

    --bs-border-radius: 12px;
}


/* =========================
   GLOBAL
========================= */

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--lahuni-bg);
    color: var(--lahuni-text);

    font-size: 15px;
    font-weight: 500;

    letter-spacing: -0.1px;
    line-height: 1.7;
}

h1,h2,h3,h4,h5,h6 {
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--lahuni-dark);
}

p {
    color: var(--lahuni-muted);
}


/* =========================
   NAVBAR
========================= */

.navbar {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(226,232,240,.7);

    padding-top: 1rem;
    padding-bottom: 1rem;
}

.navbar-brand {
    font-weight: 800;
    letter-spacing: -1px;
}

.navbar .nav-link {
    color: var(--lahuni-text);
    font-weight: 600;

    transition: all .2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--lahuni-gold) !important;
}


/* =========================
   BUTTON
========================= */

.btn {
    border-radius: 12px;
    font-weight: 700;

    padding: .75rem 1.25rem;

    transition: all .2s ease;

    border: none;
}

.btn:hover {
    transform: translateY(-2px);
}


/* PRIMARY */

.btn-primary {
    background: var(--lahuni-gold);
    color: white;

    box-shadow:
        0 4px 14px rgba(200,155,60,.25);
}

.btn-primary:hover {
    background: var(--lahuni-gold-hover);

    box-shadow:
        0 8px 20px rgba(200,155,60,.35);
}


/* OUTLINE */

.btn-outline-primary {
    border: 1px solid var(--lahuni-gold);
    color: var(--lahuni-gold);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--lahuni-gold);
    color: white;
}


/* =========================
   CARD
========================= */

.card {
    border: 1px solid rgba(226,232,240,.7);

    border-radius: 20px;

    background: white;

    overflow: hidden;

    box-shadow:
        0 1px 3px rgba(15,23,42,.04),
        0 1px 2px rgba(15,23,42,.02);

    transition: all .25s ease;
}

.card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(15,23,42,.08);
}

.card-title {
    font-weight: 700;
}


/* =========================
   PROPERTY CARD
========================= */

.property-card img {
    height: 240px;
    object-fit: cover;
}

.property-card .price {
    color: var(--lahuni-gold);

    font-size: 1.25rem;
    font-weight: 800;
}

.property-card .location {
    color: var(--lahuni-muted);
    font-size: .95rem;
}


/* =========================
   BADGE
========================= */

.badge {
    border-radius: 999px;

    padding: .5em .9em;

    font-size: .75rem;
    font-weight: 700;
}

.bg-primary {
    background: #f6ead1 !important;
    color: #8b6914 !important;
}


/* =========================
   FORM
========================= */

.form-control,
.form-select {

    border-radius: 12px;

    border: 1px solid var(--lahuni-border);

    min-height: 50px;

    padding-left: 1rem;
    padding-right: 1rem;

    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus {

    border-color: var(--lahuni-gold);

    box-shadow:
        0 0 0 4px rgba(200,155,60,.15) !important;
}

.form-control::placeholder {
    color: #94a3b8;
}


/* =========================
   SECTION
========================= */

.section-title {

    font-size: 2rem;

    font-weight: 800;

    margin-bottom: 1rem;
}

.section-title span {
    color: var(--lahuni-gold);
}

.section-subtitle {

    color: var(--lahuni-muted);

    max-width: 650px;

    margin: auto;
}


/* =========================
   TABLE
========================= */

.table {
    vertical-align: middle;
}

.table thead th {

    text-transform: uppercase;

    font-size: .75rem;

    letter-spacing: .6px;

    color: var(--lahuni-muted);

    border-bottom: 1px solid var(--lahuni-border);
}

.table tbody tr {

    transition: all .15s ease;
}

.table tbody tr:hover {

    background: #fafafa;
}


/* =========================
   FOOTER
========================= */

footer {

    background: white;

    border-top: 1px solid rgba(226,232,240,.7);

    padding: 2rem 0;
}

footer p {
    margin-bottom: 0;
}


/* =========================
   HERO SECTION
========================= */

.hero-section {

    padding: 100px 0;

    background:
        linear-gradient(
            rgba(15,23,42,.45),
            rgba(15,23,42,.45)
        ),
        url('/images/hero.jpg');

    background-size: cover;
    background-position: center;

    color: white;
}

.hero-section h1 {

    font-size: 4rem;

    font-weight: 800;

    color: white;
}

.hero-section p {

    color: rgba(255,255,255,.8);

    font-size: 1.1rem;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

    .hero-section {
        padding: 70px 0;
    }

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

    .section-title {
        font-size: 1.7rem;
    }

}
