/* ========================================
   ADVANCED GALLERY CARDS STYLING
   Dark Blue & Gold Theme - Tell Projects
   ======================================== */

/* Advanced Gallery Card Container */
.gallery-card-advanced {
    background: linear-gradient(135deg, #0f2340 0%, #1a2f4f 100%) !important;
    border-radius: 20px;
    overflow: visible !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex !important;
    flex-direction: column;
    opacity: 1 !important;
    visibility: visible !important;
    border: 2px solid rgba(209, 160, 4, 0.2);
    position: relative;
    height: auto !important;
    min-height: auto !important;
    aspect-ratio: unset !important;
}

.gallery-card-advanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(209, 160, 4, 0.4), 0 10px 30px rgba(0, 0, 0, 0.6);
    border-color: rgba(209, 160, 4, 0.6);
}

.gallery-card-advanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #d1a004 0%, #f4c430 50%, #d1a004 100%);
    opacity: 1;
}

/* Image Wrapper */
.gallery-card-image-wrapper {
    position: relative;
    overflow: hidden !important;
    aspect-ratio: 16/9;
    max-height: 240px;
    min-height: 220px;
    background: #0a1628;
    border-radius: 20px 20px 0 0;
}

.gallery-card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease, filter 0.3s ease;
}

.gallery-card-advanced:hover .gallery-card-image-wrapper img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

/* Category Badge */
.project-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #d1a004 0%, #f4c430 100%);
    color: #0a1628 !important;
    padding: 12px 24px;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    box-shadow: 0 6px 20px rgba(209, 160, 4, 0.5);
    z-index: 2;
}

/* Date Badge */
.project-date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(10, 22, 40, 0.9);
    border: 2px solid rgba(209, 160, 4, 0.5);
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 2;
    backdrop-filter: blur(10px);
}

/* Card Content */
.gallery-card-content {
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
    background: linear-gradient(180deg, #0f2340 0%, #0a1628 100%);
}

/* Project Title */
.project-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0 0 20px 0;
    line-height: 1.3;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Project Description */
.project-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #ffffff !important;
    margin: 0 0 20px 0;
    padding: 24px 26px;
    background: rgba(15, 35, 64, 0.9);
    border-radius: 12px;
    border-left: 5px solid #d1a004;
    min-height: 120px;
    display: flex;
    align-items: center;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

/* Location Info */
.project-location-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 0;
}

.project-location {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    color: #d1a004 !important;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.project-location i {
    font-size: 22px;
    color: #f4c430;
}

/* Project Details Grid */
.project-details-grid {
    background: rgba(10, 22, 40, 0.6);
    border-radius: 12px;
    padding: 26px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    border: 2px solid rgba(209, 160, 4, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.project-detail-item {
    font-family: 'Montserrat', sans-serif;
}

.detail-label {
    font-size: 14px;
    color: #d1a004 !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.detail-value {
    font-size: 19px;
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* Key Features */
.project-features {
    font-family: 'Montserrat', sans-serif;
}

.features-label {
    font-size: 14px;
    color: #d1a004 !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.features-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.project-feature {
    background: linear-gradient(135deg, rgba(209, 160, 4, 0.3) 0%, rgba(244, 196, 48, 0.3) 100%);
    color: #ffffff !important;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(209, 160, 4, 0.6);
}

/* Customer Review */
.project-review {
    background: linear-gradient(135deg, rgba(209, 160, 4, 0.2) 0%, rgba(209, 160, 4, 0.1) 100%);
    border-left: 5px solid #d1a004;
    border-radius: 12px;
    padding: 22px 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.review-stars {
    color: #d1a004;
    font-size: 28px;
    margin-bottom: 12px;
    letter-spacing: 4px;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.review-customer {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff !important;
}

/* View Project Button */
.btn-view-project {
    width: 100%;
    background: linear-gradient(135deg, #d1a004 0%, #f4c430 100%);
    color: #0a1628 !important;
    border: none;
    padding: 22px 40px;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(209, 160, 4, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
}

.btn-view-project::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-view-project:hover::before {
    width: 400px;
    height: 400px;
}

.btn-view-project:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(209, 160, 4, 0.6);
}

.btn-view-project i {
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-card-content {
        padding: 26px 22px;
        gap: 18px;
    }

    .project-title {
        font-size: 26px;
    }

    .project-description {
        font-size: 16px;
        padding: 20px 22px;
        min-height: 110px;
    }

    .project-location {
        font-size: 18px;
    }

    .detail-label {
        font-size: 13px;
    }

    .detail-value {
        font-size: 17px;
    }

    .features-label {
        font-size: 13px;
    }

    .project-feature {
        font-size: 15px;
        padding: 12px 18px;
    }

    .review-stars {
        font-size: 24px;
    }

    .review-customer {
        font-size: 16px;
    }

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

    .project-category-badge,
    .project-date-badge {
        font-size: 12px;
        padding: 10px 18px;
    }

    .btn-view-project {
        padding: 20px 32px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .gallery-card-advanced {
        border-radius: 16px;
    }

    .project-title {
        font-size: 18px;
    }

    .project-description {
        font-size: 12.5px;
        min-height: 80px;
    }

    .project-category-badge {
        top: 15px;
        left: 15px;
        padding: 8px 14px;
        font-size: 10px;
    }

    .project-date-badge {
        top: 15px;
        right: 15px;
        padding: 8px 14px;
        font-size: 10px;
    }
}
