/* Modern Investment Single View Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-bg: #f8f9fa;
    --dark-bg: #343a40;
    --text-color: #333;
    --light-text: #6c757d;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

/* Hero Section */
.investment-hero-section {
    position: relative;
    margin-bottom: 30px;
    background-color: var(--dark-bg);
}

.investment-hero-image {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.investment-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.investment-status-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    z-index: 10;
}

.status-planned {
    background-color: #f39c12;
}

.status-ongoing {
    background-color: #3498db;
}

.status-completed {
    background-color: #2ecc71;
}

/* Main Content */
.investment-detail {
    margin-bottom: 60px;
}

.investment-header {
    margin-bottom: 40px;
}

.entry-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.investment-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.investment-meta-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: var(--text-color);
}

.investment-meta-item i {
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 18px;
}

.investment-meta-item span {
    font-weight: 600;
    margin-right: 5px;
}

.investment-meta-item a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.investment-meta-item a:hover {
    color: var(--accent-color);
}

/* Section Titles */
.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-bg);
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 10px;
    color: var(--secondary-color);
}

/* Investment Overview */
.investment-overview {
    margin-bottom: 50px;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
}

/* Property Filters */
.property-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.property-filter {
    padding: 8px 16px;
    border: 1px solid var(--light-bg);
    background-color: white;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.property-filter:hover {
    background-color: var(--light-bg);
}

.property-filter.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

/* Property Grid */
.property-grid {
    margin-bottom: 50px;
}

.property-item-wrapper {
    margin-bottom: 30px;
}

.property-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

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

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

.property-price {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--accent-color);
    color: white;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 18px;
    border-top-left-radius: var(--border-radius);
}

.property-price .currency {
    font-size: 14px;
    font-weight: 400;
}

.property-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.property-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.property-content h4 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.property-content h4 a:hover {
    color: var(--secondary-color);
}

.property-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.property-spec {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--light-text);
}

.property-spec i {
    width: 20px;
    margin-right: 8px;
    color: var(--secondary-color);
}

.property-btn {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
}

.property-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Gallery */
.investment-gallery {
    margin-bottom: 50px;
}

.gallery-grid {
    margin-bottom: 30px;
}

.gallery-item {
    margin-bottom: 20px;
}

.gallery-link {
    display: block;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.gallery-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

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

.gallery-link:hover img {
    transform: scale(1.05);
}

/* Sidebar */
.investment-sidebar {
    position: sticky;
    top: 30px;
}

.sidebar-widget {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--light-bg);
}

/* Contact Widget */
.contact-widget p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.btn {
    display: flex;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
    height: 37px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.btn:hover {
    background-color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-outline-primary {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-primary:hover {
    background-color: var(--secondary-color);
    color: white;
}

/* Developer Widget */
.developer-logo {
    margin-bottom: 15px;
    text-align: center;
}

.developer-logo img {
    max-height: 80px;
    max-width: 100%;
}

.developer-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.developer-name a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.developer-name a:hover {
    color: var(--secondary-color);
}

.developer-website {
    margin-bottom: 20px;
    text-align: center;
}

.developer-website a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.developer-website a:hover {
    color: var(--accent-color);
}

/* Map Widget */
.investment-map {
    height: 250px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Responsive */
@media (max-width: 991px) {
    .investment-hero-image {
        height: 400px;
    }
    
    .entry-title {
        font-size: 30px;
    }
    
    .investment-sidebar {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .investment-hero-image {
        height: 300px;
    }
    
    .entry-title {
        font-size: 26px;
    }
    
    .investment-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .property-filters {
        justify-content: center;
    }
    
    .property-item-wrapper {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}