.project-detail-section {
    padding: 40px 0 80px;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Project Header */
.project-header {
    margin-bottom: 40px;
}

.project-title-wrapper {
    text-align: center;
}

.project-title {
    font-size: 48px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px 0;
    letter-spacing: -1px;
    line-height: 1.2;
}

.project-code {
    font-size: 16px;
    color: #64748b;
    margin: 0;
}

.project-code span {
    color: #085DC5;
    font-weight: 600;
}

/* Main Image */
.project-main-image {
    width: 100%;
    margin-bottom: 60px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Project Tabs */
.project-tabs-wrapper {
    margin-bottom: 60px;
}

.project-tabs {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0;
    padding: 0;
    display: flex;
}

.project-tabs .nav-item {
    margin-bottom: -1px;
    flex: 1;
    width: 50%;
}

.project-tabs .nav-link {
    border: none;
    color: #64748b;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 24px;
    background: transparent;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    position: relative;
}

.project-tabs .nav-link:hover {
    color: #085DC5;
}

.project-tabs .nav-link.active {
    color: #085DC5;
    background: transparent;
}

.project-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 4px;
    background: #085DC5;
}

.project-tab-content {
    background: #ffffff;
    padding: 32px 0;
    min-height: 200px;
}

/* Project Details */
.project-details {
    background: #ffffff;
}

.section-heading {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 32px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.project-description {
    margin-bottom: 40px;
}

.description-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.description-content {
    font-size: 16px;
    color: #475569;
    line-height: 1.8;
    white-space: pre-wrap;
}

/* Timeline */
.project-timeline {
    margin-bottom: 40px;
}

.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #475569;
}

.timeline-item i {
    font-size: 20px;
    color: #085DC5;
}

.timeline-item strong {
    color: #1e293b;
    font-weight: 600;
}

/* Sidebar */
.project-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px 0;
}

.sidebar-content {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 24px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #085DC5 0%, #064a9a 100%);
    color: #ffffff;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(8, 93, 197, 0.25);
    width: 100%;
    justify-content: center;
}

.contact-button:hover {
    background: linear-gradient(135deg, #064a9a 0%, #053d7a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 93, 197, 0.35);
    color: #ffffff;
}

.contact-button i {
    font-size: 20px;
}

/* Gallery Section */
.project-gallery {
    margin-top: 60px;
}

/* Properties Content in Tab */
.project-properties-content {
    padding: 0;
}

.project-properties-content .properties-grid-section {
    padding: 0;
    background: transparent;
}

.project-properties-content .section-header {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 40px;
}

.project-properties-content .properties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0;
}

.project-properties-content .property-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.project-properties-content .property-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.project-properties-content .property-image {
    position: relative;
    width: 100%;
    padding-top: 66.67%;
    overflow: hidden;
    background: #e2e8f0;
}

.project-properties-content .property-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-properties-content .property-card:hover .property-image img {
    transform: scale(1.05);
}

.project-properties-content .property-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-properties-content .property-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-properties-content .property-address {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.project-properties-content .property-price {
    font-size: 20px;
    font-weight: 700;
    color: #085DC5;
    margin: 0 0 16px 0;
}

.project-properties-content .property-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #64748b;
}

.project-properties-content .property-detail-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-properties-content .property-detail-item i {
    font-size: 16px;
    color: #085DC5;
}

.project-properties-content .property-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #085DC5;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.project-properties-content .property-link:hover {
    color: #064a9a;
    gap: 10px;
}

.project-properties-content .property-link i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.project-properties-content .property-link:hover i {
    transform: translateX(4px);
}

.project-properties-skeleton {
    padding: 20px 0;
}

.project-properties-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.project-properties-pagination .pagination-btn {
    padding: 10px 16px;
    background: #f1f5f9;
    color: #1e293b;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-properties-pagination .pagination-btn:hover:not(:disabled) {
    background: #085DC5;
    color: #ffffff;
}

.project-properties-pagination .pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.project-properties-pagination .pagination-btn.active {
    background: #085DC5;
    color: #ffffff;
}

.project-properties-pagination .pagination-info {
    color: #1e293b;
    font-size: 14px;
    margin: 0 16px;
}

.project-properties-error {
    text-align: center;
    padding: 60px 0;
    width: 100%;
}

.empty-properties {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
    font-size: 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

/* Properties Grid Responsive */
@media (max-width: 1024px) {
    .project-properties-content .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .project-properties-content .properties-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-detail-section {
        padding: 20px 0 60px;
    }

    .project-title {
        font-size: 32px;
    }

    .section-heading {
        font-size: 24px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gallery-image {
        height: 200px;
    }

    .sidebar-card {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .project-title {
        font-size: 28px;
    }

    .project-code {
        font-size: 14px;
    }

    .description-content {
        font-size: 15px;
    }
}

