Changed around line 1
+ :root {
+ --primary-color: #2c3e50;
+ --accent-color: #3498db;
+ --text-color: #333;
+ --background-color: #f5f6fa;
+ --transition-speed: 0.3s;
+ }
+
+ * {
+ margin: 0;
+ padding: 0;
+ box-sizing: border-box;
+ }
+
+ body {
+ font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
+ background: var(--background-color);
+ color: var(--text-color);
+ line-height: 1.6;
+ }
+
+ header {
+ background: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ position: sticky;
+ top: 0;
+ z-index: 100;
+ box-shadow: 0 2px 10px rgba(0,0,0,0.1);
+ }
+
+ h1 {
+ font-size: 2.5rem;
+ font-weight: 300;
+ letter-spacing: 2px;
+ margin-bottom: 1rem;
+ }
+
+ .view-toggle {
+ background: transparent;
+ border: 2px solid white;
+ color: white;
+ padding: 0.5rem 1rem;
+ border-radius: 25px;
+ cursor: pointer;
+ transition: all var(--transition-speed);
+ }
+
+ .view-toggle:hover {
+ background: white;
+ color: var(--primary-color);
+ }
+
+ .gallery-container {
+ max-width: 1400px;
+ margin: 2rem auto;
+ padding: 0 1rem;
+ }
+
+ .gallery {
+ display: grid;
+ grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
+ gap: 2rem;
+ padding: 1rem;
+ }
+
+ .gallery.list-view {
+ grid-template-columns: 1fr;
+ }
+
+ .gallery-item {
+ position: relative;
+ overflow: hidden;
+ border-radius: 10px;
+ box-shadow: 0 5px 15px rgba(0,0,0,0.1);
+ transition: transform var(--transition-speed);
+ }
+
+ .gallery-item:hover {
+ transform: translateY(-5px);
+ }
+
+ .gallery-item img {
+ width: 100%;
+ height: 300px;
+ object-fit: cover;
+ display: block;
+ }
+
+ .gallery-item figcaption {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ padding: 1rem;
+ background: linear-gradient(transparent, rgba(0,0,0,0.7));
+ color: white;
+ transform: translateY(100%);
+ transition: transform var(--transition-speed);
+ }
+
+ .gallery-item:hover figcaption {
+ transform: translateY(0);
+ }
+
+ footer {
+ text-align: center;
+ padding: 2rem;
+ background: var(--primary-color);
+ color: white;
+ margin-top: 2rem;
+ }
+
+ @media (max-width: 768px) {
+ h1 {
+ font-size: 2rem;
+ }
+
+ .gallery {
+ grid-template-columns: 1fr;
+ }
+
+ .gallery-item img {
+ height: 250px;
+ }
+ }