/* AJW Picture This - Custom Styles */

/* Remove Tailwind CDN warning */
body {
    font-family: Georgia, 'Times New Roman', serif;
}

/* Custom animations for smooth interactions */
.gallery-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

/* Progress bar animation */
#progressBar {
    transition: width 0.3s ease;
}

/* Modal backdrop animation */
.modal {
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Cart sidebar smooth slide */
#cartSidebar {
    transition: transform 0.3s ease;
}

/* Button hover effects */
button:not(:disabled):hover {
    opacity: 0.9;
}

/* Category filter active state */
.category-active {
    background-color: #000;
    color: #fff;
}

/* Image loading placeholder */
img {
    background-color: #f3f4f6;
}

/* Print for invoice/receipts */
@media print {
    header, .cart-sidebar, #adminPanel {
        display: none;
    }
}

/* Accessibility improvements */
button:focus,
input:focus,
select:focus {
    outline: 2px solid #000;
    outline-offset: 2px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem !important;
    }
    
    .nav-links {
        gap: 1rem;
    }
}

/* Image protection styles */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Prevent text selection on image containers */
.gallery-item,
.product-modal img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Add watermark notice */
.watermark-notice {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    font-size: 10px;
    border-radius: 3px;
    pointer-events: none;
}