/* Gallery page styles */

.gallery-hero {
  background: linear-gradient(135deg, #0B0A0A 0%, #2C0A0A 100%);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-9) var(--gutter-desktop);
  text-align: center;
}

.gallery-hero__inner {
  max-width: 600px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.gallery-hero h1 {
  margin-bottom: 0;
  color: var(--text-crisp-white);
}

.gallery-hero p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
}

.gallery-intro {
  background-color: var(--bg-burgundy);
  padding: var(--space-8) 0;
}

.gallery-intro__inner {
  display: flex;
  justify-content: flex-start;
}

.gallery-intro__content {
  max-width: 500px;
  text-align: left;
}

.gallery-intro__content h2 {
  margin-bottom: var(--space-4);
  position: relative;
  padding-bottom: var(--space-3);
}

.gallery-intro__content h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  background-color: var(--accent-brass);
}

.gallery-intro__content p {
  margin-bottom: 0;
  color: var(--text-crisp-white);
}

.gallery-section {
  padding: var(--space-9) 0;
}

.gallery-section--felt {
  background-color: rgba(27, 94, 32, 0.08);
}

.gallery-section__header {
  margin-bottom: var(--space-6);
  text-align: left;
}

.gallery-section__header h2 {
  margin-bottom: var(--space-3);
  position: relative;
  padding-bottom: var(--space-3);
}

.gallery-section__header h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  background-color: var(--accent-brass);
}

.gallery-section__header p {
  margin-bottom: 0;
  color: var(--text-muted);
  max-width: 800px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
}

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

.gallery-grid--tasting,
.gallery-grid--cards,
.gallery-grid--bar,
.gallery-grid--interior {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.gallery-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--accent-brass);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card), var(--shadow-inner);
  transition: transform var(--transition-slow), border-color var(--transition-fast);
  cursor: pointer;
}

.gallery-item img:hover {
  transform: scale(1.02);
  border-color: var(--text-crisp-white);
}

.gallery-item figcaption {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
  margin-top: var(--space-2);
  margin-bottom: 0;
}

.gallery-cta {
  background-color: var(--bg-burgundy);
  padding: var(--space-9) var(--gutter-desktop);
  text-align: center;
}

.gallery-cta__inner {
  max-width: 600px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.gallery-cta h2 {
  margin-bottom: 0;
}

.gallery-cta p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.gallery-cta__button {
  margin-top: var(--space-2);
}

.gallery-reservation-info {
  padding: var(--space-9) 0;
}

.gallery-reservation-info__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
  align-items: start;
}

.gallery-reservation-info__text {
  max-width: 500px;
  text-align: left;
}

.gallery-reservation-info__text h2 {
  margin-bottom: var(--space-4);
  position: relative;
  padding-bottom: var(--space-3);
}

.gallery-reservation-info__text h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  background-color: var(--accent-brass);
}

.gallery-reservation-info__text p {
  margin-bottom: 0;
}

.gallery-reservation-info__details {
  min-width: 0;
}

.gallery-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.gallery-contact-list li {
  margin-bottom: 0;
  color: var(--text-crisp-white);
  font-size: 16px;
  line-height: 1.6;
}

.gallery-contact-list__label {
  display: inline-block;
  min-width: 80px;
  color: var(--accent-brass);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Lightbox overlay */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 10, 10, 0.9);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
}

.gallery-lightbox__content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.gallery-lightbox__image {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--accent-brass);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
}

.gallery-lightbox__caption {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  margin: 0;
}

.gallery-lightbox__close {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-obsidian);
  border: 1px solid var(--accent-brass);
  color: var(--accent-brass);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  z-index: 10;
}

.gallery-lightbox__close:hover {
  background-color: var(--accent-brass);
  color: var(--bg-obsidian);
}

.gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-obsidian);
  border: 1px solid var(--accent-brass);
  color: var(--accent-brass);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  z-index: 10;
}

.gallery-lightbox__nav:hover {
  background-color: var(--accent-brass);
  color: var(--bg-obsidian);
}

.gallery-lightbox__nav--prev {
  left: 20px;
}

.gallery-lightbox__nav--next {
  right: 20px;
}

@media (max-width: 1024px) {
  .gallery-grid,
  .gallery-grid--thematic,
  .gallery-grid--tasting,
  .gallery-grid--cards,
  .gallery-grid--bar,
  .gallery-grid--interior {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-reservation-info__inner {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .gallery-reservation-info__text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .gallery-hero {
    min-height: 50vh;
    padding: var(--space-7) var(--gutter-mobile);
  }

  .gallery-hero h1 {
    font-size: 36px;
  }

  .gallery-hero p {
    font-size: 16px;
  }

  .gallery-intro {
    padding: var(--space-7) 0;
  }

  .gallery-intro__inner {
    justify-content: flex-start;
  }

  .gallery-intro__content {
    max-width: 100%;
  }

  .gallery-section {
    padding: var(--space-7) 0;
  }

  .gallery-section__header p {
    max-width: 100%;
  }

  .gallery-grid,
  .gallery-grid--thematic,
  .gallery-grid--tasting,
  .gallery-grid--cards,
  .gallery-grid--bar,
  .gallery-grid--interior {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .gallery-cta {
    padding: var(--space-7) var(--gutter-mobile);
  }

  .gallery-reservation-info {
    padding: var(--space-7) 0;
  }

  .gallery-lightbox__close {
    top: -10px;
    right: -10px;
  }

  .gallery-lightbox__nav--prev {
    left: 10px;
  }

  .gallery-lightbox__nav--next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .gallery-hero {
    padding: var(--space-6) var(--gutter-mobile);
  }

  .gallery-hero h1 {
    font-size: 32px;
  }

  .gallery-cta__button {
    width: 100%;
  }

  .gallery-lightbox__content {
    max-width: 95%;
  }
}
