/* photos/css/style.css */

/* Fonts & Theme variables */
:root {
    /* Burgundy & Gold Wedding Palette */
    --brand-burgundy: 110 28 36;       /* #6E1C24 */
    --brand-burgundy-light: 140 38 46; /* #8C262E */
    --brand-cream: 255 253 247;        /* #FFFDF7 */
    --brand-gold: 194 155 64;          /* #C29B40 */
    --brand-gold-light: 228 199 152;   /* #E4C798 */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(var(--brand-burgundy), 0.03);
}
::-webkit-scrollbar-thumb {
    background: rgba(var(--brand-burgundy), 0.2);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--brand-burgundy), 0.4);
}

/* Glassmorphism Cards */
.glass-panel {
    background: rgba(255, 253, 247, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(194, 155, 64, 0.25);
    box-shadow: 0 8px 32px 0 rgba(110, 28, 36, 0.05);
}

.glass-panel-dark {
    background: rgba(110, 28, 36, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(228, 199, 152, 0.2);
}

/* Dropzone Hover Effects */
.dropzone {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.dropzone.dragover {
    background: rgba(194, 155, 64, 0.08);
    border-color: rgb(var(--brand-gold));
    transform: scale(1.02);
}

/* Gold Gradient Button */
.btn-gold {
    background: linear-gradient(135deg, #E4C798 0%, #C29B40 50%, #A47D2E 100%);
    background-size: 200% auto;
    transition: all 0.3s ease;
    color: #FFFDF7;
    box-shadow: 0 4px 15px rgba(194, 155, 64, 0.2);
}
.btn-gold:hover {
    background-position: right center;
    box-shadow: 0 6px 20px rgba(194, 155, 64, 0.35);
    transform: translateY(-1px);
}
.btn-gold:active {
    transform: translateY(1px);
}

/* Confetti & Micro-Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}
.animate-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-in-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Gallery Hover Controls */
.gallery-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(110, 28, 36, 0.1);
}

/* Security: Download Deterrents */
.secure-image-container {
    position: relative;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* The transparent overlay on top of the image to block right clicks and dragging */
.secure-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 10;
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

/* Force image to block drag events and ignore mouse inputs */
.secure-img {
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

/* Modal and Slideshow transitions */
.lightbox-modal {
    transition: opacity 0.3s ease;
}

/* Skeleton loader for lazy-loaded images */
.skeleton {
    background: linear-gradient(90deg, #F3F1EB 25%, #EBE8E0 50%, #F3F1EB 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}
@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Styling the image upload queue items */
.queue-item {
    transition: all 0.3s ease;
}
.queue-item.success {
    border-color: #10B981;
    background-color: rgba(16, 185, 129, 0.02);
}
.queue-item.error {
    border-color: #EF4444;
    background-color: rgba(239, 68, 68, 0.02);
}
