*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Libre Baskerville", Baskerville, "Baskerville Old Face", "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #2a2a2a;
  background-color: #faf8f5;
}

a {
  color: #8b4513;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
  color: #6b3410;
}

a:focus-visible {
  outline: 2px solid #c9a959;
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  margin: 0 0 1rem;
  line-height: 1.3;
  font-family: "Cormorant Garamond", "Libre Baskerville", Baskerville, Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 2.75rem;
  font-weight: 500;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #8b4513;
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 1000;
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
  text-decoration: none;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 100;
}

.home .site-header {
  background: transparent;
  border-bottom: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  letter-spacing: 0.05em;
}

.nav-logo:hover,
.nav-logo:focus {
  text-decoration: none;
  color: #c9a959;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid #c9a959;
  outline-offset: 2px;
}

.nav-toggle-icon {
  position: relative;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: background 0.2s;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s;
}

.nav-toggle-icon::before {
  top: -7px;
}

.nav-toggle-icon::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-icon::after {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  display: none;
  flex-basis: 100%;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
}

.nav-menu.is-open {
  display: flex;
}

.nav-menu a {
  display: block;
  padding: 0.5rem 0;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-menu a:hover,
.nav-menu a:focus {
  color: #c9a959;
  text-decoration: none;
}

.section {
  padding: 5rem 0;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #0a0a0a;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.7) 0%,
    rgba(10, 10, 10, 0.5) 50%,
    rgba(10, 10, 10, 0.8) 100%
  );
}

.hero-nav {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.75rem;
}

.hero-nav-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, border-color 0.3s;
}

.hero-nav-btn:hover,
.hero-nav-btn:focus {
  border-color: #fff;
}

.hero-nav-btn.active {
  background: #c9a959;
  border-color: #c9a959;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.hero-title {
  font-size: 4rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.03em;
  text-transform: none;
  margin-bottom: 0.5rem;
  font-family: "Cormorant Garamond", "Libre Baskerville", Baskerville, Georgia, serif;
}

.hero-tagline {
  font-size: 1.15rem;
  color: #c9a959;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-family: "Libre Baskerville", Baskerville, Georgia, serif;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.hero-cta {
  margin-top: 1rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.scroll-arrow {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  transform: rotate(45deg);
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: #8b4513;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid #8b4513;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  font-family: "Libre Baskerville", Baskerville, Georgia, serif;
}

.btn:hover,
.btn:focus {
  background: transparent;
  color: #8b4513;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 2px solid #c9a959;
  outline-offset: 2px;
}

.btn-secondary {
  background: transparent;
  color: #8b4513;
  border-color: #8b4513;
}

.btn-secondary:hover,
.btn-secondary:focus {
  background: #8b4513;
  color: #fff;
}

.work {
  background: #0a0a0a;
  color: #fff;
}

.work h2 {
  text-align: center;
  font-size: 2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.project-grid {
  display: grid;
  gap: 1.5rem;
}

.project-card {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a1a1a;
}

.project-image {
  position: absolute;
  inset: 0;
  transition: transform 0.4s ease;
}

.project-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.6) 50%,
    transparent 100%
  );
  opacity: 1;
  transition: opacity 0.3s;
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.project-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
  display: none;
}

.project-link {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a959;
}

.project-link:hover,
.project-link:focus {
  color: #fff;
}

.project-card:hover .project-image,
.project-card:focus-within .project-image {
  transform: scale(1.05);
}

.project-card:hover p,
.project-card:focus-within p {
  display: block;
}

.about {
  background: #fff;
}

.about h2 {
  font-size: 2rem;
  letter-spacing: 0.05em;
}

.about-content {
  max-width: 650px;
}

.about-content p {
  font-size: 1.1rem;
  color: #333;
}

.journal-teaser {
  background: #f5f5f5;
}

.journal-teaser h2 {
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.journal-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2rem;
}

.journal-entry {
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.journal-entry:last-child {
  border-bottom: none;
}

.journal-title {
  font-size: 1.25rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
  color: #1a1a1a;
}

.journal-title:hover,
.journal-title:focus {
  color: #8b4513;
}

.journal-entry time {
  display: block;
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.5rem;
}

.journal-entry p {
  color: #555;
  margin: 0;
}

.journal-page {
  padding-top: 8rem;
}

.journal-page h1 {
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.journal-intro {
  color: #666;
  margin-bottom: 3rem;
}

.journal-list-full .journal-entry {
  padding-bottom: 2.5rem;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  font-weight: 600;
}

.contact {
  background: #fff;
}

.contact h2 {
  font-size: 2rem;
  letter-spacing: 0.05em;
}

.contact-info {
  margin-bottom: 2.5rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.contact-form {
  max-width: 500px;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem;
  font-family: inherit;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #8b4513;
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.site-footer {
  padding: 2rem 0;
  background: #0a0a0a;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.6);
}

.site-footer a:hover,
.site-footer a:focus {
  color: #c9a959;
}

.back-to-top {
  font-size: 0.85rem;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeSlideUp 0.8s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.animate-bounce {
  animation: bounce 2s ease-in-out infinite;
}

@media (min-width: 600px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-basis: auto;
    flex-direction: row;
    gap: 2rem;
    padding-top: 0;
  }

  .nav-menu a {
    padding: 0;
  }

  .hero-title {
    font-size: 5rem;
  }

  .hero-tagline {
    font-size: 1.5rem;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card p {
    display: block;
  }

  .site-footer .container {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 900px) {
  .hero-title {
    font-size: 6rem;
  }

  .section {
    padding: 6rem 0;
  }

  .project-card {
    aspect-ratio: 16 / 9;
  }

  .project-card h3 {
    font-size: 1.75rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid-full {
    grid-template-columns: repeat(3, 1fr);
  }

  .blog-layout {
    grid-template-columns: 200px 1fr;
  }
}

.gallery-teaser {
  background: #f5f5f5;
}

.gallery-teaser h2 {
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-grid-full {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  display: block;
  background: #1a1a1a;
}

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

.gallery-item:hover img,
.gallery-item:focus img {
  transform: scale(1.05);
  opacity: 0.8;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay,
.gallery-item:focus .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
}

.gallery-page {
  padding-top: 8rem;
}

.gallery-page h1 {
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.gallery-intro {
  color: #666;
  margin-bottom: 2rem;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid #ccc;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.filter-btn:hover,
.filter-btn:focus {
  border-color: #8b4513;
  color: #8b4513;
}

.filter-btn.active {
  background: #8b4513;
  border-color: #8b4513;
  color: #fff;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  transition: color 0.2s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: #c9a959;
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.blog-teaser {
  background: #fff;
}

.blog-teaser h2 {
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.blog-page {
  padding-top: 8rem;
}

.blog-page h1 {
  font-size: 2.5rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.blog-intro {
  color: #666;
  margin-bottom: 2rem;
}

.blog-layout {
  display: grid;
  gap: 3rem;
}

.blog-sidebar h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: #333;
}

.tag-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tag-link {
  font-size: 0.9rem;
  color: #555;
  padding: 0.25rem 0;
  transition: color 0.2s;
}

.tag-link:hover,
.tag-link:focus,
.tag-link.active {
  color: #8b4513;
  text-decoration: none;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-entry {
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}

.blog-entry:last-child {
  border-bottom: none;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.blog-title:hover,
.blog-title:focus {
  color: #8b4513;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.blog-meta time {
  font-size: 0.85rem;
  color: #777;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: #f0f0f0;
  color: #555;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.tag:hover,
.tag:focus {
  background: #8b4513;
  color: #fff;
  text-decoration: none;
}

.blog-entry p {
  color: #555;
  margin: 0;
}

/* Article/Post Content Styles */
.post {
  padding-top: 8rem;
  padding-bottom: 4rem;
}

.post .container {
  max-width: 680px;
}

.post-header {
  margin-bottom: 3rem;
  text-align: center;
}

.post-featured-image {
  display: block;
  margin-top: 2rem;
  width: 100%;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.post-title {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.reading-time {
  color: #666;
  font-size: 0.9rem;
}

.reading-time::before {
  content: "•";
  margin: 0 0.5rem;
}

.post-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  color: #777;
  font-size: 0.9rem;
}

.post-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
}

.post-content h1 {
  display: none;
}

.post-content h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #1a1a1a;
}

.post-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid #c9a959;
  background: #faf8f5;
  font-style: italic;
  color: #555;
}

.post-content blockquote p {
  margin-bottom: 0;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content ul {
  list-style: disc;
}

.post-content ol {
  list-style: decimal;
}

.post-content em {
  font-style: italic;
}

.post-content strong {
  font-weight: 700;
}

.post-content a {
  color: #8b4513;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-content a:hover {
  color: #6b3410;
}

.related-posts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.related-posts h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #333;
}

.related-posts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.related-posts li {
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.related-posts a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
}

.related-posts a:hover {
  color: #666;
}

.related-posts time {
  font-size: 0.85rem;
  color: #888;
}

.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #ddd;
}

.post-footer .back-link {
  font-weight: 600;
}

@media (min-width: 600px) {
  .post-title {
    font-size: 3rem;
  }
}

@media (min-width: 900px) {
  .post-title {
    font-size: 3.5rem;
  }
  
  .post-content {
    font-size: 1.2rem;
  }
}

/* Galleries List Styles */
.galleries-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.gallery-card {
  display: block;
  background: #fff;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  text-decoration: none;
}

.gallery-card:hover,
.gallery-card:focus {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  text-decoration: none;
}

.gallery-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a1a1a;
}

.gallery-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-card-image img {
  transform: scale(1.05);
}

.gallery-card-content {
  padding: 1.5rem;
}

.gallery-card-content h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.gallery-card-content p {
  color: #666;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.gallery-card-count {
  font-size: 0.85rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gallery-caption {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

@media (min-width: 600px) {
  .galleries-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .galleries-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
