/* =================================
   CSS CHO TRANG DỰ ÁN
   ================================= */
:root {
    --primary-color: #F04527;
    --secondary-color: #17879b;
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--dark-color);
    background-color: #f9f9f9;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.text-secondary-custom {
    color: var(--secondary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.bg-secondary-custom {
    background-color: var(--secondary-color) !important;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.btn-primary-custom:hover {
    background-color: #d93e23;
    border-color: #d93e23;
    color: white;
}

.btn-secondary-custom {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-secondary-custom:hover {
    background-color: #147083;
    border-color: #147083;
    color: white;
}

/* =================================
   SECTION: PAGE HEADER (DÙNG CHUNG)
   ================================= */
.page-header-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://cuongthinhphatvn.com/image/2026/banner.webp');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 80px;
    margin-bottom: 60px;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .page-header-section {
        padding: 100px 0 60px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

/* =================================
   SECTION: PROJECT LIST (DANH SÁCH DỰ ÁN)
   ================================= */
.project-list-section {
    padding: 0 0 100px;
}

.section-title {
    color: var(--dark-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

.section-title.center:after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    color: var(--gray-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
}

/* FILTER STYLES */
.filter-section {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2.5rem;
}

.filter-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    background-color: var(--light-gray);
    border: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    color: var(--dark-color);
    transition: all 0.3s;
    cursor: pointer;
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

/* PROJECT CARD STYLES */
.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    margin-bottom: 30px;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-card-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-card-img {
    transform: scale(1.05);
}

.project-card-body {
    padding: 1.5rem;
}

.project-card-category {
    display: inline-block;
    background-color: rgba(240, 69, 39, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
    line-height: 1.4;
}

.project-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.project-card-title a:hover {
    color: var(--primary-color);
}

.project-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.project-card-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.project-card-excerpt {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-card-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.project-card-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.project-card-link:hover i {
    transform: translateX(5px);
}

/* PAGINATION STYLES */
.pagination-custom {
    margin-top: 3rem;
}

.page-link {
    color: var(--dark-color);
    border: 1px solid #dee2e6;
    margin: 0 5px;
    border-radius: 5px;
    font-weight: 600;
}

.page-link:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* =================================
   SECTION: PROJECT DETAIL (CHI TIẾT DỰ ÁN)
   ================================= */
.project-detail-section {
    padding: 0 0 100px;
}

.project-header {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 2.5rem;
    text-align: center;
}

.project-category-badge {
    display: inline-block;
    background-color: rgba(240, 69, 39, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.project-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    line-height: 1.3;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-color);
    font-size: 1rem;
}

.meta-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* GALLERY STYLES */
.main-gallery {
    margin-bottom: 3rem;
}

.main-gallery-img {
    width: 100%;
    height: 666px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.gallery-thumb {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    border: 3px solid transparent;
}

.gallery-thumb:hover, .gallery-thumb.active {
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* PROJECT DESCRIPTION */
.project-description {
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 3rem;
}

.description-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.description-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
}

.description-content p {
    margin-bottom: 1.5rem;
}

.description-content ul, .description-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.description-content li {
    margin-bottom: 0.8rem;
}

/* BACK TO PROJECTS BUTTON */
.back-to-projects {
    text-align: center;
    padding: 2rem 0;
}

/* =================================
   RESPONSIVE STYLES
   ================================= */
@media (max-width: 992px) {
    .project-meta {
        gap: 20px;
    }
    
    .meta-item {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .project-detail-title {
        font-size: 2rem;
    }
    
    .main-gallery-img {
        height: 350px;
    }
    
    .gallery-thumb {
        width: 100px;
        height: 75px;
    }
    
    .project-description {
        padding: 1.5rem;
    }
    
    .description-title {
        font-size: 1.5rem;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .project-card-img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .project-meta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .main-gallery-img {
        height: 250px;
    }
    
    .gallery-nav {
        gap: 10px;
    }
    
    .gallery-thumb {
        width: 80px;
        height: 60px;
    }
}