/* Navbar */
.navbar {
  background-color: #232946;
  border-bottom: 3px solid #eebbc3;
}

.navbar .nav-link {
  color: #eebbc3;
  padding: 0.5em 1.2em;
  border-radius: 0.5em;
  transition: background 0.2s;
  text-decoration: none;
}

.navbar .nav-link.active,
.navbar .nav-link[aria-current="page"] {
  background-color: #eebbc3;
  color: #232946;
  font-weight: bold;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  background-color: #393e6b;
  color: #fff;
}

/* Links */
a:link {
  color: #8ecae6;
  text-decoration: underline;
}

a:visited {
  color: #5f7d8c;
  text-decoration: underline;
}

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

caption {
  caption-side: top !important;
}

/* Carousel arrows */
.carousel-control-next-icon,
.carousel-control-prev-icon {
  filter: invert(1);
}

/* Cards */
.card-title {
  text-align: center;
}

/* Gallery */
.gallery-section {
  background: url("../images/gallery_background.jpg");
  background-size: cover;
  background-position: center;
  padding: 2rem 0;
  margin-bottom: 1.5rem;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gallery-section .card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

/* Input */
.narrow-input {
  max-width: 150px;
}
