/* Gallery-Specific Styles */
.hero-bg {
    background-image: url('assets/hero-gallery.jpeg') !important;
}

.gallery-snap {
    padding: 60px 0;
    background: #2d2d2d;
}

.gallery-container {
    padding: 0 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .item-overlay {
    opacity: 1;
}

.item-overlay h4 {
    color: #ff6b35;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 1.2em;
}

.item-overlay p {
    color: white;
    margin: 10px 0;
    line-height: 1.4;
}

.primary-button {
    background: #ff6b35;
    padding: 12px 24px;
    border-radius: 5px;
    margin-top: 20px;
    transition: transform 0.3s;
}

.primary-button:hover {
    transform: scale(1.05);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .item-overlay p {
        font-size: 0.9em;
    }
}