/* 
    Proof of Delivery Gallery Styles 
    Krogermeds
*/

.pod-section {
    padding: 60px 0;
}

.pod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.pod-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 2px solid #008c99; /* Blue border from image */
    padding: 0;
}

.pod-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.pod-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f8fafc;
}

.pod-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pod-card:hover .pod-img-wrapper img {
    transform: scale(1.05);
}

.pod-info {
    padding: 15px;
    text-align: center;
}

.pod-info h4 {
    margin: 0;
    font-size: 16px;
    color: #1e293b;
    font-weight: 700;
}

.pod-info p {
    margin: 5px 0 0;
    font-size: 13px;
    color: #64748b;
}

/* Responsive */
/* Lightbox Modal Styles */
.pod-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.pod-modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    border: 5px solid #fff;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pod-modal.active {
    display: flex;
}

.pod-modal.active .pod-modal-content {
    transform: scale(1);
}

.pod-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.pod-modal-close:hover {
    color: #008c99;
    transform: rotate(90deg);
}

@media (max-width: 992px) {
    .pod-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .pod-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .pod-modal-content {
        max-width: 95%;
        border-width: 3px;
    }
    .pod-img-wrapper {
        height: 180px;
    }
    .pod-info h4 {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .pod-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .pod-img-wrapper {
        height: 220px;
    }
    .pod-modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}
