:root {
            --color-white: rgba(255, 255, 255, 1);
            --color-cream-50: rgba(252, 252, 249, 1);
            --color-cream-100: rgba(255, 255, 253, 1);
            --color-gray-200: rgba(245, 245, 245, 1);
            --color-gray-300: rgba(167, 169, 169, 1);
            --color-slate-500: rgba(98, 108, 113, 1);
            --color-slate-900: rgba(19, 52, 59, 1);
            --color-teal-500: rgba(33, 128, 141, 1);
            --color-teal-600: rgba(29, 116, 128, 1);
            --color-teal-700: rgba(26, 104, 115, 1);
            --color-focus-ring: rgba(33, 128, 141, 0.4);
            --space-16: 16px;
            --space-20: 20px;
            --space-24: 24px;
            --space-32: 32px;
            --radius-lg: 12px;
            --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
            --duration-normal: 250ms;
            --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
        }

         :root {
            --color-surface: var(--color-cream-100);
            --color-text: var(--color-slate-900);
            --color-text-secondary: var(--color-slate-500);
            --color-primary: var(--color-slate-500);
        }
/* General Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Body and Typography */
body {
  font-family: "Helvetica Neue", sans-serif;
  background-color: #f3f3f3;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  text-align: center;
  padding: 1rem 1rem;
  background: linear-gradient(180deg, #e0e0e0, #d4d4d4);
  border-bottom: 1px solid #ccc;
}

header h1 {
  font-weight: 600;
  font-size: 2rem;
  color: #111;
  margin-bottom: 0.5rem;
}

header p {
  color: #555;
}

/* Navigation (added for index2.html) */
header nav {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

button {
  padding: .4rem;
}

header nav a {
  text-decoration: none;
  color: #222;
  background: rgba(255, 255, 255, 0.6);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  font-weight: 500;
  transition: background 200ms ease, color 200ms ease, transform 150ms ease;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

header nav a:hover,
header nav a:focus {
  background: #222;
  color: #fff;
  transform: translateY(-2px);
}

header nav a.active {
  background: #222;
  color: #fff;
}

/* Active/anchor state styling (for in-page links) */
header nav a[href^="#"] {
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.06);
}

/* Collection header */
.collection-header {
  text-align: center;
  padding: 1rem 1rem;
  background: linear-gradient(180deg, #e0e0e0, #d4d4d4);
  border-bottom: 1px solid #ccc;
}

/* About section styling (target of #about) */
.about {
  max-width: 900px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.about h2 {
  margin-bottom: 0.75rem;
  color: #111;
}

.about p {
  color: #444;
}

/* Gallery Grid Layout */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Gallery Items */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #e6e6e6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

/* Hover Effect */
.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item:hover img {
  opacity: 0.9;
}

/* Photo Title Overlay */
.photo-title {
  position: absolute;
  bottom: 0;
  background: rgba(50, 50, 50, 0.7);
  color: #f3f3f3;
  width: 100%;
  text-align: center;
  padding: 0.6rem;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  background: #d8d8d8;
  color: #555;
  border-top: 1px solid #bbb;
}

.container {
            max-width: 800px;
            margin: 0 auto;

        }

.years-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: var(--space-20);
            margin-bottom: var(--space-32);
        }

.year-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-16);
    background-color: var(--color-surface);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    font-size: 1.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-standard);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--color-text);
    min-height: 80px;
}

.year-tile:hover {
    background-color: var(--color-primary);
    color: var(--color-surface);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.year-tile:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--color-focus-ring);
}

.year-tile:active {
    transform: translateY(-2px);
}

/* Carousel Modal Styles  */
/* Modal overlay */
.carousel-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.carousel-modal.show {
  display: flex;
}

.carousel-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

/* Modal content */
.carousel-modal-content {
  position: relative;
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  background: #000;
  display: flex;
  align-items: center;
  padding: 16px 30px;
  box-sizing: border-box;
}

/* Close button */
.carousel-close {
  position: absolute;
  top: 8px;
  right: 16px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  z-index: 2;
}

/* Prev/next buttons */
.carousel-btn {
  background: rgba(0, 0, 0, 0.4);
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.carousel-track-wrapper {
  overflow: hidden;
  flex: 1;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

/* Thumbnails clickable */
.thumb {
  cursor: pointer;
}
