:root {
    --navy: #111827;
    --gold: #d6b37a;
    --bg: #f8f7f4;
    --text: #1f2937;
    --muted: #6b7280;
    --white: #ffffff;
    --border: #e5e0d6;
    --danger: #dc2626;
    --success: #16a34a;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Manrope', Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 76px;
}

.brand {
    display: flex;
    align-items: center;
}

.site-logo {
    height: 54px;
    width: auto;
    display: block;
}

.brand-mark,
.brand-text {
    display: none;
}

.nav {
    display: flex;
    gap: 22px;
    align-items: center;
}

.nav a {
    font-weight: 600;
    color: var(--navy);
}

/* BUTTONS */

.btn {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    font-weight: 800;
    padding: 13px 20px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    transition: all .2s ease;
}

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

.btn-small {
    padding: 9px 14px;

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,.12);
}
}

/* GENERAL SECTIONS */

.section {
    padding: 60px 0;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 24px;
}

.section-title h2 {
    font-size: 34px;
    margin: 0;
    color: var(--navy);
}

.luxury-section-title h2 {
    font-size: 42px;
}

.eyebrow {
    display: inline-block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 16px;
}

.eyebrow.dark {
    color: var(--navy);
}

/* HERO */

.hero-showcase {
    padding: 14px 0 40px;
    background: var(--bg);
}

.hero-showcase .container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-frame {
    min-height: 720px;
    border-radius: 34px;
    position: relative;
    overflow: hidden;
    background: url('../images/hero-property.jpg') center / cover no-repeat;
}

.hero-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5,10,20,.30), rgba(5,10,20,.02)),
        linear-gradient(180deg, rgba(5,10,20,.04), rgba(5,10,20,.18));
    z-index: 0;
}

.hero-frame > * {
    position: relative;
    z-index: 1;
}

.hero-top-pills {
    position: absolute;
    top: 32px;
    left: 42px;
    display: flex;
    gap: 12px;
    z-index: 2;
}

.hero-top-pills span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    height: 42px;
    padding: 0 24px;
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.32);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 10px 24px rgba(0,0,0,.16);
}

.hero-copy-card {
    position: absolute;
    top: 90px;
    left: 48px;
    bottom: 48px;
    width: 560px;
    max-width: calc(100% - 108px);
    padding: 34px;
    border-radius: 32px;
    color: #fff;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.16),
        0 28px 70px rgba(0,0,0,.22);
}

.hero-copy-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
    pointer-events: none;
}

.hero-copy-card > * {
    position: relative;
    z-index: 1;
}

.hero-copy-card h1 {
    font-size: 48px;
    line-height: .92;
    letter-spacing: -2.4px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 22px;
    text-shadow: 0 2px 18px rgba(0,0,0,.18);
}

.hero-copy-card p {
    color: rgba(255,255,255,.9);
    font-size: 16px;
    margin-bottom: 26px;
}

.hero-search {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hero-search input {
    grid-column: span 2;
}

.hero-search button {
    grid-column: span 2;
}

.hero-search input,
.hero-search select {
    height: 56px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 13px;
    color: var(--navy);
}

.hero-search button {
    height: 56px;
}

.hero-side-card {
    position: absolute;
    right: 42px;
    bottom: 42px;
    width: 330px;
    padding: 32px;
    border-radius: 28px;
    color: white;
    background: rgba(17,24,39,.18);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(28px) saturate(150%);
    -webkit-backdrop-filter: blur(28px) saturate(150%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.18),
        0 24px 60px rgba(0,0,0,.22);
}

.hero-side-card h3 {
    font-size: 26px;
    line-height: 1.15;
    margin: 12px 0;
}

.hero-side-card a {
    color: var(--gold);
    font-weight: 800;
}

.mini-label {
    color: var(--gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 800;
}

/* PROPERTY CARDS */

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .06);
}

.luxury-card {
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(17,24,39,.08);
    box-shadow: 0 18px 45px rgba(17,24,39,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.luxury-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(17,24,39,.14);
}

.property-img,
.luxury-card .property-img {
    height: 320px;
    width: 100%;
    object-fit: cover;
    background: #e2e8f0;
    border-bottom: 1px solid var(--border);
}


.card-body,
.luxury-card .card-body {
    padding: 24px;
}

.luxury-card h3 {
    font-size: 22px;
    line-height: 1.25;
    margin: 16px 0 10px;
    color: var(--navy);
}

.price,
.luxury-card .price {
    font-size: 26px;
    font-weight: 900;
    color: var(--navy);
    margin: 10px 0;
}

.card-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.tag {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 9px;
    border-radius: 999px;
    text-transform: uppercase;
}

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

.features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 14px;
}

.features span {
    background: #f8f7f4;
    padding: 6px 10px;
    border-radius: 999px;
}

.seo-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.seo-tags span {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    background: #f5f1e8;
    border: 1px solid var(--border);
    padding: 5px 10px;
    border-radius: 999px;
}

.card-carousel {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.card-carousel .card-slide {
    display: none;
    height: 280px;
}

.card-carousel .card-slide.active {
    display: block;
}

.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 7px;
}

.carousel-dots button {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,.65);
    cursor: pointer;
}

.carousel-dots button.active {
    background: var(--gold);
}

/* STATUS BADGES */

.status-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-available {
    background: #dcfce7;
    color: #166534;
}

.status-sold {
    background: #fee2e2;
    color: #991b1b;
}

.status-rented {
    background: #dbeafe;
    color: #1e40af;
}

.status-hidden {
    background: #e5e7eb;
    color: #374151;
}

.card .status-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

/* FORMS */

input,
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font: inherit;
    background: white;
}

textarea {
    min-height: 130px;
}

.search-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 12px;
    margin-top: -38px;
    position: relative;
    box-shadow: 0 16px 30px rgba(15, 23, 42, .1);
}

/* PROPERTY DETAIL */

.property-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
}

.gallery-main {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 20px;
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.thumbs img {
    height: 100px;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.thumbs img {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color .2s ease, transform .2s ease;
}

.thumbs img:hover,
.thumbs img.active-thumb {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.panel {
    background: white;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
}

/* TRUST SECTION */

.trust-section {
    background: var(--navy);
    color: white;
}

.trust-card {
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 26px;
    padding: 30px;
    background: rgba(255,255,255,.05);
}

.trust-card span {
    color: var(--gold);
    font-weight: 800;
}

.trust-card h2 {
    margin-bottom: 10px;
}

.trust-card p {
    color: #d1d5db;
}

/* ADMIN */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--navy);
    color: white;
    padding: 24px;
}

.admin-sidebar a {
    display: block;
    padding: 10px 0;
    color: #e2e8f0;
}

.admin-main {
    padding: 28px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
}

.table th,
.table td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.alert {
    padding: 12px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.alert-success {
    background: #dcfce7;
    color: #166534;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
}

/* FOOTER */

.site-footer {
    background: var(--navy);
    color: white;
    padding: 44px 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

/* MOBILE */

@media (max-width: 900px) {
    .container,
    .hero-showcase .container {
        width: 100%;
        max-width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }

    .site-logo {
        height: 40px;
        max-width: 220px;
    }

    .nav-wrap {
        min-height: 64px;
    }

    .nav {
        display: none;
    }

    .hero-showcase {
        padding: 0 0 36px;
    }

    .hero-frame {
        width: 100%;
        min-height: auto;
        padding: 180px 14px 14px;
        border-radius: 22px;
        background-size: cover;
        background-position: center top;
    }

    .hero-frame::before {
        background: linear-gradient(180deg, rgba(5,10,20,.15), rgba(5,10,20,.75));
    }

    .hero-top-pills {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 12px;
    }

    .hero-top-pills span {
        min-width: auto;
        height: 34px;
        padding: 0 12px;
        font-size: 12px;
    }

    .hero-copy-card,
    .hero-side-card {
        position: static;
        width: 100%;
        max-width: 100%;
        margin-bottom: 14px;
        padding: 20px;
    }

    .hero-copy-card h1 {
        font-size: 34px;
        line-height: 1;
        letter-spacing: -1.2px;
    }

    .hero-copy-card p {
        font-size: 14px;
    }

    .hero-search {
        grid-template-columns: 1fr;
    }

    .hero-search input,
    .hero-search select,
    .hero-search button {
        grid-column: span 1;
        width: 100%;
    }

    .grid,
    .property-layout,
    .footer-grid,
    .form-grid,
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 44px 0;
    }

    .section-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .luxury-section-title h2 {
        font-size: 30px;
    }

    .gallery-main {
        height: 300px;
    }

    .search-box {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }
}

