/*
Theme Name: Premium Estate
Theme URI: http://example.com
Author: SAO
Description: Custom Real Estate Theme
Version: 1.0
*/


/* Property */



.property-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}

.page-title {
    font-size: 32px;
    margin-bottom: 30px;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.property-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.property-details {
    padding: 20px;
}

.property-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.property-price {
    font-size: 20px;
    font-weight: bold;
    color: #111;
    margin-bottom: 10px;
}

.property-meta {
    display: flex;
    gap: 15px;
    font-size: 14px;
    color: #666;
}

/* SINGLE PROPERTY PAGE */

/* PROPERTY DETAILS */

.property-single {
    max-width: 1100px;
    margin: 50px auto;
    padding: 35px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 55px rgba(0,0,0,0.08);
}

/* Title */

.property-single h1 {
    font-size: 34px;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    color: #111;
}

/* Image */

.property-single img {
    width: 100%;
    border-radius: 14px;
    margin-bottom: 30px;
}

/* Info Grid */

.property-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 30px;
}

.property-info p {
    background: #f8f9fb;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 15px;
    margin: 0;
    border: 1px solid rgba(0,0,0,0.04);
}

.property-info strong {
    font-weight: 600;
    color: #444;
}

/* Description */

.property-description {
    margin-top: 25px;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* CONTACT BUTTON */

.property-contact {
    margin: 10px 0 30px;
}

.contact-agent-btn {
    background: #111;
    color: #fff;
    border: none;
    padding: 15px 26px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.contact-agent-btn:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .contact-agent-btn {
        width: 100%;
    }
}


/* badge */
/* .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #111;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
} */
 /* PREMIUM BADGE */
.badge {
    display: inline-block;
    background: #111;
    color: #fff;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* OPTIONAL COLOR VARIANTS */
.badge.sale {
    background: #16a34a;
}

.badge.rent {
    background: #2563eb;
}

.badge.sold {
    background: #dc2626;
}


/* search styles */

.property-filter {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

.searchandfilter ul {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.searchandfilter select {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Filter button */

/* FILTER CONTAINER */
.property-filter {
    background: #ffffff;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    align-items: center;
    flex-wrap: wrap;
}

/* SELECT INPUTS */
.property-filter select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    padding: 12px 16px;
    min-width: 180px;

    border-radius: 10px;
    border: 1px solid #e5e5e5;

    background: #f9f9f9;
    font-size: 14px;
    color: #333;

    transition: all 0.25s ease;
    cursor: pointer;
}

/* HOVER EFFECT */
.property-filter select:hover {
    border-color: #d0d0d0;
    background: #ffffff;
}

/* FOCUS EFFECT */
.property-filter select:focus {
    outline: none;
    border-color: #111;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.04);
}

/* CUSTOM DROPDOWN ARROW */
.property-filter select {
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
}

/* OPTIONAL RESET BUTTON */
.filter-reset {
    padding: 12px 18px;
    border-radius: 10px;
    border: none;
    background: #111;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-reset:hover {
    background: #000;
    transform: translateY(-1px);
}

/* PREMIUM EMPTY STATE */
.no-results {
    background: #ffffff;
    padding: 50px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
    grid-column: 1 / -1;
}

.no-results h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #111;
}

.no-results p {
    color: #777;
    font-size: 14px;
}

/* property load */
.property-grid.loading {
    opacity: 0.4;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
/* load more */
.load-more {
    display: block;
    margin: 40px auto;
    background: transparent;
    border: 2px solid #111;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.load-more:hover {
    background: #111;
    color: white;
}

/* =========================
   PREMIUM NAVIGATION
========================= */

.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.premium-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 18px 40px;
}

/* Links */

.premium-menu li {
    position: relative;
}

.premium-menu a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.25s ease;
}

/* Hover Effect (subtle luxury) */

.premium-menu a:hover {
    background: #f5f7fa;
    color: #111;
}

/* Active Menu Item */

.premium-menu .current-menu-item a,
.premium-menu .current_page_item a {
    background: #111;
    color: #fff;
}

/* =========================
   DROPDOWN MENU
========================= */

.premium-menu ul {
    position: absolute;
    top: 45px;
    left: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    padding: 10px;
    list-style: none;
    min-width: 200px;

    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.25s ease;
}

/* Show dropdown */

.premium-menu li:hover ul {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Dropdown links */

.premium-menu ul li a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
}

.premium-menu ul li a:hover {
    background: #f5f7fa;
}

/* CTA BUTTON 😌 */

.cta-button {
    background: #111;
    color: #fff;
    text-decoration: none;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    background: #000;
    transform: translateY(-1px);
}

/* =========================
   MOBILE RESPONSIVE
========================= */
/* 
@media (max-width: 768px) {

    .premium-menu {
        flex-wrap: wrap;
        padding: 15px 20px;
        gap: 5px;
    }

    .premium-menu a {
        font-size: 14px;
        padding: 8px 12px;
    }
} */


@media (max-width: 768px) {

    .header-inner {
        flex-wrap: wrap;
        gap: 10px;
    }

    .site-logo {
        flex: 1;
    }

    .site-navigation {
        order: 3;
        width: 100%;
    }

    .premium-menu {
        flex-wrap: wrap;
        gap: 4px;
    }

    .premium-menu a {
        font-size: 14px;
        padding: 8px 10px;
    }

    .header-cta {
        margin-left: auto;
    }

    .cta-button {
        padding: 10px 14px;
        font-size: 13px;
    }
}
/* logo */
/* HEADER LAYOUT */

.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.header-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
}

/* LOGO */

.site-logo img {
    height: 52px;      
    width: auto;
}

/* MENU ALIGNMENT */

.premium-menu {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* =========================
   HAMBURGER MENU 😌
========================= */

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: #111;
    transition: all 0.3s ease;
}
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .site-navigation {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .site-navigation.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .premium-menu {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        gap: 0;
    }

    .premium-menu a {
        width: 100%;
        padding: 12px 10px;
    }

    .header-cta {
        display: none; /* Hide CTA on tight mobile */
    }
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* contact page */

.contact-page {
    padding: 60px 20px;
    background: #f8f9fb;
}

.contact-container {
    max-width: 1100px;
    margin: auto;
}
.contact-intro {
    text-align: center;
    margin-bottom: 50px;
}

.contact-intro h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.contact-intro p {
    color: #666;
    font-size: 16px;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.contact-form,
.contact-details {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}
.contact-form h2 {
    margin-bottom: 20px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    font-size: 14px;
    transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #111;
    outline: none;
}
.contact-form button {
    background: #111;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-form button:hover {
    background: #000;
    transform: translateY(-1px);
}
.contact-details h2 {
    margin-bottom: 20px;
}

.contact-item {
    margin-bottom: 18px;
}

.contact-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.contact-item p {
    color: #666;
    font-size: 14px;
}
@media (max-width: 768px) {

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-intro h1 {
        font-size: 28px;
    }
}

/* footer */

/* FOOTER */
.site-footer {
    background: #111;
    color: #fff;
    margin-top: 80px;
    padding-top: 50px;
}

.footer-container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.footer-brand p {
    color: #bbb;
    font-size: 14px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    text-decoration: none;
    color: #bbb;
    font-size: 14px;
    padding: 8px 14px;
    border: 1px solid #333;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #fff;
    color: #111;
    border-color: #fff;
}

.footer-bottom {
    border-top: 1px solid #222;
    text-align: center;
    padding: 20px;
    font-size: 13px;
    color: #777;
}


/* ==========================================
   HOMEPAGE
========================================== */

/* HERO */

.hero{
    background: linear-gradient(rgba(17,17,17,.55), rgba(17,17,17,.55)),
    url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?w=1600') center/cover;
    min-height: 75vh;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;
    color:#fff;
}

.hero .container{
    max-width:800px;
}

.hero h1{
    font-size:56px;
    margin-bottom:20px;
    line-height:1.1;
}

.hero p{
    font-size:18px;
    color:#f1f1f1;
    margin-bottom:35px;
}

.hero .btn{
    display:inline-block;
    background:#111;
    color:#fff;
    text-decoration:none;
    padding:15px 32px;
    border-radius:12px;
    transition:.3s;
}

.hero .btn:hover{
    background:#000;
    transform:translateY(-2px);
}


/* SEARCH */

.search{
    margin-top:-55px;
    position:relative;
    z-index:20;
}

.search .container{
    background:#fff;
    padding:25px;
    border-radius:18px;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.search form{
    display:grid;
    grid-template-columns:2fr 1fr 1fr auto;
    gap:15px;
}

.search input,
.search select{
    padding:15px;
    border:1px solid #e5e5e5;
    border-radius:12px;
    font-size:15px;
}

.search button{
    background:#111;
    color:#fff;
    border:none;
    border-radius:12px;
    padding:15px 28px;
    cursor:pointer;
    transition:.3s;
}

.search button:hover{
    background:#000;
}


/* SECTION */

.featured,
.why-us,
.cta{
    padding:80px 20px;
}

.featured h2,
.why-us h2,
.cta h2{
    text-align:center;
    margin-bottom:45px;
    font-size:36px;
}


/* PROPERTY GRID */

.properties{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.property-card{
    overflow:hidden;
    background:#fff;
    border-radius:16px;
    box-shadow:0 15px 35px rgba(0,0,0,.06);
    transition:.3s;
}

.property-card:hover{
    transform:translateY(-8px);
}

.property-card img{
    width:100%;
    height:230px;
    object-fit:cover;
}

.property-card h3{
    padding:20px 20px 10px;
    font-size:22px;
}

.property-card p{
    padding:0 20px;
    color:#777;
}

.property-card strong{
    display:block;
    padding:20px;
    font-size:22px;
}


/* WHY US */

.features{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.features div{
    background:#fff;
    border-radius:16px;
    padding:35px;
    text-align:center;
    box-shadow:0 15px 35px rgba(0,0,0,.05);
}

.features h3{
    margin-bottom:15px;
}

.features p{
    color:#666;
}


/* CTA */

.cta{
    background:#111;
    color:#fff;
    text-align:center;
}

.cta p{
    max-width:700px;
    margin:20px auto 35px;
    color:#ddd;
}

.cta .btn{
    display:inline-block;
    background:#fff;
    color:#111;
    text-decoration:none;
    padding:15px 35px;
    border-radius:12px;
    transition:.3s;
}

.cta .btn:hover{
    transform:translateY(-2px);
}


/* MOBILE */

@media(max-width:768px){

    .hero{
        min-height:60vh;
        padding:30px;
    }

    .hero h1{
        font-size:38px;
    }

    .hero p{
        font-size:16px;
    }

    .search{
        margin-top:30px;
    }

    .search form{
        grid-template-columns:1fr;
    }

    .featured,
    .why-us,
    .cta{
        padding:60px 20px;
    }

}