/**
 * Gallery Highlight Styles
 * Styles for highlighting grenzstein items in gallery
 * Copyright (c) 2023-2025 Christian Werner, WERNER.Solutions <office@werner.solutions>
 */

/* Highlighted item from detail page */
.grenz li.g.highlighted {
    background-color: #fffacd;
    border: 2px solid #4CAF50;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* Pulse animation for attention */
.grenz li.g.pulse {
    animation: pulse 0.5s ease 3;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 20px 10px rgba(76, 175, 80, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Hover effect */
.grenz li.g.hover {
    background-color: #f5f5f5;
    transition: background-color 0.2s ease;
}

/* Button styles for detail page */
.grenzstein-actions {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    text-align: center;
}

.grenzstein-actions .button {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.grenzstein-actions .gallery-link {
    background: #4CAF50;
    color: white;
}

.grenzstein-actions .gallery-link:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.grenzstein-actions .map-link {
    background: #2196F3;
    color: white;
}

.grenzstein-actions .map-link:hover {
    background: #0b7dda;
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

/* Mobile responsive */
@media (max-width: 767px) {
    .grenzstein-actions .button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .grenzstein-actions .map-link {
        margin-left: 0;
    }
}