File size: 3,373 Bytes
3e93c1d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c737185
 
3e93c1d
 
c737185
 
3e93c1d
 
 
c737185
 
3e93c1d
 
 
c737185
 
3e93c1d
 
 
c737185
3e93c1d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
/* Custom Styles for SketchVerse */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f5f5f4;
}

.dark ::-webkit-scrollbar-track {
    background: #1c1917;
}

::-webkit-scrollbar-thumb {
    background: #a8a29e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #78716c;
}

/* Selection color */
::selection {
    background: #fde68a;
    color: #1c1917;
}

/* Image loading placeholder */
.img-skeleton {
    background: linear-gradient(90deg, #e7e5e4 25%, #d6d3d1 50%, #e7e5e4 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.dark .img-skeleton {
    background: linear-gradient(90deg, #292524 25%, #44403c 50%, #292524 75%);
    background-size: 200% 100%;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Gallery item hover effect */
.gallery-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

.gallery-item img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
    transform: scale(1.02);
}

/* Modal transitions */
#image-modal {
    transition: opacity 0.3s ease;
}

#image-modal.hidden {
    opacity: 0;
    pointer-events: none;
}

#image-modal:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

/* Pinch zoom for mobile */
.pinch-zoom {
    touch-action: none;
}

/* Safe area for iPhone X+ */
.pb-safe {
    padding-bottom: env(safe-area-inset-bottom);
}

/* Focus visible styles for accessibility */
*:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Custom cursor for gallery */
@media (hover: hover) {
    .gallery-item {
        cursor: zoom-in;
    }
}

/* Typography enhancements */
.font-serif {
    font-feature-settings: "liga" 1, "calt" 1;
}

/* Gradient text animation */
.animate-gradient {
    background-size: 200% auto;
    animation: gradient 3s linear infinite;
}

@keyframes gradient {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Stagger animation for gallery items */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

/* Mobile optimizations */
@media (max-width: 768px) {
    .gallery-item {
        margin-bottom: 1rem;
    }
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-primary-600 {
        color: #000;
    }
    
    .dark .text-primary-300 {
        color: #fff;
    }
    
    .bg-secondary-500 {
        background: #000;
    }
    
    .border-primary-200 {
        border-color: #000;
    }
}