/**
 * Watermark Protection System
 * Prevents easy image downloads with CSS watermark overlay
 */

.protected-image-container {
    position: relative;
    display: inline-block;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.protected-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

.watermark-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('watermark.webp');
    background-repeat: repeat;
    background-size: 300px 300px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 10;
    mix-blend-mode: multiply;
}

/* Prevent right-click context menu */
.protected-image-container img {
    -webkit-touch-callout: none;
}

/* Additional protection layer */
.protection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 15;
    cursor: default;
}

/* Disable drag and drop */
.protected-image-container * {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Print protection - hide watermark when printing */
@media print {
    .watermark-overlay {
        display: none !important;
    }
    .protection-overlay {
        display: none !important;
    }
}
