Spaces:
Running
Running
File size: 2,633 Bytes
bbe4145 814454d bbe4145 814454d bbe4145 814454d bbe4145 814454d bbe4145 814454d bbe4145 | 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 | /* Custom animations and styles */
@keyframes fade-in {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-fade-in {
animation: fade-in 1s ease-out;
}
/* Carousel styles */
.carousel-container {
position: relative;
overflow: hidden;
}
.carousel-track {
display: flex;
gap: 1.5rem;
transition: transform 0.5s ease-in-out;
}
.carousel-slide {
flex-shrink: 0;
width: 100%;
}
@media (min-width: 768px) {
.carousel-slide {
width: calc(33.333% - 1rem);
}
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #B33A17;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #922f13;
}
/* Smooth scroll behavior */
html {
scroll-behavior: smooth;
}
/* Image hover effects */
.image-hover-zoom {
overflow: hidden;
}
.image-hover-zoom img {
transition: transform 0.5s ease;
}
.image-hover-zoom:hover img {
transform: scale(1.05);
}
/* Glassmorphism effect */
.glass {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
/* Text shadow for better readability on images */
.text-shadow {
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
/* Gradient overlay for images */
.gradient-overlay {
position: relative;
}
.gradient-overlay::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
pointer-events: none;
}
/* Custom focus styles */
.focus-ring:focus {
outline: 2px solid #B33A17;
outline-offset: 2px;
}
/* Loading animation */
.loading-pulse {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: .5;
}
}
/* Staggered animations */
.stagger-animation > * {
opacity: 0;
transform: translateY(20px);
animation: fadeInUp 0.6s ease forwards;
}
.stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation > *:nth-child(6) { animation-delay: 0.6s; }
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
} |