
body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(135deg, #eaf7f0, #f3fbf7);
    text-align: center;
    color: #2f4f4f;
}

header {
    padding: 40px 20px;
}


.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    padding: 40px;
    max-width: 1200px;
    margin: auto;
}

.card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    text-decoration: none;
    color: #2f4f4f;
    transition: 0.35s;
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card h3 {
    padding: 12px;
    margin: 0;
    font-size: 18px;
}


.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.2);
}


.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox:target {
    display: flex;
}


.info-card {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    padding: 20px;
    position: relative;
    animation: zoomIn 0.4s ease;
}

.info-card img {
    width: 100%;
    border-radius: 15px;
}

.info-card h2 {
    margin: 15px 0 5px;
}

.info-card p {
    color: #555;
    font-size: 15px;
}


.close {
    position: absolute;
    top: 10px;
    right: 18px;
    font-size: 30px;
    text-decoration: none;
    color: #333;
}


footer {
    padding: 25px;
    color: #5f8575;
}


@keyframes zoomIn {
    from {
        transform: scale(0.85);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

