:root {
    /* --accent-color: #ff6f61; */
}

body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    /* padding: 20px; */
    /* background: linear-gradient(135deg, #1f1c2c, #928dab); */
    color: #fff;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    position: relative;
    background: #000000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    opacity: 0;
    animation: fadeIn 0.4s ease forwards;
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Add more delays for additional cards if needed */

@keyframes fadeIn {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.card img {
    display: block;
    width: 100%;
    cursor: pointer;
}

.badge {
    position: absolute;
    top: 10px;
    left: -30px;
    background: #ff6f61;
    color: #fff;
    padding: 8px 40px;
    font-weight: bold;
    text-transform: uppercase;
    transform: rotate(-20deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.info {
    padding: 12px;
    /* background: rgba(0, 0, 0, 0.6); */
}

.info h2 {
    font-size: 1.1rem;
    margin: 0 0 8px;
    color: white;
}

.info p {
    margin: 0;
    font-size: 0.9rem;
    color: #ddd;
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    margin-top: 5rem;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
}