/**
 * Content Protection CSS
 * Texas Russian Blue Kennel - russianbluekennel.com
 * Prevents text selection and image dragging
 */

/* Disable text selection on all content */
body {
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE 10+ */
    user-select: none; /* Standard */
}

/* Re-enable selection for form inputs */
input,
textarea,
select,
option {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

/* Disable image dragging */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
    -webkit-touch-callout: none; /* iOS Safari */
}

/* Re-enable pointer events for clickable images inside links */
a img {
    pointer-events: auto;
}

/* Prevent image selection */
img::selection {
    background: transparent;
}

img::-moz-selection {
    background: transparent;
}

/* Disable text selection highlighting */
::selection {
    background: transparent;
    color: inherit;
}

::-moz-selection {
    background: transparent;
    color: inherit;
}

/* Prevent dragging on all elements */
* {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

/* Re-enable dragging for form elements */
input,
textarea,
select {
    -webkit-user-drag: auto !important;
    -khtml-user-drag: auto !important;
    -moz-user-drag: auto !important;
    -o-user-drag: auto !important;
    user-drag: auto !important;
}

/* Disable long-press context menu on mobile */
* {
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Re-enable for form inputs */
input,
textarea,
select {
    -webkit-touch-callout: default !important;
}

/* Ensure buttons and links remain clickable */
a,
button,
input[type="submit"],
input[type="button"],
.btn,
.button {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Ensure navigation remains functional */
nav,
nav *,
.navigation,
.navigation *,
.menu,
.menu * {
    pointer-events: auto !important;
}

/* Ensure form elements remain functional */
form,
form *,
.contact-form,
.contact-form * {
    pointer-events: auto !important;
}

/* Optional: Add watermark overlay on images */
.image-container {
    position: relative;
    display: inline-block;
}

.image-container::after {
    content: '© Texas Russian Blue Kennel';
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
    pointer-events: none;
    opacity: 0.7;
}

/* Prevent screenshot on some browsers (limited support) */
@media print {
    body {
        display: none !important;
    }
}

/* Additional protection for specific content areas */
.content,
.about-content,
.kitten-card,
.testimonial-card {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

