﻿
body {
    background: #f5f7fb;
    font-family: 'Inter',sans-serif;
    color: #0f172a;
    width: 100%;
}

/* =========================
   CONTENEDOR
========================= */

.property-wrapper {
    padding: 60px 0;
}

/* =========================
   CARD GENERAL
========================= */

.detail-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,.04);
    border: 1px solid #edf1f7;
    margin-bottom: 25px;
}

/* =========================
   CARRUSEL
========================= */

.carousel-box {
    overflow: hidden;
    border-radius: 20px;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: .6s;
}

.carousel-box:hover img {
    transform: scale(1.05);
}
/*.carousel-box {
    position: relative !important;
}

.badge-sale {
    position: absolute !important;
    top: 50px !important;
    right: 20px !important;
    left: auto !important;
    z-index: 100 !important;
    background: #12c48b;
    color: #fff;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
}*/

.carousel-control-prev,
.carousel-control-next {
    opacity: 0;
    transition: .3s;
}

.carousel-box:hover .carousel-control-prev,
.carousel-box:hover .carousel-control-next {
    opacity: 1;
}

/* =========================
   HEADER
========================= */

.property-title {
    font-size: 34px;
    font-weight: 800;
    margin-top: 25px;
}

.location {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

    .location i {
        color: #12c48b;
    }

.price {
    font-size: 42px;
    color: #12c48b;
    font-weight: 800;
}

.price-label {
    color: #94a3b8;
    font-size: 14px;
}

.rating {
    color: #fbbf24;
    font-size: 14px;
}

/* =========================
   FEATURES
========================= */

.features-box {
    background: #f8fafc;
    border-radius: 18px;
    padding: 25px;
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-weight: 600;
}

    .feature-item i {
        color: #12c48b;
        font-size: 20px;
    }

/* =========================
   TITULOS
========================= */

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 22px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9eef5;
}

/* =========================
   DESCRIPTION
========================= */

.description {
    color: #64748b;
    line-height: 1.9;
    font-size: 15px;
}

/* =========================
   PROPERTY INFO
========================= */

.info-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
    font-size: 15px;
}

    .info-item i {
        color: #12c48b;
    }

/* =========================
   VIDEO
========================= */

.video-box {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

    .video-box img {
        width: 100%;
        height: 420px;
        object-fit: cover;
    }

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.20);
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-btn {
    width: 90px;
    height: 90px;
    border: none;
    border-radius: 50%;
    background: #12c48b;
    color: #fff;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(18,196,139,.4);
}

/* =========================
   MAPA
========================= */

.map-box {
    border-radius: 18px;
    overflow: hidden;
}

    .map-box iframe {
        width: 100%;
        height: 420px;
        border: 0;
    }

/* =========================
   AGENTE
========================= */

.agent-box {
    display: flex;
    align-items: center;
    gap: 25px;
}

    .agent-box img {
        width: 110px;
        height: 110px;
        border-radius: 50%;
        object-fit: cover;
        border: 5px solid #eefaf6;
    }

.agent-name {
    font-size: 28px;
    font-weight: 800;
}

.agent-role {
    color: #12c48b;
    font-weight: 600;
}

.agent-contact {
    margin-top: 15px;
}

    .agent-contact div {
        margin-bottom: 8px;
        color: #64748b;
    }

    .agent-contact i {
        color: #12c48b;
        margin-right: 8px;
    }

/* =========================
   FORM
========================= */

.custom-input {
    height: 58px;
    border-radius: 14px;
    border: 1px solid #dde5ef;
    box-shadow: none !important;
    padding-left: 18px;
}

textarea.custom-input {
    height: auto;
    padding-top: 15px;
}

.custom-input:focus {
    border-color: #12c48b;
}

.btn-send {
    height: 58px;
    border: none;
    background: #12c48b;
    color: #fff;
    border-radius: 14px;
    padding: 0 30px;
    font-weight: 700;
    transition: .3s;
}

    .btn-send:hover {
        background: #0ea271;
    }

/* =========================
   SIDEBAR
========================= */

.sidebar-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,.04);
    border: 1px solid #edf1f7;
    margin-bottom: 25px;
}

.sidebar-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* =========================
   AGENT SIDEBAR
========================= */

.contact-agent {
    display: flex;
    gap: 15px;
    align-items: center;
}

    .contact-agent img {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        object-fit: cover;
    }

    .contact-agent h6 {
        margin: 0;
        font-weight: 700;
    }

    .contact-agent span {
        color: #64748b;
        font-size: 14px;
    }

/* =========================
   MINI PROPERTY
========================= */

.mini-property img {
    width: 100%;
    border-radius: 14px;
    height: 180px;
    object-fit: cover;
}

.mini-title {
    font-size: 18px;
    font-weight: 700;
    margin-top: 18px;
}

.mini-location {
    color: #64748b;
    font-size: 14px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px) {

    .info-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .carousel-item img {
        height: 350px;
    }
}

@media(max-width:768px) {

    .property-title {
        font-size: 28px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .agent-box {
        flex-direction: column;
        text-align: center;
    }

    .carousel-item img {
        height: 260px;
    }
}
