.tag-option {
  cursor: pointer;
  font-size: medium;
  color: black
}

.tag-option:hover {
  background: var(--gold-button);
  color: white;
}



/* Share button styles */
.share-btn {
  background: var(--gold-button);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.share-btn:hover {
  background-color: #ffd68f;
  transform: translateY(-1px);
}

.share-btn:active {
  transform: translateY(0);
}

.share-success {
  color: #28a745;
  font-size: 12px;
  margin-left: 10px;
  display: none;
  transition: opacity 0.3s ease;
}

.share-success.show {
  display: block
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef;
}

#backToTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  opacity: 0;
  border: none;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#backToTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#backToTopBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}


/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-animation-name: fadeIn;
  -webkit-animation-duration: 0.4s;
  animation-name: fadeIn;
  animation-duration: 0.4s;
  z-index: 1001;
}

/* Modal Content */
.modal-content {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fefefe;
  width: 50%;
  min-height: 40%;
  -webkit-animation-name: slideIn;
  -webkit-animation-duration: 0.4s;
  animation-name: slideIn;
  animation-duration: 0.4s;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

@media (max-width: 768px) {
  .modal-content {
    left: unset;
    transform: unset;
    width: 100%;
  }

}

/* The Close Button */
.close {
  color: white;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 2px 16px;
  background-color: #d8b57a;
  color: white;
}

.modal-body {
  padding: 2px 16px;
}

.modal-footer {
  padding: 2px 16px;

  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;

}

/* Add Animation */
@-webkit-keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0
  }

  to {
    bottom: 0;
    opacity: 1
  }
}

@keyframes slideIn {
  from {
    bottom: -300px;
    opacity: 0
  }

  to {
    bottom: 0;
    opacity: 1
  }
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

@keyframes fadeIn {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

#filterBtn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Index / home page */

.customtag {
  margin: 3px;
  border: 1px solid #999;
  border-radius: 50px;
}

/* post card */
.post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.image-wrapper {
  height: auto;
  position: relative;
  display: flex;
  overflow: hidden;
}

.single-image {
  width: 100%;
  height: 600px;
}

.main-image {
  width: 75%;
  height: 600px;
}

.main-image2 {
  width: 50%;
  height: 600px;
}

.side-images {
  width: 25%;
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

.side-images2 {
  width: 50%;
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

/* Responsive breakpoints */
@media (max-width: 1200px) {
  .single-image {
    height: 500px;
  }

  .main-image {
    height: 500px;
  }

  .side-images {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .single-image {
    height: 450px;
  }

  .main-image {
    height: 450px;
  }

  .side-images {
    height: 450px;
  }
}

@media (max-width: 576px) {
  .single-image {
    height: 350px;
  }

  .main-image {
    height: 350px;
  }

  .side-images {
    height: 350px;
  }
}

/* Dynamic side image heights based on number of images */
.side-image.one-image {
  height: 100%;
}

.side-image.two-images {
  height: 50%;
}

.side-image.three-images {
  height: 33.33%;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-overlay-icon {
  width: 40px;
  height: 40px;
  background-color: #000;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Override Bootstrap card height to allow square images */
.card.post-card {
  height: auto !important;
}