﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --npp-navy: #102d50;
    --npp-navy-dark: #081d35;
    --npp-gold: #c99b43;
    --npp-gold-light: #e4c17c;
    --npp-white: #ffffff;
    --npp-light: #f7f7f5;
    --npp-text: #263449;
    --npp-muted: #7b8795;
    --npp-border: #e9e9e6;
}

.npp-property-page {
    width: 100%;
    overflow: hidden;
    background: #fff;
    color: var(--npp-text);
    font-family: 'Poppins', sans-serif;
}

    .npp-property-page * {
        box-sizing: border-box;
    }

.npp-container {
    width: min(1280px, 92%);
    margin: auto;
}

/* HERO */

.npp-property-hero {
    min-height: 570px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background-image: url('../image/villla.PNG');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    isolation: isolate;
}

.npp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(5,20,39,.92) 0%, rgba(8,29,53,.78) 38%, rgba(8,29,53,.30) 100% );
    z-index: -1;
}

.npp-hero-content {
    padding-top: 50px;
    padding-bottom: 90px;
    animation: nppHeroAnimation 1s ease both;
}

.npp-hero-label {
    display: inline-block;
    color: var(--npp-gold-light);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 22px;
}

.npp-hero-content h1 {
    color: #fff;
    font-size: clamp(40px,5.3vw,72px);
    font-weight: 700;
    line-height: 1.16;
    max-width: 850px;
    margin: 0 0 22px;
}

    .npp-hero-content h1 span {
        color: var(--npp-gold-light);
    }

.npp-hero-content p {
    color: rgba(255,255,255,.85);
    max-width: 590px;
    font-size: 15px;
    line-height: 1.9;
    margin: 0 0 30px;
}

.npp-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 15px 25px;
    color: var(--npp-navy-dark);
    background: var(--npp-gold);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border-radius: 3px;
    transition: .35s;
}

    .npp-hero-btn span {
        font-size: 19px;
        transition: .3s;
    }

    .npp-hero-btn:hover {
        background: #fff;
        color: var(--npp-navy);
        transform: translateY(-4px);
    }

        .npp-hero-btn:hover span {
            transform: translateX(5px);
        }

.npp-hero-bottom {
    position: absolute;
    bottom: 0;
    right: 4%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 17px 28px;
    background: rgba(8,29,53,.85);
    border-top: 2px solid var(--npp-gold);
}

    .npp-hero-bottom span {
        color: #fff;
        font-size: 11px;
        letter-spacing: 2px;
        font-weight: 600;
    }

    .npp-hero-bottom i {
        height: 15px;
        width: 1px;
        background: var(--npp-gold);
    }

/* SEARCH */

.npp-search-wrapper {
    position: relative;
    z-index: 3;
    margin-top: -60px;
}

.npp-search-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid rgba(201,155,67,.25);
    box-shadow: 0 18px 50px rgba(16,45,80,.13);
}

.npp-search-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.npp-small-label {
    display: block;
    color: var(--npp-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.npp-search-heading h3 {
    color: var(--npp-navy);
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.npp-search-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: rgba(201,155,67,.12);
    color: var(--npp-gold);
    font-size: 30px;
    border-radius: 50%;
}

.npp-search-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr 1fr auto;
    gap: 14px;
    align-items: end;
}

.npp-field {
    min-width: 0;
}

    .npp-field label {
        display: block;
        color: var(--npp-navy);
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 12px;
    }

    .npp-field input,
    .npp-field select {
        width: 100%;
        height: 52px;
        padding: 0 14px;
        border: 1px solid #e5e7eb;
        border-radius: 5px;
        background: #fff;
        color: var(--npp-text);
        font-family: inherit;
        font-size: 13px;
        outline: none;
        transition: .3s;
    }

        .npp-field input:focus,
        .npp-field select:focus {
            border-color: var(--npp-gold);
            box-shadow: 0 0 0 3px rgba(201,155,67,.10);
        }

.npp-search-btn {
    height: 52px;
    padding: 0 22px;
    border: none;
    border-radius: 5px;
    background: var(--npp-navy);
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: .3s;
}

    .npp-search-btn span {
        margin-left: 7px;
        font-size: 17px;
    }

    .npp-search-btn:hover {
        background: var(--npp-gold);
        color: var(--npp-navy-dark);
        transform: translateY(-3px);
    }

/* RESULTS */

.npp-results-section {
    padding: 100px 0 85px;
    background: var(--npp-light);
}

.npp-results-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 35px;
}

.npp-results-heading h2 {
    font-size: clamp(28px,3vw,38px);
    line-height: 1.3;
    color: var(--npp-navy);
    font-weight: 700;
    margin: 0 0 10px;
}

    .npp-results-heading h2 span {
        color: var(--npp-gold);
    }

.npp-results-heading p {
    color: var(--npp-muted);
    font-size: 13px;
    margin: 0;
}

.npp-sort-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .npp-sort-box label {
        color: var(--npp-muted);
        font-size: 12px;
        white-space: nowrap;
    }

    .npp-sort-box select {
        height: 44px;
        min-width: 175px;
        padding: 0 12px;
        background: #fff;
        color: var(--npp-navy);
        border: 1px solid var(--npp-border);
        border-radius: 4px;
        outline: none;
        font-family: inherit;
        font-size: 12px;
    }

/* PROPERTY GRID */

.npp-property-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 26px;
}

.npp-property-card {
    background: #fff;
    border: 1px solid #ecece8;
    border-radius: 7px;
    overflow: hidden;
    transition: .4s ease;
    animation: nppCardAnimation .5s ease both;
}

    .npp-property-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 45px rgba(16,45,80,.13);
        border-color: rgba(201,155,67,.45);
    }

.npp-card-image {
    height: 260px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #e9e9e9;
}

    .npp-card-image img {
        height: 100%;
        width: 100%;
        display: block;
        object-fit: cover;
        transition: transform .7s ease;
    }

.npp-property-card:hover .npp-card-image img {
    transform: scale(1.08);
}

.npp-property-badge {
    position: absolute;
    top: 17px;
    left: 17px;
    background: var(--npp-gold);
    color: var(--npp-navy-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 9px 15px;
    border-radius: 2px;
    text-transform: uppercase;
}

.npp-rent-badge {
    background: var(--npp-navy);
    color: #fff;
}

.npp-gallery-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(8,29,53,.88);
    color: #fff;
    border: 1px solid rgba(255,255,255,.3);
    padding: 10px 14px;
    border-radius: 3px;
    font-family: inherit;
    font-size: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

    .npp-gallery-btn:hover {
        background: var(--npp-gold);
        color: var(--npp-navy-dark);
    }

.npp-card-content {
    padding: 23px;
}

.npp-card-location {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--npp-muted);
    font-size: 11px;
    margin-bottom: 12px;
}

.npp-card-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--npp-navy);
    line-height: 1.4;
    margin: 0 0 12px;
    transition: .3s;
}

.npp-property-card:hover .npp-card-content h3 {
    color: var(--npp-gold);
}

.npp-card-description {
    font-size: 12px;
    color: var(--npp-muted);
    line-height: 1.8;
    margin: 0 0 18px;
    min-height: 44px;
}

.npp-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    padding: 15px 0;
    border-top: 1px solid var(--npp-border);
    border-bottom: 1px solid var(--npp-border);
    margin-bottom: 18px;
}

    .npp-card-features span {
        display: flex;
        align-items: center;
        gap: 5px;
        color: var(--npp-muted);
        font-size: 10px;
    }

.npp-card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.npp-card-price {
    color: var(--npp-navy);
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

    .npp-card-price small {
        display: block;
        font-size: 10px;
        color: var(--npp-muted);
        font-weight: 400;
        margin-top: 4px;
    }

.npp-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 13px;
    background: var(--npp-navy);
    color: #fff;
    border-radius: 3px;
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    transition: .3s;
}

    .npp-view-btn:hover {
        background: var(--npp-gold);
        color: var(--npp-navy-dark);
    }

/* NO RESULTS */

.npp-no-results {
    display: none;
    text-align: center;
    padding: 65px 20px;
    background: #fff;
    border-radius: 7px;
    margin-top: 25px;
}

.npp-no-icon {
    font-size: 45px;
    color: var(--npp-gold);
    margin-bottom: 12px;
}

.npp-no-results h3 {
    color: var(--npp-navy);
    font-size: 22px;
    margin: 0 0 10px;
}

.npp-no-results p {
    color: var(--npp-muted);
    font-size: 13px;
}

.npp-no-results button {
    margin-top: 12px;
    background: var(--npp-navy);
    color: #fff;
    border: 0;
    padding: 12px 22px;
    border-radius: 3px;
    cursor: pointer;
    font-family: inherit;
}

/* RESULTS FOOTER */

.npp-results-footer {
    margin-top: 35px;
    padding-top: 22px;
    border-top: 1px solid #e5e5e2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

    .npp-results-footer span {
        color: var(--npp-muted);
        font-size: 12px;
    }

    .npp-results-footer strong {
        color: var(--npp-navy);
    }

    .npp-results-footer button {
        background: transparent;
        color: var(--npp-navy);
        border: none;
        font-family: inherit;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        transition: .3s;
    }

        .npp-results-footer button:hover {
            color: var(--npp-gold);
        }

/* LIGHTBOX */

.npp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(3,12,24,.96);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

    .npp-lightbox.active {
        display: flex;
    }

.npp-lightbox-content {
    position: relative;
    max-width: 1050px;
    width: 100%;
    text-align: center;
}

.npp-lightbox-image {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 5px;
}

.npp-lightbox-close {
    position: absolute;
    right: 0;
    top: -48px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 38px;
    cursor: pointer;
}

.npp-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.4);
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 19px;
    cursor: pointer;
    transition: .3s;
}

    .npp-lightbox-arrow:hover {
        background: var(--npp-gold);
        color: var(--npp-navy);
    }

.npp-lightbox-prev {
    left: -65px;
}

.npp-lightbox-next {
    right: -65px;
}

.npp-lightbox-counter {
    color: #fff;
    font-size: 12px;
    margin-top: 15px;
    letter-spacing: 2px;
}

/* ANIMATION */

@keyframes nppHeroAnimation {
    from {
        opacity: 0;
        transform: translateY(35px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes nppCardAnimation {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLET */

@media(max-width:1100px) {

    .npp-search-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .npp-search-btn {
        width: 100%;
    }

    .npp-property-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .npp-lightbox-prev {
        left: 10px;
    }

    .npp-lightbox-next {
        right: 10px;
    }
}

/* MOBILE */

@media(max-width:767px) {

    .npp-property-hero {
        min-height: 490px;
        background-position: center;
    }

    .npp-hero-overlay {
        background: linear-gradient( 90deg, rgba(5,20,39,.90), rgba(8,29,53,.62) );
    }

    .npp-hero-content {
        padding-top: 40px;
        padding-bottom: 95px;
    }

    .npp-hero-label {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .npp-hero-content h1 {
        font-size: 39px;
    }

    .npp-hero-content p {
        font-size: 13px;
        line-height: 1.8;
    }

    .npp-hero-bottom {
        right: 0;
        left: 0;
        justify-content: center;
        gap: 15px;
        padding: 15px 10px;
    }

        .npp-hero-bottom span {
            font-size: 9px;
            letter-spacing: 1px;
        }

    .npp-search-wrapper {
        margin-top: -35px;
    }

    .npp-search-box {
        padding: 22px 18px;
    }

    .npp-search-heading h3 {
        font-size: 19px;
    }

    .npp-search-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .npp-search-btn {
        height: 48px;
    }

    .npp-results-section {
        padding: 70px 0 55px;
    }

    .npp-results-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .npp-results-heading h2 {
        font-size: 29px;
    }

    .npp-sort-box {
        width: 100%;
        justify-content: space-between;
    }

        .npp-sort-box select {
            flex: 1;
        }

    .npp-property-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .npp-card-image {
        height: 260px;
    }

    .npp-card-content {
        padding: 20px;
    }

    .npp-card-description {
        min-height: auto;
    }

    .npp-results-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .npp-lightbox {
        padding: 15px;
    }

    .npp-lightbox-arrow {
        width: 38px;
        height: 38px;
    }

    .npp-lightbox-prev {
        left: 5px;
    }

    .npp-lightbox-next {
        right: 5px;
    }

    .npp-lightbox-close {
        right: 5px;
    }
}

/* SMALL MOBILE */

@media(max-width:400px) {

    .npp-hero-content h1 {
        font-size: 32px;
    }

    .npp-hero-content p {
        font-size: 12px;
    }

    .npp-hero-bottom {
        gap: 10px;
    }

    .npp-card-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .npp-view-btn {
        width: 100%;
        justify-content: center;
    }

    .npp-card-image {
        height: 220px;
    }
}
