
.hero{
    padding: 100px 20px 60px;
    margin-top: 138px;
    margin-bottom: 100px;
    text-align: center;
    background: #ffffff;
    color: #000000;
}

.case{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
    padding: 30px;
    background:white;   
    border-radius:20px;
    overflow:hidden;
    border: 1px solid #e5e7eb;
    margin-bottom:30px;
    cursor:pointer;

    transition:.25s;

    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.case:hover{
    transform:translateY(-5px);
}

.case img{
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius: 2rem;
}

.content{
    padding:30px;
}

.content h2{
    margin-top:0;
}

.content p{
    color:#64748b;
    line-height:1.7;
}

.badge{
    display:inline-block;
    margin-top:15px;
    background:#dcfce7;
    color:#16a34a;
    padding:6px 12px;
    border-radius:999px;
    font-size:13px;
}

/* MODAL */
.modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    backdrop-filter:blur(10px);
    align-items:center;
    justify-content:center;
    padding:20px;
    z-index:100;
}

.modal-box{
    background:white;
    width:100%;
    max-width:1100px;
    border-radius:20px;
    overflow:hidden;
}

.modal-header{
    background:#0b1220;
    color:white;
    padding:20px;
    display:flex;
    justify-content:space-between;
}

.modal-body{
    padding:25px;
}

.detail-layout{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:25px;
}

.detail-images{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.detail-images img{
    width:100%;
    height:180px;
    object-fit:cover;
    border-radius:14px;
    cursor:pointer;
}

.detail-images img:first-child{
    grid-column:span 2;
    height:260px;
}

.description-box{
    background:#f8fafc;
    border-radius:16px;
    padding:20px;
}

/* LIGHTBOX */
.lightbox{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.9);
    justify-content:center;
    align-items:center;
    z-index:999;
}

.lightbox img{
    max-width: 500px;
    max-height: 500px;
    width: 100%;
    height: 100%;
}

.close{
    cursor:pointer;
}

@media(max-width:900px){
    .case,
    .detail-layout{
        grid-template-columns:1fr;
    }
}