/**
 * POOM VILLA - Custom Quiet Luxury Styling
 * poomvilla.com
 */

/* Custom Luxury Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F8F6F2;
}
::-webkit-scrollbar-thumb {
    background: #D8C2A4;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C5A880;
}

/* Typography Enhancements */
h1, h2, h3, h4, .font-serif {
    font-family: 'Cormorant Garamond', 'Cinzel', 'Prompt', serif;
}

.font-display {
    font-family: 'Cinzel', serif;
}

/* High-End Photography & Image Enhancements */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.villa-photo-enhancement {
    filter: contrast(103%) saturate(104%) brightness(101%);
    transition: filter 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.villa-photo-enhancement:hover {
    filter: contrast(106%) saturate(108%) brightness(103%);
}

.hero-luxury-image {
    filter: contrast(105%) saturate(106%) brightness(98%);
}

/* Glassmorphic Cards */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 168, 128, 0.2);
}

.glass-dark {
    background: rgba(28, 29, 26, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(197, 168, 128, 0.25);
}

/* Subtle Gold Hover Glow */
.gold-glow:hover {
    box-shadow: 0 10px 25px -5px rgba(197, 168, 128, 0.3);
}

/* Modal Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.animate-fade-in {
    animation: fadeIn 0.2s ease-out forwards;
}

/* ==========================================================
   CONTENT & IMAGE COPY PROTECTION (Anti-Theft Security)
   ========================================================== */

/* Disable Text Selection Globally */
body, html {
    -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 inside Input, Textarea and Form Controls */
input, textarea, select, [contenteditable="true"] {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    -webkit-touch-callout: default !important;
}

/* Prevent Image Dragging and Ghost Previews */
img, picture, svg, video {
    -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: auto;
}

/* Image Shield Overlay helper */
.img-protect-shield {
    position: relative;
}
.img-protect-shield::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
    pointer-events: none;
}

/* Copyright Toast Alert */
#poom-protect-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(28, 29, 26, 0.95);
    border: 1px solid rgba(197, 168, 128, 0.4);
    color: #F8F6F2;
    padding: 10px 20px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#poom-protect-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
