/* ========== Projects Page Styles ========== */

/* CSS Variables */
:root {
    --primary-gold: #e5ba4f;
    --primary-yellow: #d4af37;
    --text-primary: #222222;
    --text-secondary: #333333;
    --text-light: #747474;
    --white: #ffffff;
    --bg-cream: #faf8f5;
    --bg-light: #f5f5f5;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========== Hero Section ========== */
.projects-navbar-wrapper {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 625px;
}

.projects-navbar-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.64);
    z-index: 1;
}

/* .projects-navbar-wrapper .navbar {
    position: relative;
    z-index: 10;
    padding: 18px 0;
    background: rgba(0, 0, 0, 0.09);
    backdrop-filter: blur(1.5px);
} */

/* .projects-navbar-wrapper .navbar .nav-link {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.3s ease;
} */

.projects-navbar-wrapper .navbar .nav-link:hover,
.projects-navbar-wrapper .navbar .nav-link.active {
    color: var(--primary-gold);
    font-weight: 500;
}

.projects-hero-section {
    position: relative;
    z-index: 2;
    padding: 180px 0 100px;
}

.projects-hero-content {
    max-width: 650px;
}

.projects-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 67px;
    letter-spacing: 0.1px;
    color: var(--primary-gold);
    margin-bottom: 8px;
}

.projects-hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0.1px;
    color: var(--white);
    max-width: 670px;
}

/* ========== Breadcrumb Section ========== */
.breadcrumb-section {
    background: var(--white);
    padding: 30px 0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 3px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

.breadcrumb-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--primary-gold);
}

.breadcrumb-nav i {
    color: var(--text-secondary);
    font-size: 10px;
    margin: 0 5px;
}

.breadcrumb-nav span {
    color: var(--text-light);
    font-weight: 400;
}

/* ========== Projects Section ========== */
.projects-section {
    padding: 40px 0 60px;
    background: var(--white);
}

.projects-section .section-header {
    margin-bottom: 50px;
}

.section-badge {
    display: inline-flex;
    justify-content: center;
    margin-bottom: 14px;
}

.section-badge span {
    display: inline-block;
    padding: 15px 23px;
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.1), rgba(0, 0, 0, 0));
    border: 0.8px solid rgba(212, 175, 55, 0.2);
    border-radius: 26843546px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #d4af37;
}

.section-title-underline {
    font-family: "Playfair Display", serif;
    font-size: 36px;
    font-weight: 600;
    line-height: 44px;
    letter-spacing: 0.1px;
    /* color: var(--text-secondary); */
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.section-title-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: var(--underline-width, 256px);
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-yellow), var(--primary-yellow), transparent);
    border-radius: 26843546px;
    box-shadow: 0px 0px 30px 0px rgba(212, 175, 55, 0.5);
}

.section-subtitle {
    font-family: 'Inter';
    font-size: 16px;
    font-weight: 400;
    line-height: 36px;
    letter-spacing: 0.1px;
    color: #000000;
    max-width: 1200px;
    margin: 0 auto;
}

/* ========== Projects Grid ========== */
.projects-grid {
    margin-bottom: 40px;
}

.projects-grid .row {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 20px;
}

.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: none !important;
    height: auto;
    margin-bottom: 0px;
}

.project-card:hover {
    box-shadow: none !important;
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 60%;
    /* Aspect ratio 5:3 */
    overflow: hidden;
}

.project-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.project-card:hover .project-img {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    padding: 0;
}

.project-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.1px;
    text-transform: uppercase;
    color: black;
    line-height: 50px;
    margin: 0;
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: var(--primary-gold);
}

.project-line {
    width: 22px;
    height: 6px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(229, 186, 79, 0.1) 50%, rgba(255, 255, 255, 0));
    transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.3s ease;
}

.project-card:hover .project-line {
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), #e5ba4f 50%, rgba(255, 255, 255, 0));
}

/* ========== Pagination ========== */
.projects-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.pagination-dots {
    display: flex;
    gap: 5px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 4px;
    background: #dddddd;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 18px;
    background: var(--primary-gold);
}

.dot:hover {
    background: var(--primary-gold);
}

.pagination-arrows {
    display: flex;
    gap: 12px;
}

.arrow-btn {
    width: 45px;
    height: 43px;
    background: transparent;
    border: 1px solid #dddddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.arrow-btn i {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

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

.arrow-btn:hover i {
    color: var(--white);
}

/* ========== CTA Section ========== */
.cta-section {
    position: relative;
    padding: 224px 0;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../image/project-cta-bg.jpg) center/cover no-repeat;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 34, 34, 0.88);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-content {
    max-width: 890px;
    margin: 0 auto;
}

.cta-title {
    font-family: "Playfair Display", serif;
    font-size: 49px;
    font-weight: 600;
    line-height: 59px;
    color: var(--white);
    margin-bottom: 14px;
}

.cta-line {
    width: 548px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-yellow), var(--primary-yellow), transparent);
    border-radius: 26843546px;
    box-shadow: 0px 0px 30px 0px rgba(212, 175, 55, 0.5);
    margin: 0 auto 20px;
}


.cta-subtitle {
    font-family: 'Inter';
    font-size: 19px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: 0.1px;
    color: var(--white);
    margin-bottom: 23px;
}

.btn-cta {
    display: inline-block;
    padding: 14px 32px !important;
    min-width: 179px;
    background: #e5ba4f !important;
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-gold) !important;
    color: white !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 2px 10px rgba(229, 186, 79, 0.2);
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.btn-cta:hover {
    background: white;
    color: #e5ba4f !important;
    /* transform: translateY(-4px); */
    box-shadow: 0 12px 30px rgba(229, 186, 79, 0.5), 0 4px 15px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-gold);
}

.btn-cta:hover::before {
    left: 0;
}

.btn-cta:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 186, 79, 0.4);
}

/* ========== Responsive Styles ========== */
@media (max-width: 1200px) {
    .projects-hero-title {
        font-size: 48px;
        line-height: 56px;
    }

    .cta-title {
        font-size: 40px;
        line-height: 50px;
    }
}

@media (max-width: 992px) {
    .projects-hero-section {
        padding: 140px 0 80px;
    }

    .projects-hero-title {
        font-size: 42px;
        line-height: 50px;
    }

    .projects-navbar-wrapper {
        min-height: 550px;
    }

    .project-image-wrapper {
        padding-bottom: 55%;
    }

    .cta-section {
        padding: 150px 0;
        min-height: auto;
    }

    .cta-title {
        font-size: 36px;
        line-height: 44px;
    }

    .cta-line {
        width: 400px;
    }
}

@media (max-width: 768px) {
    .projects-hero-section {
        padding: 120px 0 60px;
    }

    .projects-hero-title {
        font-size: 36px;
        line-height: 44px;
    }

    .projects-hero-subtitle {
        font-size: 14px;
        line-height: 24px;
    }

    .projects-navbar-wrapper {
        min-height: 480px;
    }

    .section-title-underline {
        font-size: 24px;
        line-height: 36px;
    }

    .section-title-underline::after {
        width: var(--underline-width, 180px);
    }

    .project-image-wrapper {
        padding-bottom: 60%;
    }

    .project-title {
        font-size: 16px;
        line-height: 40px;
    }

    .cta-section {
        padding: 100px 0;
    }

    .btn-cta {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 160px;
    }

    .cta-title {
        font-size: 28px;
        line-height: 36px;
    }

    .cta-subtitle {
        font-size: 16px;
        line-height: 26px;
    }

    .cta-line {
        width: 280px;
    }

    .projects-pagination {
        flex-direction: column;
        gap: 20px;
        margin-top: -40px;
    }

    .pagination-dots {
        display: none;
    }
}

@media (max-width: 576px) {
    .projects-hero-section {
        padding: 100px 0 50px;
    }

    .projects-hero-title {
        font-size: 28px;
        line-height: 36px;
    }

    .projects-navbar-wrapper {
        min-height: 420px;
    }

    .section-title-underline {
        font-size: 20px;
        line-height: 30px;
    }

    .section-badge span {
        font-size: 9px;
        padding: 12px 18px;
        letter-spacing: 2px;
    }

    .project-image-wrapper {
        padding-bottom: 65%;
    }

    .cta-title {
        font-size: 24px;
        line-height: 32px;
    }

    .cta-subtitle {
        font-size: 14px;
        line-height: 24px;
    }

    .cta-line {
        width: 200px;
    }

    .btn-cta {
        padding: 10px 20px;
        font-size: 13px;
        min-width: 140px;
    }
}