html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-main {
  flex: 1 0 auto;
}

h1,h2,h3,h4,p {
	font-family: 'Playfair Display', serif;
}

.navbar-custom {
  background: black;
}

.nav-item a {
  color: #fff;
}

/* Dark hamburger icon on the black navbar */
.navbar-custom .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.25);
}

.navbar-custom .navbar-toggler-icon {
  filter: invert(1);
}

/* Desktop: center category links with extra spacing; keep links readable; gold hover */
@media (min-width: 992px) {
  .navbar-custom .navbar-nav {
    justify-content: center;
    column-gap: 1.2rem;
  }

  .navbar-custom .nav-item a:hover,
  .navbar-custom .nav-item a:focus-visible {
    color: #e8b64c;
  }

  .navbar-custom .nav-item a.active {
    color: #fff;
  }
}

/* Mobile: the offcanvas sidebar is white, so its links must be dark */
@media (max-width: 991.98px) {
  .navbar-custom .offcanvas .nav-item a,
  .navbar-custom .offcanvas .nav-item a:hover,
  .navbar-custom .offcanvas .nav-item a:focus,
  .navbar-custom .offcanvas .nav-item a.active {
    color: #000;
  }

  .navbar-custom .offcanvas .nav-item a:hover,
  .navbar-custom .offcanvas .nav-item a:focus-visible {
    color: #000;
    text-decoration: underline;
  }

  .navbar-custom .offcanvas .btn-outline-light {
    color: #212529;
    border-color: #212529;
  }

  .navbar-custom .offcanvas .btn-outline-light:hover,
  .navbar-custom .offcanvas .btn-outline-light:focus {
    color: #fff;
    background-color: #212529;
    border-color: #212529;
  }
}

.footer {
   width: 100%;
   height: 400px;
   background: black;
   margin-top: auto;
   flex-shrink: 0;
}

.footer a {
  color: #fff;
}

.error {
  font-style: italic;
  color: red;
}

#carousel {
  height: 100%;
}

#welcome-carousel .fill {
  height: 75vh;
  background-position: center;
  background-size: cover;
}

#welcome-carousel .welcome-text {
  position: absolute;
  top: 18%;
  left: 10%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.867);
  color: rgb(216, 216, 216);
  letter-spacing: 0.1cap;
  z-index: 1000;
}

/* Mobile: full width, height scales with screen via aspect ratio */
@media (max-width: 991.98px) {
  #welcome-carousel {
    display: flex;
    flex-direction: column;
  }

  #welcome-carousel .carousel-inner {
    order: 1;
  }

  #welcome-carousel .welcome-text {
    position: static;
    order: 2;
  }

  #welcome-carousel .fill {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #000;
  }
}

.visible-xs {
  visibility: hidden;
}

#gallery-pswp a[data-pswp] {
  cursor: pointer;
}

#gallery-pswp a[data-pswp] img {
  display: block;
  object-fit: cover;
  max-width: 100%;
  height: auto;
}

#gallery-pswp .gallery-item[draggable='true'] {
  cursor: grab;
}

#gallery-pswp .gallery-item.dragging {
  opacity: 0.4;
}

.pswp__caption {
  text-align: center;
  font-size: 14px;
  padding: 10px;
}

#gallery-pswp {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
