/* ========================================
   BORU PROJECTS PAGE
   Portfolio/gallery with filterable projects and modals
   ======================================== */

/* Filter Section */
.boru-projects-filter {
    padding: 40px 0;
    background: white;
    border-bottom: 3px solid #f8f9fa;
}

.boru-filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.boru-filter-btn {
    background: white;
    color: #333;
    padding: 12px 28px;
    border: 2px solid #4ECDC4;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Roboto', sans-serif;
}

.boru-filter-btn:hover,
.boru-filter-btn.active {
    background: #4ECDC4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

/* Projects Grid */
.boru-projects-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.boru-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Project Card */
.boru-project-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.boru-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.boru-project-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.boru-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.boru-project-card:hover .boru-project-image img {
    transform: scale(1.1);
}

.boru-project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.boru-view-project-btn {
    background: #ffc107;
    color: #333;
    padding: 15px 30px;
    border: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.boru-view-project-btn:hover {
    background: #ffb81c;
    transform: scale(1.05);
}

.boru-project-info {
    padding: 25px;
}

.boru-project-type {
    background: #4ECDC4;
    color: white;
    padding: 6px 15px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.boru-project-info h3 {
    font-size: 22px;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;
}

.boru-project-client {
    color: #666;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.boru-project-client i {
    color: #4ECDC4;
}

/* Filter Animation - Hide/Show Projects */
.boru-project-card.hidden {
    display: none;
}

/* Project Modal */
.boru-project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow-y: auto;
    padding: 20px;
}

.boru-project-modal.active {
    display: block;
}

.boru-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9998;
}

.boru-modal-content {
    position: relative;
    background: white;
    max-width: 1000px;
    margin: 40px auto;
    border-radius: 8px;
    z-index: 9999;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.boru-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #333;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10000;
}

.boru-modal-close:hover {
    background: #4ECDC4;
    transform: rotate(90deg);
}

.boru-modal-header {
    padding: 40px 40px 30px 40px;
    border-bottom: 3px solid #f8f9fa;
}

.boru-modal-header h2 {
    font-size: 32px;
    color: #333;
    font-weight: 700;
    margin: 15px 0 10px 0;
    font-family: 'Roboto', sans-serif;
}

.boru-modal-body {
    padding: 40px;
}

/* Project Details Grid */
.boru-project-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.boru-detail-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #4ECDC4;
}

.boru-detail-section h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Roboto', sans-serif;
}

.boru-detail-section h3 i {
    color: #4ECDC4;
    font-size: 20px;
}

.boru-detail-section p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.boru-detail-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.boru-detail-section ul li {
    color: #666;
    font-size: 15px;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.boru-detail-section ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #4ECDC4;
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 14px;
}

/* Project Gallery */
.boru-project-gallery {
    margin-top: 50px;
}

/* Project Testimonial (within modal) */
.boru-project-testimonial {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 35px;
    border-radius: 8px;
    margin-top: 40px;
    border-left: 4px solid #ffc107;
    position: relative;
}

.boru-project-testimonial::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 40px;
    color: rgba(78, 205, 196, 0.15);
}

.boru-project-testimonial .boru-testimonial-stars {
    margin-bottom: 15px;
}

.boru-project-testimonial .boru-testimonial-stars i {
    color: #ffc107;
    font-size: 18px;
    margin-right: 3px;
}

.boru-project-testimonial blockquote {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    margin: 0 0 20px 0;
    padding: 0;
    border: none;
    font-family: 'Merriweather', serif;
}

.boru-project-testimonial cite {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    font-style: normal;
}

.boru-project-gallery h3 {
    font-size: 24px;
    color: #333;
    font-weight: 600;
    margin-bottom: 25px;
    font-family: 'Roboto', sans-serif;
}

.boru-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.boru-gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.boru-gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Gallery Lightbox */
.boru-gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.boru-gallery-lightbox.active {
    display: flex;
}

.boru-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10001;
}

.boru-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.boru-lightbox-prev,
.boru-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10001;
}

.boru-lightbox-prev {
    left: 20px;
}

.boru-lightbox-next {
    right: 20px;
}

.boru-lightbox-prev:hover,
.boru-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

#lightboxImage {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .boru-projects-filter {
        padding: 30px 0;
    }

    .boru-filter-buttons {
        gap: 10px;
    }

    .boru-filter-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .boru-projects-section {
        padding: 60px 0;
    }

    .boru-projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .boru-project-image {
        height: 250px;
    }

    .boru-project-details-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .boru-modal-content {
        margin: 20px auto;
    }

    .boru-modal-header,
    .boru-modal-body {
        padding: 30px 20px;
    }

    .boru-modal-header h2 {
        font-size: 26px;
    }

    .boru-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }

    .boru-gallery-grid img {
        height: 150px;
    }

    .boru-lightbox-prev {
        left: 10px;
    }

    .boru-lightbox-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .boru-filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .boru-project-info {
        padding: 20px;
    }

    .boru-project-info h3 {
        font-size: 20px;
    }

    .boru-modal-header h2 {
        font-size: 24px;
    }

    .boru-detail-section {
        padding: 20px;
    }

    .boru-detail-section h3 {
        font-size: 16px;
    }

    .boru-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #lightboxImage {
        max-width: 95%;
    }

    .boru-project-testimonial {
        padding: 25px;
    }

    .boru-project-testimonial blockquote {
        font-size: 15px;
    }

    .boru-project-testimonial::before {
        font-size: 30px;
        top: 15px;
        right: 15px;
    }
}