/* =============================================
   Mauri Tech Gallery - Creative Styles
   ============================================= */

/* Activity Showcase Container */
.mt-activity-showcase {
    margin: 30px 0;
}

/* Activity Header */
.mt-activity-header {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.mt-activity-title {
    margin: 0 0 8px 0;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mt-activity-date {
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Gallery Grid */
.mt-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 12px;
    padding: 15px 0;
}

.mt-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 1;
}

.mt-gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.mt-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.mt-gallery-item:hover img {
    transform: scale(1.15);
}

/* View All Button */
.mt-view-all-wrapper {
    text-align: center;
    margin-top: 30px;
}

.mt-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(17, 153, 142, 0.35);
    transition: all 0.3s ease;
}

.mt-view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(17, 153, 142, 0.5);
    color: white;
}

.mt-btn-icon {
    font-size: 1.3rem;
}

.mt-btn-arrow {
    transition: transform 0.3s ease;
}

.mt-view-all-btn:hover .mt-btn-arrow {
    transform: translateX(5px);
}

/* No Activities Message */
.mt-no-activities {
    text-align: center;
    padding: 50px;
    background: #f8f9fa;
    border-radius: 15px;
    color: #6c757d;
    font-size: 1.1rem;
}

/* Lightbox Styles */
.mt-lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.mt-lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.1);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

#mt-caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #eee;
    padding: 15px 0;
    font-size: 1.1rem;
}

.mt-close {
    position: fixed;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 45px;
    font-weight: 300;
    transition: all 0.3s;
    cursor: pointer;
    z-index: 100000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.mt-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* =============================================
   Archive Page Styles
   ============================================= */

.mt-archive-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.mt-archive-header {
    text-align: center;
    margin-bottom: 50px;
}

.mt-archive-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.mt-archive-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Activity Cards */
.mt-activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.mt-activity-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.mt-activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.mt-card-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    height: 200px;
    overflow: hidden;
}

.mt-card-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mt-activity-card:hover .mt-card-images img {
    transform: scale(1.1);
}

.mt-card-content {
    padding: 25px;
}

.mt-card-title {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

.mt-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.mt-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.mt-card-link:hover {
    gap: 12px;
}

/* RTL Support */
body.rtl .mt-btn-arrow {
    transform: rotate(180deg);
}

body.rtl .mt-view-all-btn:hover .mt-btn-arrow {
    transform: rotate(180deg) translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .mt-activity-title {
        font-size: 1.4rem;
    }

    .mt-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 8px;
    }

    .mt-view-all-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .mt-activities-grid {
        grid-template-columns: 1fr;
    }

    .mt-archive-title {
        font-size: 1.8rem;
    }
}