/*
Template Name: Crystal Interior
File: Layout CSS
Author: TemplatesOnWeb
Author URI: https://www.templateonweb.com/
Licence: <a href="https://www.templateonweb.com/license">Website Template Licence</a>
*/

/*********************about****************/
.center_proj {
    /* Background handled by global.css universal header */
}

/*********************Project Grid Styles****************/

/* Project Card Container */
.project_card {
    border-radius: 0.5rem;
    /* rounded-3 */
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
    /* shadow */
    margin-bottom: 1.5rem;
    /* mb-4 */
    background: #0F172A;
    /* Dark fallback */
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 400px;
    /* Default height */
}

/* Image Styles */
.project_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Overlay Styles */
.project_overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 60%);
    opacity: 0.9;
    transition: all 0.4s ease;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

/* Hover Effects */
.project_card:hover .project_img {
    transform: scale(1.1);
}

.project_card:hover .project_overlay {
    background: linear-gradient(to top, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0.5) 100%);
    opacity: 1;
}

/* Hidden Link Animation */
.project_hidden_link {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    margin-top: 0;
    opacity: 0;
}

.project_card:hover .project_hidden_link {
    max-height: 50px;
    margin-top: 1rem;
    opacity: 1;
}

/* Utilities */
.transition_all {
    transition: all 0.4s ease;
}

.object-fit-cover {
    object-fit: cover !important;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}