File size: 3,936 Bytes
730dc62 b085612 730dc62 b085612 730dc62 b085612 730dc62 b085612 730dc62 b085612 730dc62 | 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 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 | /* Custom Animations and Styles */
@keyframes fade-in {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes slide-in-right {
from {
opacity: 0;
transform: translateX(50px);
}
to {
opacity: 1;
transform: translateX(0);
}
}
@keyframes count-pulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}
.animate-fade-in {
animation: fade-in 1s ease-out forwards;
}
/* Smooth Scrolling */
html {
scroll-behavior: smooth;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
background: linear-gradient(to bottom, #008751, #006400);
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #006400;
}
/* Navigation Active State */
.nav-active {
background: rgba(255, 255, 255, 0.98) !important;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
/* Hero Text Shadow */
.text-shadow-lg {
text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
/* Card Hover Effects */
.event-card-hover {
transition: all 0.3s ease;
}
.event-card-hover:hover {
transform: translateY(-10px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/* Gradient Text Animation */
@keyframes gradient-shift {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
.animated-gradient {
background-size: 200% 200%;
animation: gradient-shift 3s ease infinite;
}
/* Button Shine Effect */
.btn-shine {
position: relative;
overflow: hidden;
}
.btn-shine::after {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: linear-gradient(
to right,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0.3) 50%,
rgba(255, 255, 255, 0) 100%
);
transform: rotate(30deg);
animation: shine 3s infinite;
}
@keyframes shine {
0% {
left: -100%;
}
20% {
left: 100%;
}
100% {
left: 100%;
}
}
/* Glass Morphism Enhancements */
.glass {
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
}
/* Route Card Hover Animation */
.route-card {
position: relative;
overflow: hidden;
}
.route-card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
transition: left 0.5s;
}
.route-card:hover::before {
left: 100%;
}
/* Mobile Menu Animation */
.mobile-menu-enter {
animation: slide-down 0.3s ease-out forwards;
}
@keyframes slide-down {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Image Loading Placeholder */
img {
background-color: #f1f5f9;
}
/* Focus States for Accessibility */
button:focus-visible,
a:focus-visible {
outline: 2px solid #008751;
outline-offset: 2px;
}
/* Selection Color */
::selection {
background: #008751;
color: white;
}
/* Print Styles */
@media print {
.no-print {
display: none !important;
}
body {
color: black;
background: white;
}
}
/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
} |