/**
 * Copy Protection Styles for Natroy Website
 * Prevents text selection and copying via CSS
 */

/* Disable text selection globally */
* {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
}

/* Allow selection only in form inputs and textareas */
input,
textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
.allow-select {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

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

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

/* Disable image dragging */
img {
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
    pointer-events: none !important;
}

/* Allow clicking on images that are links */
a img {
    pointer-events: auto !important;
}

/* Disable right-click on images */
img {
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
}

/* Hide content when printing */
@media print {
    body {
        display: none !important;
        visibility: hidden !important;
    }
    
    body:after {
        content: "Printing is disabled for this website" !important;
        display: block !important;
        visibility: visible !important;
        font-size: 24px !important;
        color: #000 !important;
        text-align: center !important;
        padding: 50px !important;
    }
}

/* Cursor changes for protected content */
body {
    cursor: default !important;
}

/* Prevent text cursor on hover */
p, span, div, h1, h2, h3, h4, h5, h6, a, li, td, th {
    cursor: default !important;
}

/* Keep pointer cursor for interactive elements */
a, button, input[type="submit"], input[type="button"], .btn, .button {
    cursor: pointer !important;
}

/* Disable pointer events on decorative elements */
.decoration,
.shape,
.bg-shape,
.overlay {
    pointer-events: none !important;
}

/* Blur content when developer tools might be open */
body.devtools-open {
    filter: blur(5px) !important;
    pointer-events: none !important;
}

/* Warning overlay for developer tools */
body.devtools-open::before {
    content: "Developer tools detected. Content protected." !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: rgba(0, 0, 0, 0.9) !important;
    color: white !important;
    padding: 30px !important;
    font-size: 24px !important;
    z-index: 999999 !important;
    border-radius: 10px !important;
    pointer-events: none !important;
}

/* Disable text selection on mobile */
@media (max-width: 768px) {
    body {
        -webkit-touch-callout: none !important;
    }
    
    * {
        -webkit-tap-highlight-color: transparent !important;
    }
}