/* ===================================
   LISTING DETAIL PAGE STYLES
   Black & Gold Luxury Aesthetic
   =================================== */

/* ===================================
   LISTING DETAIL HERO
   =================================== */
.listing-detail-hero {
    padding: 120px 0 40px;
    background: var(--matte-black);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--metallic-gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--bright-gold);
}

.breadcrumb span:last-child {
    color: var(--off-white);
}

.breadcrumb span:not(:last-child) {
    color: rgba(255, 255, 255, 0.3);
}

/* ===================================
   LISTING DETAIL SECTION
   =================================== */
.listing-detail-section {
    padding: 3rem 0 4rem;
}

.listing-detail-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

/* ===================================
   MAIN CONTENT
   =================================== */
.listing-main {
    min-width: 0;
}

.listing-header {
    margin-bottom: 2rem;
}

.listing-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.listing-badges span {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
}

.badge-sale {
    background: var(--metallic-gold);
    color: var(--rich-black);
}

.badge-rental {
    background: rgba(212, 175, 55, 0.9);
    color: var(--rich-black);
}

.badge-featured {
    background: linear-gradient(135deg, var(--metallic-gold), var(--bright-gold));
    color: var(--rich-black);
    animation: pulse 2s infinite;
}

.badge-negotiable {
    background: transparent;
    color: var(--metallic-gold);
    border: 1px solid var(--metallic-gold);
}

.listing-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--pure-white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.listing-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--metallic-gold);
    font-size: 1.1rem;
}

.listing-location svg {
    width: 22px;
    height: 22px;
}

/* ===================================
   IMAGE GALLERY
   =================================== */
.listing-gallery {
    margin-bottom: 3rem;
}

.main-image {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===================================
   DESCRIPTION
   =================================== */
.listing-description {
    margin-bottom: 3rem;
}

.listing-description h2 {
    font-size: 1.75rem;
    color: var(--metallic-gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.listing-description p {
    color: var(--off-white);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.listing-description p strong {
    color: var(--metallic-gold);
}

/* ===================================
   FEATURES SECTION
   =================================== */
.listing-features-section {
    margin-bottom: 3rem;
}

.listing-features-section h2 {
    font-size: 1.75rem;
    color: var(--metallic-gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(212, 175, 55, 0.03);
    border-left: 3px solid var(--metallic-gold);
    border-radius: 6px;
    color: var(--off-white);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.features-list li:hover {
    background: rgba(212, 175, 55, 0.08);
    transform: translateX(5px);
}

.features-list li svg {
    width: 20px;
    height: 20px;
    color: var(--metallic-gold);
    flex-shrink: 0;
}

/* ===================================
   SIDEBAR
   =================================== */
.listing-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ===================================
   PRICE CARD
   =================================== */
.price-card {
    background: var(--matte-black);
    border: 2px solid var(--metallic-gold);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.price-label {
    font-size: 0.875rem;
    color: var(--off-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.price-value {
    font-size: 2.25rem;
    color: var(--metallic-gold);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.price-highlight {
    font-size: 1rem;
    color: var(--bright-gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 6px;
}

.price-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

/* ===================================
   DETAILS CARD
   =================================== */
.details-card {
    background: var(--matte-black);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 2rem;
}

.details-card h3 {
    font-size: 1.25rem;
    color: var(--metallic-gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.detail-value {
    color: var(--pure-white);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: right;
}

/* ===================================
   CONTACT CARD
   =================================== */
.contact-card {
    background: var(--matte-black);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    padding: 2rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    color: var(--metallic-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-card > p {
    color: var(--off-white);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn-whatsapp,
.btn-schedule {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.btn-whatsapp {
    background: #25D366;
    border: 2px solid #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
}

.btn-schedule {
    background: transparent;
    border: 2px solid var(--metallic-gold);
    color: var(--metallic-gold);
}

.btn-schedule:hover {
    background: var(--metallic-gold);
    color: var(--rich-black);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.contact-info {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    margin-top: 0.5rem;
}

.contact-info p {
    color: var(--off-white);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.contact-info strong {
    color: var(--metallic-gold);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .listing-detail-content {
        grid-template-columns: 1fr;
    }

    .listing-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }

    .main-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .listing-detail-hero {
        padding: 100px 0 30px;
    }

    .listing-header h1 {
        font-size: 1.75rem;
    }

    .main-image {
        height: 300px;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .listing-sidebar {
        grid-template-columns: 1fr;
    }

    .price-value {
        font-size: 1.75rem;
    }

    .listing-description h2,
    .listing-features-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .listing-badges {
        gap: 0.5rem;
    }

    .listing-badges span {
        font-size: 0.75rem;
        padding: 0.4rem 1rem;
    }

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

    .btn-whatsapp,
    .btn-schedule {
        font-size: 0.875rem;
        padding: 0.875rem 1.25rem;
    }
}
