/* website/static/website/css/property_detail.css */

.brand-logo-text,
.brand-logo-icon {
    filter: brightness(0);
}


.contact-pill {
    background: #6090B5;
    color: #ffffff;
    text-decoration: none;

    font-family: "Outfit", sans-serif;
    font-size: 16px;
    font-weight: 700;

    border-radius: 999px;

    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: transform 0.15s ease,
                box-shadow 0.15s ease;
}

.contact-pill:hover {
    transform: translateY(-2px);
    background: #6090B5;
}

.nav-toggle-icon {
    color: black;
}

.nav-toggle-icon > circle {
    fill-opacity: 0;
}

.ap-page {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.ap-page {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;

    /* NEW: background */
    background-image: url("../images/projects-bg.png");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

/* ========== HERO ========== */

.ap-hero {
    width: 100%;
    padding: 140px 160px 80px;
    box-sizing: border-box;
}

.ap-hero-inner {
    margin-top: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.ap-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 900;
    margin: 0 0 12px;
    color: #0B1520;
}

.ap-meta-line {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: #4b5563;
    margin: 0 0 4px;
}

.ap-meta-location {
    margin-bottom: 16px;
}

.ap-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.ap-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 500;
    background-color: #e5edf5;
    color: #111827;
}

.ap-badge-offer {
    background-color: #6090B5;
    color: #ffffff;
}

/* specs list */

.ap-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 32px;
    margin: 0;
    padding: 0;
}

.ap-spec {
    font-family: 'Outfit', sans-serif;
}

.ap-spec dt {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin-bottom: 2px;
}

.ap-spec dd {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
}

/* hero media */

.ap-hero-media {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.ap-hero-image {
    width: 100%;
    max-width: 520px;
    border-radius: 24px;
    display: block;
    object-fit: cover;
    max-height: 420px;
}

/* ========== PLANS SECTION ========== */

.ap-plans {
    padding: 0 160px 80px;
    box-sizing: border-box;
}

.ap-plans-inner {
    border-top: 1px solid #e5e7eb;
    padding-top: 40px;
}

.ap-plan-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.ap-plan-card {
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 20px 20px 24px;
    box-sizing: border-box;
}

.ap-plan-title {
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #0B1520;
}

.ap-plan-image {
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    display: block;
}

.ap-no-plans {
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    color: #4b5563;
    margin: 0;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 1200px) {
    .ap-hero {
        padding: 120px 80px 60px;
    }

    .ap-plans {
        padding: 0 80px 60px;
    }
}

@media (max-width: 900px) {
    .ap-hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    .ap-hero-media {
        justify-content: flex-start;
    }

    .ap-hero-image {
        max-width: 100%;
    }

    .ap-plans {
        padding: 0 40px 60px;
    }

    .ap-plan-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .ap-hero {
        padding: 120px 24px 40px;
    }

    .ap-title {
        font-size: 34px;
    }

    .ap-plans {
        padding: 0 24px 40px;
    }

    .ap-specs {
        grid-template-columns: minmax(0, 1fr);
    }
}
