/* ===================================
   SINGLE PROPERTY - Inmobiliaria Tito Saladin
   =================================== */

/* Import base styles */
@import url('/assets/css/landing.css');

/* --- Property Hero --- */
.property-hero {
    position: relative;
    padding: 180px 0 120px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    overflow: hidden;
}

.property-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.property-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.property-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(35, 170, 222, 0.4) 100%);
}

.property-hero .container {
    position: relative;
    z-index: 10;
}

/* Breadcrumbs */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumbs a:hover {
    color: var(--primary);
}

.breadcrumbs svg {
    width: 16px;
    height: 16px;
}

.breadcrumbs span {
    color: var(--primary);
}

.property-hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
    flex-wrap: wrap;
}

.property-hero-info h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 800;
}

.property-hero-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.property-hero-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.property-hero-meta svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.property-hero-badges {
    display: flex;
    gap: 12px;
}

.property-hero-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
}

.property-hero-badges .badge.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.property-hero-price {
    text-align: right;
}

.property-hero-price .price {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}

.property-hero-price .price-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* --- Property Content --- */
.property-content {
    padding: 60px 0 100px;
    background: var(--background);
}

.property-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

/* Main Content */
.property-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.content-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.content-card h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-card h2 svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.content-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

/* Quick Info */
.quick-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.quick-info-item {
    text-align: center;
    padding: 20px;
    background: var(--background);
    border-radius: var(--radius);
}

.quick-info-item svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
    margin-bottom: 8px;
}

.quick-info-item strong {
    display: block;
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.quick-info-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Gallery */
.gallery-main {
    width: 100%;
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-thumbnails img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 3px solid transparent;
    opacity: 0.7;
}

.gallery-thumbnails img:hover {
    opacity: 1;
}

.gallery-thumbnails img.active {
    border-color: var(--primary);
    opacity: 1;
}

/* Map */
.map-container {
    width: 100%;
    height: 350px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Sidebar */
.property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
}

.sidebar-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-card h3 svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

/* Details List */
.details-list {
    list-style: none;
}

.details-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

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

.details-list li strong {
    color: var(--text-primary);
    font-weight: 600;
}

.details-list li span {
    color: var(--text-secondary);
}

/* Amenities Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--background);
    border-radius: var(--radius);
    font-size: 0.9rem;
    color: var(--text-primary);
}

.amenity-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

/* Contact Card */
.contact-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.contact-card h3 {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
}

.contact-card h3 svg {
    color: var(--white);
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-buttons .btn {
    width: 100%;
    justify-content: center;
}

.contact-buttons .btn-whatsapp {
    background: #25d366;
    color: var(--white);
    border: none;
}

.contact-buttons .btn-whatsapp:hover {
    background: #20bd5a;
}

.contact-buttons .btn-call {
    background: var(--white);
    color: var(--primary);
    border: none;
}

.contact-buttons .btn-call:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* Agent Card */
.agent-info {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.agent-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.agent-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.agent-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .property-layout {
        grid-template-columns: 1fr 340px;
    }
}

@media (max-width: 992px) {
    .property-layout {
        grid-template-columns: 1fr;
    }

    .property-sidebar {
        position: static;
    }

    .quick-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .property-hero {
        padding: 140px 0 80px;
    }

    .property-hero-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .property-hero-price {
        text-align: left;
    }

    .gallery-main {
        height: 300px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .content-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .quick-info {
        grid-template-columns: 1fr;
    }

    .gallery-thumbnails img {
        height: 80px;
    }
}
