@import '../components/mentahan.css';
@import '../components/herosection.css';
@import '../components/backtotop.css';
@import '../components/navbar.css';
@import '../components/footer.css';


/* Gallery Content */
.gallery-grid {
    background-color: #ffffff;
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 5rem 0;
}

/* Section Header */
.gallery-grid .badge {
    font-weight: 500;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(67, 0, 255, 0.1);
}

.gallery-grid .display-5 {
    background: linear-gradient(135deg, #5d5d99, #a5a5ca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    display: inline-block;
    position: relative;
}


.gallery-grid .lead {
    color: #6c757d !important;
    line-height: 1.7;
    font-size: 16px;
}

/* Gallery Items */
.gallery-item {
    border: 2px solid #000;
    border-radius: 1rem !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: #d1d1d191;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-img-container {
    position: relative;
    overflow: hidden;
}

.gallery-img-container img {
    width: 100%;
    height: 250px;
    cursor: pointer;
    object-fit: cover;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    filter: saturate(0);
}

.gallery-img-container:hover img,
.gallery-img-container:focus img {
    filter: saturate(1);
}

.gallery-hover-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%) !important;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    width: 100%;
    height: 100%;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem;
}

.overlay-content {
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.1s;
}

/* Hover Effects */
.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item:hover .gallery-img-container {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover .gallery-hover-overlay {
    opacity: 1 !important;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-item:hover .overlay-content {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Content Styling */
.overlay-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.overlay-content .badge {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.35em 0.75em;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.overlay-content .badge.bg-primary {
    background: linear-gradient(135deg, #5D3EFF, #00F0FF);
    border-color: rgba(67, 0, 255, 0.3) !important;
}

.overlay-content .text-white-50 {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.gallery-item:hover .ri-arrow-right-s-line {
    transform: translateX(5px);
}

.ri-arrow-right-s-line {
    transition: transform 0.3s ease;
}

/* Transitions */
.transition-all {
    transition: all 0.3s ease;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .gallery-grid {
        padding: 3rem 0;
    }

    .gallery-grid .display-5 {
        font-size: 2.2rem;
    }

    .gallery-grid .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 767.98px) {
    .gallery-grid .display-5 {
        font-size: 2rem;
    }

    .overlay-content h3 {
        font-size: 1.3rem;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .gallery-grid .lead {
        font-size: 14px;
    }

    .overlay-content h3 {
        font-size: 1.25rem;
    }

    .overlay-content span {
        font-size: 0.9rem;
    }
}

#gallery {
    position: relative;
    width: 100%;
    min-height: 90vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: var(--bs-blue); */
}


/* Media Responsive */

/* X-Small devices (portrait phones, less than 576px) */
/* No media query for `xs` since this is the default in Bootstrap */

/* @media (max-width: 400px) {} */

@media (max-width: 576px) {
    .offcanvas {
        width: 100% !important;
        height: 100% !important;
    }

    .hero-content .badge {
        font-size: .4rem !important;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .text-gradient {
        font-size: 1.8rem;
    }
}

@media (max-width: 770px) {
    #gallery .gallery {
        font-size: 3rem !important;
    }

    #gallery .tekfo {
        font-size: 3rem !important;
    }

    #gallery .unipem {
        font-size: 13px !important;
    }

    .hero-content .badge {
        font-size: .7rem !important;
    }

    .footer_about {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .footer_about .row {
        text-align: center !important;
        gap: 20px !important;
    }

    .footer_about .col-md-4 {
        justify-content: center !important;
    }

    .footer_about .foot_desk {
        display: block !important;
    }

    .footer_about .copyright {
        font-size: 12px !important;
    }
}


/* @media (max-width: 992px) {} */

/* @media (max-width: 1200px) {} */

/* @media (max-width: 1400px) {} */