body {
    background: #fff;
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.gallery-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem 1rem;
}

.gallery-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #B22222;
    margin-bottom: 2rem;
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    justify-items: center;
}

.gallery-item {
    position: relative;
    width: 100%;
    max-width: 350px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-item:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 32px rgba(178,34,34,0.18);
}

.gallery-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    background: #f8f8f8;
}

.download-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.gallery-item:hover .download-overlay {
    opacity: 1;
}

.download-btn {
    background: #B22222;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.download-btn:hover {
    background: #FFD700;
    color: #B22222;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.download-btn i {
    font-size: 1.2rem;
}

/* Tablet - 2 columns */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-item {
        max-width: 100%;
    }

    .download-btn {
        width: 44px;
        height: 44px;
        min-height: 44px;
        min-width: 44px;
    }
}

/* Mobile - 1 column */
@media (max-width: 600px) {
    .gallery-main {
        padding: 1.5rem 0.5rem 2rem 0.5rem;
    }

    .gallery-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item {
        max-width: 100%;
    }

    .download-btn {
        width: 50px;
        height: 50px;
        min-height: 44px;
        min-width: 44px;
    }

    .download-btn i {
        font-size: 1.1rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .gallery-main {
        padding: 1rem 0.25rem 1.5rem 0.25rem;
    }

    .gallery-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .gallery-grid {
        gap: 0.75rem;
    }

    .download-btn {
        width: 44px;
        height: 44px;
        min-height: 44px;
        min-width: 44px;
    }
} 
} 