* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #222;
    line-height: 1.6;
    background: #ffffff;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.site-header {
    background: #FFFFFF;
    color: white;
    padding: 18px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

.header-title {
    font-size: 22px;
    font-weight: bold;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-size: 15px;
}

nav a:hover {
    text-decoration: underline;
}

.admin-link {
    background: transparent;
    padding: 8px 12px;
    border-radius: 5px;
}

.gold-background {
    background: linear-gradient(
    135deg,
    #f6e27a 0%,
    #d4af37 25%,
    #edc967 50%,
    #b8860b 75%,
    #f6e27a 100%
    );
}

.gold-text {
    background: linear-gradient(
        135deg,
        #f6e27a,
        #d4af37,
        #edc967,
        #b8860b
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 22px;
    font-weight: bold;
}

.hero {
    background: url("/assets/images/Jenuine_Banner.png") center center / cover no-repeat;

    aspect-ratio: 16 / 7;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 46px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.button {
    display: inline-block;
    background: white;
    color: #1e40af;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.section {
    padding: 70px 0;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.light {
    background: #f3f4f6;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.card h3 {
    margin-bottom: 10px;
}

footer {
    background: #111827;
    color: white;
    text-align: center;
    padding: 20px 0;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    nav a {
        display: inline-block;
        margin: 5px 8px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .cards {
        grid-template-columns: 1fr;
    }
}

.login-page {
    min-height: 100vh;
    background: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-box {
    width: 90%;
    max-width: 400px;
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.login-box h1 {
    margin-bottom: 25px;
    text-align: center;
}

.login-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.login-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.login-box button {
    width: 100%;
    padding: 12px;
    background: #d4af37;
    color: black;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.login-box button:hover {
    background: #b8860b;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.admin-page {
    margin: 0;
    background: #f3f4f6;
    font-family: Arial, sans-serif;
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: #111827;
    color: white;
    padding: 30px 20px;
}

.admin-logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 40px;
}

.admin-nav {
    display: flex;
    flex-direction: column;
}

.admin-nav a {
    color: white;
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: 0.2s;
}

.admin-nav a:hover {
    background: rgba(255,255,255,0.08);
}

.logout-link {
    margin-top: 30px;
    background: #991b1b;
}

.logout-link:hover {
    background: #7f1d1d;
}

.admin-main {
    flex: 1;
    padding: 40px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
}

.admin-header h1 {
    font-size: 36px;
}

.admin-user {
    background: white;
    padding: 10px 18px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 35px;
}

.dashboard-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.dashboard-card h3 {
    margin-bottom: 12px;
    color: #6b7280;
}

.dashboard-card p {
    font-size: 22px;
    font-weight: bold;
}

.dashboard-section {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
}

.dashboard-section h2 {
    margin-bottom: 20px;
}

.dashboard-section ul {
    margin-top: 20px;
    padding-left: 20px;
}

.dashboard-section li {
    margin-bottom: 10px;
}

@media (max-width: 900px) {

    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
    }

    .dashboard-cards {
        grid-template-columns: 1fr;
    }
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    padding: 14px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.admin-table th {
    background: #f3f4f6;
}

.dashboard-section select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/*
|--------------------------------------------------------------------------
| PUBLIC PROPERTY LISTINGS
|--------------------------------------------------------------------------
*/

.property-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 30px;

    margin-top: 40px;
}

.property-card {

    background: #ffffff;

    border-radius: 14px;

    overflow: hidden;

    box-shadow:
        0 8px 25px rgba(0,0,0,0.10);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.property-card:hover {

    transform: translateY(-6px);

    box-shadow:
        0 14px 35px rgba(0,0,0,0.16);
}

.property-card img {

    width: 100%;

    height: 160px;

    object-fit: cover;

    display: block;
}

.property-card-content {

    padding: 10px;
}

.property-card-content h2 {

    margin-top: 10px;
    margin-bottom: 10px;

    font-size: 18px;

    color: #111827;
}

.property-card-content p {

    color: #4b5563;

    line-height: 1.7;
}

.property-status {

    display: inline-block;

    padding:
        7px 14px;

    border-radius: 999px;

    font-size: 13px;

    font-weight: bold;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    background:
        linear-gradient(
            135deg,
            #f6e27a,
            #d4af37,
            #edc967,
            #b8860b
        );

    color: #111827;
}

.property-card .button {

    display: inline-block;

    width: 100%;

    text-align: center;

    padding: 14px 18px;

    border-radius: 8px;
    
    font-size: 14px;

    text-decoration: none;

    font-weight: bold;

    background:
        linear-gradient(
            135deg,
            #f6e27a,
            #d4af37,
            #edc967,
            #b8860b
        );

    color: #111827;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.property-card .button:hover {

    opacity: 0.92;

    transform: scale(1.01);
}

.property-card a {

    text-decoration: none;
}

@media (max-width: 768px) {

    .property-card img {

        height: 160px;
    }

    .property-card-content h2 {

        font-size: 18px;
    }
}

/*
|--------------------------------------------------------------------------
| TOUR ACCESS MODAL
|--------------------------------------------------------------------------
*/

.modal-overlay {

    display: none;

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,0.65);

    z-index: 9999;

    align-items: center;

    justify-content: center;

    padding: 20px;
}

.modal-box {

    background: #ffffff;

    width: 100%;

    max-width: 460px;

    padding: 30px;

    border-radius: 14px;

    position: relative;

    box-shadow:
        0 12px 40px rgba(0,0,0,0.25);
}

.modal-box h2 {

    margin-bottom: 10px;
}

.modal-box label {

    display: block;

    margin-top: 15px;

    margin-bottom: 6px;

    font-weight: bold;
}

.modal-box input {

    width: 100%;

    padding: 12px;

    border: 1px solid #ccc;

    border-radius: 6px;
}

.modal-box .button {

    width: 100%;

    margin-top: 22px;

    border: none;

    cursor: pointer;
}

.modal-close {

    position: absolute;

    top: 12px;

    right: 16px;

    background: transparent;

    border: none;

    font-size: 28px;

    cursor: pointer;
}