/* Projects Section Integration Stylesheet */

/* Categories List & Archive Grid Layouts */
#building-project, #information-project, #project-detail {
    padding: 80px 0;
    background-color: #f9fbfd;
}

.building-title h2, .building-project-title h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 50px;
    letter-spacing: -1px;
}

/* Category & Project Cards */
.building-project-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 30px;
    height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
}

.building-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.building-project-card img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.building-project-card h4 {
    font-size: 22px;
    font-weight: 600;
    color: #334155;
    margin-top: 15px;
    line-height: 1.3;
}

.building-project-card a {
    text-decoration: none;
    width: 100%;
}

.slide-next-building-project-col {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

/* Circular Next/Prev Arrow Buttons */
.slide-next-building-project {
    background-color: #f1f5f9;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    outline: none;
}

.slide-next-building-project img {
    filter: none;
    width: 20px;
    height: 20px;
    margin: 0 !important;
}

.slide-next-building-project:hover {
    background-color: #334155;
}

.slide-next-building-project:hover img {
    filter: invert(1);
}

/* Listing Page Cards */
.card-list-img-h {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-top: 15px;
}

.card-list-img-h img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-list-img-h img {
    transform: scale(1.05);
}

.card-up-body {
    padding: 20px 0 10px 0;
}

.card-up-body h5.card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
}

.card-up-body h5.card-title span {
    font-size: 14px;
    color: #64748b;
    font-weight: 400;
}

.card-down-project {
    padding: 15px 0 0 0;
    display: flex;
    justify-content: flex-end;
}

/* Accordion Sidebar for Project Detail */
.accordion {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #fff;
    margin-bottom: 30px;
}

.accordion-item {
    border-bottom: 1px solid #e2e8f0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    width: 100%;
    padding: 16px 20px;
    background-color: #f8fafc;
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    border: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.accordion-button:not(.collapsed) {
    background-color: #f1f5f9;
    color: #334155;
}

.accordion-button::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #64748b;
    border-bottom: 2px solid #64748b;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-left: 10px;
}

.accordion-button:not(.collapsed)::after {
    transform: rotate(-135deg);
}

.accordion-collapse {
    display: none;
}

.accordion-collapse.show {
    display: block;
}

.accordion-body {
    padding: 10px 0;
    background: #ffffff;
}

/* Sidebar Project Hyperlink Elements */
.project-detail-bar-hyperlink {
    display: block;
    text-decoration: none;
    color: #475569;
    transition: all 0.2s ease;
}

.project-detail-bar {
    padding: 12px 25px;
    font-size: 14px;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
}

.project-detail-bar-hyperlink:hover .project-detail-bar {
    background-color: #f8fafc;
    color: #1e293b;
    border-left-color: #94a3b8;
}

.project-detail-bar-hyperlink-active .project-detail-bar,
.project-detail-bar-active {
    background-color: #f1f5f9;
    color: #0f172a;
    font-weight: 600;
    border-left-color: #334155;
}

/* Project Detail Layout (Gallery & Information Card) */
.project-card-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.project-card-img img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
}

.project-card-info {
    background-color: #1e293b;
    border-radius: 12px;
    padding: 40px;
    color: #f8fafc;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.project-card-info-title h5 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    border-bottom: 1px solid #334155;
    padding-bottom: 15px;
}

.project-card-left-info, .project-card-left-last-info,
.project-card-right-info, .project-card-right-last-info {
    font-size: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
}

.project-card-left-info span, .project-card-left-last-info span,
.project-card-right-info span, .project-card-right-last-info span {
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* Carousel Control Customizations */
.pointer-event-mt {
    position: relative;
}

.project-detail-section-pad .carousel-control-prev,
.project-detail-section-pad .carousel-control-next {
    width: 48px;
    height: 48px;
    background-color: rgba(30, 41, 59, 0.8) !important;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-detail-section-pad .carousel-control-prev:hover,
.project-detail-section-pad .carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(15, 23, 42, 1) !important;
}

.project-detail-section-pad .carousel-control-prev {
    left: 20px;
}

.project-detail-section-pad .carousel-control-next {
    right: 20px;
}

.carousel-indicators {
    margin-bottom: 20px;
}

.carousel-indicators [data-bs-target] {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    border: none;
    background-color: #cbd5e1;
}

.carousel-indicators .active {
    background-color: #334155;
}

/* Swiper Container for Mobile */
.building-project-swiper {
    padding: 30px 15px;
}

.building-projects-custom-swiper-pagination {
    margin-top: 20px;
    text-align: center;
}

.no-desktop {
    display: none;
}

@media (max-width: 767px) {
    .no-mobile {
        display: none !important;
    }
    .no-desktop {
        display: block !important;
    }
}
