
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --color-blue: #00d4ff;
    --color-black: #000000;
    --color-gray-light: #F5F5F5;
    --color-gray-dark: #2A2A2A;
    --color-white: #ffffff;
    
    --font-primary: Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-secondary: Roboto, "Helvetica Neue", Arial, sans-serif;

    --gutter-width: 30px;
    --gutter-sm: 20px;

    --max-screen-width-section: 1920px;
    --max-screen-width-header-footer: 1920px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    min-height: 100%;
}

/* Flashy Blue Left Border */
body {
    border-left: 40px solid var(--color-blue);
    font-family: var(--font-primary);
    color: var(--color-black);
    font-optical-sizing: auto;
    font-style: normal;
    
    /* Background image setup */
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh;
    
    /* Flexbox for sticky footer */
    display: flex;
    flex-direction: column;
}

/* Background overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 40px; /* Adjusted to not cover the blue left border */
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.05));
    pointer-events: none;
    z-index: 0;
}

/* Background transition class */
body.transitioning {
    transition: background-image 1.5s ease-in-out;
}

/* Hero Section Styles */
.hero-section {
    min-height: 100vh;/**/
    min-height: auto;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 0rem;
    padding-bottom: 2rem;
    flex: 1; /* Grow to push footer down */
}
.hero-section2 {
    min-height: 100vh;/**/
    min-height: auto;
    position: relative;
    display: flex;
    padding-top: 2rem;
    padding-bottom: 2rem;
    flex: 1; /* Grow to push footer down */
}
/* Header Styles */
.header {
    position: relative;
    padding: 1.5rem 0;
    padding-bottom: 0rem;
    z-index: 1000;
    background: transparent;
}

.header .row {
    position: relative;
}

.logo {
    width: 110px;
    width: 140px;
    height: auto;
    filter: brightness(0) invert(1);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.nav-menu a:hover {
    opacity: 0.8;
}

/* Content Styles */
.hero-content {
    max-width: 700px;
    color: white;
    position: relative;
    z-index: 10;
    align-self: flex-end;
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

/* Ensure all interactive content is above overlay */
.hero-section > .container {
    position: relative;
    z-index: 10;
}

/* Search Form Styles */
.search-form {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.search-form select {
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0 1rem;
    font-size: 1rem;
}

.search-form select:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
    outline: none;
}

.search-btn {
    height: 50px;
    background: var(--color-blue);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    width: 100%;
}

.search-btn:hover {
    background: var(--color-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}
.search-btn i, li i {
    padding-right:0.3rem;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Side Content Styles */
.side-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-self: flex-end; /* Align to bottom */
    margin-bottom: 2rem;
}

/* Info Block Styles */
.info-block {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.info-block h3,
.general-content h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    border-bottom: 3px solid #00d4ff;
    padding-bottom: 0.5rem;
}

/* Qui suis-je Section - Image left, text right */
.profile-section {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.profile-image {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-blue);
    box-shadow: 0 4px 10px rgba(0, 212, 255, 0.3);
}

.profile-text {
    flex: 1;
}

.profile-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

.profile-text a {
color: var(--color-black);
}

/* Nos Services Section - Horizontal layout */
.services-list {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(108, 92, 231, 0.05);
    border-radius: 8px;
    transition: all 0.3s;
    flex: 1;
}

.service-item:hover {
    background: rgba(108, 92, 231, 0.1);
    transform: translateY(-3px);
}

.service-item i {
    font-size: 2rem;
    color: var(--color-blue);
}

.service-item span {
    font-size: 1.2rem;
    font-weight: 500;
    color: #333;
}


.service-item p {
    font-size: 0.95rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 0.5rem;
}

/* Copyright Area Styles */
.copyright-area {
    position: absolute;
    bottom: 0px;
    left: 0px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.75rem;
    backdrop-filter: blur(5px);
    transition: opacity 0.5s ease-in-out;
}

.copyright-area a {
    color: var(--color-blue);
    text-decoration: none;
    transition: opacity 0.3s;
}

.copyright-area a:hover {
    opacity: 0.8;
}

/* Footer Styles */
.footer {
    position: relative;
    z-index: 10;
    background: transparent;
    padding: 2rem 0;
    margin-top: auto; /* Push footer to bottom */
}

.footer-content {
    text-align: right;
    position: relative;
    color: var(--color-white);
}

.footer-content a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: opacity 0.3s;
}

.footer-content a:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 991px) {
    .side-content {
        margin-top: 3rem;
        align-self: flex-start; /* Reset alignment on smaller screens */
        margin-bottom: 0;
    }
    
    .hero-content {
        align-self: flex-start;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    body {
        border-left-width: 10px;
    }
    body::before {
        left: 10px; 
    }
    
    .hero-section {
        padding-top: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .info-block {
        padding: 1.2rem;
    }
    
    .info-block h3,
    .general-content h2 {
        font-size: 1.2rem;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-image {
        width: 70px;
        height: 70px;
    }
    
    .services-list {
        flex-direction: column;
        gap: 0.8rem;
    }

    .service-item {
        max-width:300px;
        margin-left:auto;
        margin-right:auto;
    }
    
    .service-item p {
        margin-bottom: 0.2rem;
    }

    .copyright-area {
        font-size: 0.75rem;
        padding: 6px 10px;
        bottom: 10px;
        left: 10px;
    }
    
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer-content {
        text-align: center;
    }
}
/* Media query for low screen height */
/*
@media (max-height: 700px) {
    .hero-section {
        min-height: auto;
        padding-top: 1rem;
        padding-bottom: 2rem;
    }
    
    .header {
        padding: 1rem 0;
    }
    
    .logo {
        width: 80px;
        width: 110px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-content,
    .side-content {
        margin-bottom: 1rem;
    }
    
    .search-form {
        padding: 1rem;
    }
    
    .info-block {
        padding: 1rem;
    }
}

@media (max-height: 600px) {
    .hero-section {
        padding-top: 0.5rem;
        padding-bottom: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) and (max-height: 700px) {
    .hero-section {
        padding-top: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}
*/


@media (max-width: 768px) {
    
    .logo {
        width: 70px;
        width: 80px;
    }
    
    .header {
        padding-bottom: 0;
    }

    .hero-section {
        padding-top: 1rem;
    }

    .container {
        padding-bottom: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
}

/* ============================================ */
/* ANNONCE PAGE SPECIFIC STYLES */
/* ============================================ */

/* Body styling for single background */
body.annonce-page {
    background-image: url('3826121582_bc4e7c4554_b.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    /*background-color: #666;*/
}

body.annonce-page::before {
    background: linear-gradient(rgba(10, 10, 10, 0.9), rgba(60, 60, 60, 0.9));
    /*background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.05));
    background: none;*/
}

/* Main Content */
.listing-main {
    position: relative;
    z-index: 10;
    padding: 2rem 0 4rem;
}

/* Property Header */
.property-header {
    margin-bottom: 2rem;
}

.property-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.property-location {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
}

.property-location i {
    color: var(--color-blue);
    margin-right: 0.5rem;
}

/* Photo Gallery */
.photo-gallery {
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.5rem;
    height: 500px;
}

.gallery-main {
    position: relative;
    overflow: hidden;
    border-radius: 12px 0 0 12px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-main:hover {
    transform: scale(1.02);
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.open-house-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-blue);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: lowercase;
    z-index: 10;
}

.gallery-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 0.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item:first-child {
    border-radius: 0 12px 0 0;
}

.gallery-item:nth-child(6) {
    border-radius: 0 0 12px 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-more {
    position: relative;
}

.see-all-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.3s;
}

.see-all-overlay:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Property Details */
.property-details {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.detail-section {
    margin-bottom: 2.5rem;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--color-blue);
}

.detail-section p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Overview Grid */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.overview-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}
/*
.overview-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}
*/
.overview-item i {
    font-size: 1.8rem;
    color: var(--color-blue);
}

.overview-item div {
    display: flex;
    flex-direction: column;
}

.overview-item strong {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.overview-item span {
    color: #666;
    font-size: 0.9rem;
}

/* Features List */
.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 0.75rem 0;
    color: #555;
    font-size: 1rem;
    border-bottom: 1px solid #eee;
}

.features-list li:last-child {
    border-bottom: none;
}

.features-list i {
    color: var(--color-blue);
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

/* Contact Card */
.contact-card,
.info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-card h3,
.info-card h3,
.general-content h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--color-blue);
}

.contact-form .form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form .form-control:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.btn-submit {
    width: 100%;
    background: var(--color-blue);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.75rem;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #00b8e6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* Info Card */
.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #ddd;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item strong {
    color: #333;
    font-weight: 600;
}

.info-item span {
    color: #666;
}

.info-item .price {
    color: var(--color-blue);
    font-weight: 700;
    font-size: 1.1rem;
}

.status-badge {
    background: #28a745;
    color: #fff !important;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

/* Responsive Design for Annonce Page */
@media (max-width: 991px) {
    .property-title {
        font-size: 2rem;
    }

    .gallery-grid {
        height: 400px;
    }

    .property-details {
        padding: 2rem;
    }

    .detail-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {


    .listing-main {
        padding-top: 1rem;
    }
    .property-title {
        font-size: 1.75rem;
    }

    /* Stack gallery vertically on mobile */
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 300px auto;
        height: auto;
    }

    .gallery-main {
        border-radius: 12px 12px 0 0;
    }

    .gallery-sidebar {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 150px);
    }

    .gallery-item:first-child {
        border-radius: 0;
    }

    .gallery-item:nth-child(3) {
        border-radius: 0 0 0 12px;
    }

    .gallery-item:nth-child(6) {
        border-radius: 0 0 12px 0;
    }

    .property-details {
        padding: 1.5rem;
    }

    .overview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-card,
    .info-card {
        padding: 1.5rem;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        top: 10px;
        right: 10px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .property-title {
        font-size: 1.5rem;
    }

    .property-location {
        font-size: 0.9rem;
    }

    .gallery-sidebar {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 120px);
    }

    .gallery-item:nth-child(3) {
        border-radius: 0;
    }

    .gallery-item:nth-child(5) {
        border-radius: 0 0 0 12px;
    }

    .detail-section h2 {
        font-size: 1.3rem;
    }

    .detail-section p {
        font-size: 0.95rem;
    }
}


/* Menu on mobile */
@media (max-width: 767px) {
    .navbar-collapse .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        background: rgba(0,0,0,0.85);
        padding: 1rem 1rem 1rem 1rem;
        border-radius: 8px;
        margin-top: 0.5rem;
        position: relative;
    }

    /* Pull menu out of flow so it never shifts the page */
    #navMenu {
        position: absolute;
        right: 0;
        top: 16px;
        z-index: 9999;
        min-width: 180px;
    }
}
@media (min-width: 768px) {
    #navMenu {
        display: flex !important;
    }
}

/* Hide burger when menu is open — use aria-expanded set by Bootstrap */
.navbar-toggler[aria-expanded="true"] {
    display: none !important;
}

/* White burger icon */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    background-repeat: no-repeat;
    background-size: 100%;
}

/* Close button — absolute top-right of the menu, no layout impact */
.nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    padding: 0;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s;
    z-index: 1;
}
.nav-close:hover {
    opacity: 1;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    display: inline-block;
    width: 2.5em;
    border: rgba(255, 255, 255, 0.9);
    height: 1.5em;
    background-repeat: no-repeat;
    background-size: 100%;
}

.citation {
    color: var(--color-gray-dark)!important;
    font-style: italic;
    font-size: 1rem !important;
    line-height: 1.4rem !important;
    padding-top:1rem;
    font-weight: 500;
}
.citation::before {
    content: '"';
}

.citation::after {
    content: '"';
}


button a {
    color:#333;
    text-decoration:none;
}

/* ── page ANNONCES ── */
.annonces-section {
    position: relative;
    z-index: 10;
    padding: 2.5rem 0 4rem;
    flex: 1;
}

.annonces-title {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.annonces-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* ── Property Card ── */
.property-card {
    border-radius: 14px;
    overflow: hidden;
    background: white;
    box-shadow: 0 8px 28px rgba(0,0,0,0.28);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.38);
    color: inherit;
    text-decoration: none;
}

/* ── Card image wrapper (ribbon lives here) ── */
.card-img-wrap {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.property-card:hover .card-img-wrap img {
    transform: scale(1.05);
}

/* ── Ribbon ── */
.ribbon {
    position: absolute;
    top: 14px;
    right: -32px;
    width: 120px;
    text-align: center;
    padding: 5px 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: white;
    transform: rotate(45deg);
    transform-origin: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.ribbon-available {
    background: #1db954;
    top: 28px;
    right: -34px;
    width: 140px;
}

.ribbon-sold {
    background: #e53935;
}

.ribbon-compromis {
    background: #f57c00;
    top: 24px;
    right: -48px;
    width: 180px;
}

/* ── Card body ── */
.card-body-custom {
    padding: 1.1rem 1.3rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.card-property-type {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-blue);
    margin-bottom: 0.15rem;
}

.card-property-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.card-property-location {
    font-size: 0.85rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.1rem;
    margin-bottom: 0;
}

.card-property-location i {
    color: var(--color-blue);
    font-size: 0.8rem;
}

.card-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 0.6rem 0;
}

.card-specs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.card-spec {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: #555;
}

.card-spec i {
    color: var(--color-blue);
    font-size: 0.9rem;
}

.card-footer-custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.7rem;
}

.card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
}

.card-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: #999;
}

.card-cta {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-blue);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s ease;
}

.property-card:hover .card-cta {
    gap: 0.6rem;
}

/* ── Empty state ── */
.no-results {
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 3rem 0;
    font-size: 1.1rem;
}

/* ── Filter bar ── */
.filter-bar {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1.8rem;
}

.filter-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    border-radius: 50px;
    padding: 0.35rem 1rem;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-blue);
    border-color: var(--color-blue);
    color: #111;
}

#contactForm .mb-3:first-of-type {
    display: none;
}
  
#contactForm .btn-submit {
    max-width: 200px;;
}

.coord a {
    cursor:pointer !important;
}