/* Developer Page Styles */

/* Developer Info Card */
.developer-info-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
}

.developer-logo {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    overflow: hidden;
}

.developer-logo img {
    max-height: 150px;
    width: auto;
    object-fit: contain;
}

.entry-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.developer-meta {
    margin-bottom: 25px;
    font-size: 15px;
    color: #666;
}

.developer-meta > div {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.developer-meta i {
    color: #ff5a5f;
    width: 20px;
    text-align: center;
}

.developer-stats-cards {
    margin: 25px 0;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #ff5a5f;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: #666;
}

.developer-rating-summary {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.average-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-number {
    font-size: 36px;
    font-weight: 700;
    color: #ff5a5f;
}

.rating-stars {
    margin: 10px 0;
    color: #ffc107;
    font-size: 18px;
}

.rating-count {
    font-size: 14px;
    color: #666;
}

/* Tabs */
.developer-tabs {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.nav-tabs {
    background: #f8f9fa;
    border-bottom: none;
}

.nav-tabs .nav-item {
    margin-bottom: 0;
}

.nav-tabs .nav-link {
    border: none;
    border-radius: 0;
    padding: 15px 25px;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
    color: #ff5a5f;
    background: #fff;
    border-top: 3px solid #ff5a5f;
}

.tab-content {
    padding: 25px;
}

/* Investment Cards */
.investment-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.investment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.investment-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.investment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.investment-card:hover .investment-image img {
    transform: scale(1.05);
}

.investment-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.status-planned {
    background-color: #6c757d;
}

.status-ongoing {
    background-color: #28a745;
}

.status-completed {
    background-color: #007bff;
}

.investment-content {
    padding: 20px;
}

.investment-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.investment-content h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.investment-content h4 a:hover {
    color: #ff5a5f;
}

.investment-location {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.investment-location i {
    color: #ff5a5f;
    margin-right: 5px;
}

.investment-details {
    background: #f8f9fa;
    border-radius: 5px;
    padding: 12px;
    margin-bottom: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 14px;
}

.detail-label {
    color: #666;
}

.detail-value {
    font-weight: 600;
    color: #333;
}

/* Property Cards */
.property-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.status-available {
    background-color: #28a745;
}

.status-sold {
    background-color: #dc3545;
}

.status-reserved {
    background-color: #ffc107;
    color: #333;
}

.property-price {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.property-content {
    padding: 20px;
}

.property-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.property-content h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.property-content h4 a:hover {
    color: #ff5a5f;
}

.property-location {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.property-location i {
    color: #ff5a5f;
    margin-right: 5px;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    padding: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.feature-item i {
    margin-right: 5px;
    color: #ff5a5f;
}

/* Reviews */
.review-item {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-author {
    font-weight: 600;
    color: #333;
}

.review-date {
    color: #999;
    font-size: 14px;
}

.review-investment {
    font-style: italic;
    color: #666;
    margin-bottom: 10px;
}

.review-ratings {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    padding: 12px;
}

.rating-item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.rating-label {
    margin-right: 5px;
    color: #666;
}

.rating-stars {
    color: #ffc107;
}

.review-content {
    color: #333;
    line-height: 1.6;
}

/* Review Form */
.review-form-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
}

.rating-input {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input label {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #ddd;
    border-radius: 50%;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rating-input input[type="radio"]:checked + label {
    background: #ff5a5f;
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .developer-info-column {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .nav-tabs .nav-link {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .tab-content {
        padding: 15px;
    }
}