/* header - style */
.navbar-nav .nav-link {
  background-color: #fff;
  border-radius: 0.375rem;
  color: #000;
  margin-bottom: 2px;
  padding: 0.45rem 0.85rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar-nav .navbar-text {
  background-color: #fff;
  border-radius: 0.375rem;
  color: #000;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
  padding: 0.45rem 0.85rem;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

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

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

.navbar-brand, .header-brand {
  font-family:'Times New Roman', Times, serif;
  text-decoration: none;
  color: #000;
}

.navbar-brand {
  font-weight: 300;
  font-size: 35px;
}

.header-brand {
  font-weight: 500;
  font-size:75px;
  color: #fff;
}

.header {
  background-color: #333;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.header-text h1 {
  margin-bottom: 0.5rem;
}

.header-text p {
  margin: 0;
  color: #fff;
}

.header-logo {
  flex-shrink: 0;
}

.header-gallery-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  max-width: 300px;
}

.header-gallery-preview img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.25);
}

/* header - small */
@media (max-width: 992px) {
  .navbar-brand {
    display: inline-block !important;
  }
  
  .header {
    display: none !important;
  }

  .navbar-nav.ms-auto {
    margin-left: 0;
    width: 100%;
  }

  .navbar-nav.ms-auto .nav-item {
    width: 100%;
  }

  .navbar-nav .btn {
    display: block;
    width: 100%;
  }
}

/* header - medium */
@media (max-width: 1200px){
  .header-gallery-preview {
    max-width: 250px;
  }
}

/* header - large */
@media (min-width: 992px) {
  .navbar-brand {
    display: none !important;
  }

  .header {
    display: inline-block !important;
  }

  .navbar-nav .nav-link {
    margin-right: 0.25rem;
  }

  .navbar-nav .btn {
    display: inline-block;
    width: auto;
  }

  .navbar-nav .navbar-text {
    margin-right: 0.25rem;
  }
}

/* form management  */
input.is-invalid, select.is-invalid, textarea.is-invalid {
  border-width: 2px;
}

.border-bottom {
  border-bottom: 1px solid var(--bs-border-color) !important;
}

/* Photo Gallery */
.gallery-grid .gallery-card {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.075);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-grid .gallery-card:hover,
.gallery-grid .gallery-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.gallery-thumb {
  display: block;
  position: relative;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom: 1px solid rgba(0, 0, 0, 0.075);
}

.gallery-card-body {
  padding: 0.75rem;
}

.gallery-card-title {
  font-weight: 600;
}

.gallery-card-description {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #6c757d;
}

.gallery-detail, .gallery-info, .gallery-nav {
  position: relative;
  max-width: 1024px;
  margin: 0 auto;
}

.gallery-detail {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.gallery-detail-image {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-detail-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.gallery-detail-nav:hover,
.gallery-detail-nav:focus {
  background-color: rgba(0, 0, 0, 0.65);
  color: #fff;
}

.gallery-detail-nav-left {
  left: 1rem;
}

.gallery-detail-nav-right {
  right: 1rem;
}

.gallery-thumb-preview {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  overflow: hidden;
}
