/* Real Estate Section Styling - matches index page layout */


.property-content-container {
    padding: 20px;
    color: #ffffff;
    position: relative;
}

.property-main-info {
    margin-bottom: 1rem;
}

.property-title-section {
    margin-bottom: 1rem;
}

.property-title {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    margin: 0 0 15px 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-badges {
    display: block;
    position: absolute;
    top: 264px;
    left: 0;
    z-index: 9999;
    overflow: hidden;
}

.property-action-buttons {
    display: block;
    position: absolute;
    top: 266px;
    right: 0;
    z-index: 9999;
    background: #fff;
    padding: 4px 0 0 4px;
}

.property-type-badge, .transaction-type-badge {
    display: inline-block;
    margin-right: -4px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.action-btn, .share-btn-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    color: #000;
    background: #fff;
    cursor: pointer;
    display: block;
    float: right;
    margin: 0;
    transition: all 0.3s ease;
}

.action-btn:active {
    transform: scale(0.95);
}

.action-btn svg {
    pointer-events: none;
}

.share-btn-wrapper {
    position: relative;
    display: inline-block;
    float: right;
}

.share-menu {
    position: absolute;
    top: 40px;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 180px;
    z-index: 10000;
    overflow: hidden;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.share-option:last-child {
    border-bottom: none;
}

.share-option:hover {
    background: #f5f5f5;
}

.share-option svg {
    flex-shrink: 0;
}

.property-type-badge {
    background-color: #fff;
    color: #000;
}

.transaction-type-badge.prodaja, .property-type-badge.prodaja {
    background-color: #ff0000;
    color: white;
}

.transaction-type-badge.renta, .property-type-badge.renta {
    background-color: #3498db;
    color: white;
}

.transaction-type-badge.oboje, .property-type-badge.oboje {
    background-color: #666;
    color: white;
}

.property-price {
    font-weight: bold;
    background: #ff0000;
    color: #ffffff;
    display: inline-block;
    padding: 5px 10px;
    margin-left: 10px;
    text-transform: uppercase;
}

.property-description {
    color: #000;
    line-height: 1.5;
    margin: 1rem 0;
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0 2rem;
    padding: 0 3rem;
}

.property-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    border-bottom: solid 1px #ccc;
}

.property-detail-item span:first-child {
    color: #000;
    font-weight: bold;
    padding: .5rem 0;
    text-transform: uppercase;
    font-size: 1rem;
}

.property-detail-item span:last-child {
    color: #000;
    font-weight: normal;
    padding: .5rem 0;
    text-transform: uppercase;
    font-size: 13px;
}

.property-actions {
    margin-top: 30px;
}

.view-details-btn {
    margin-top: 20px;
    display: inline-block;
    padding: 12px 20px;
    font-size: 14px;
    text-transform: uppercase;
    background: #ffcc29;
    color: #000;
    text-decoration: none;
    border-radius: 32px;
    font-weight: bold;
}

/* Agent Info Section - matches shop info styling */
.property-agent-info {
    padding: 30px;
    position: relative;
}

.agency-name {
    color: #ffcc29;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 15px 0;
}

.agent-name {
    color: #ffffff;
    font-size: 18px;
    margin: 15px 0;
}

.property-address {
    display: flex;
    align-items: center;
}

.agent-contact {
    font-size: 18px;
    line-height: 1.3;
    margin: 16px 0;
    display: flex;
    align-items: center;
}

.agent-contact a {
    color: inherit;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .property-details-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .property-title {
        font-size: 20px;
    }
    
    .property-badges {
        gap: 5px;
    }
    
    .property-type-badge, .transaction-type-badge {
        font-size: 11px;
        padding: 4px 8px;
    }
}