html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Jost", sans-serif;
  color: #4a3f35;
}

body {
  box-sizing: border-box;
}

.font-serif {
  font-family: "Cormorant Garamond", serif;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: #8b7e6a;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.nav-link-active::after {
  width: 100%;
}

.nav-link-clicked {
  animation: navTap 0.35s ease;
}

@keyframes navTap {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.92);
  }

  100% {
    transform: scale(1);
  }
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #faf8f5;
}

::-webkit-scrollbar-thumb {
  background: #c9b99a;
  border-radius: 3px;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c9b99a;
  border: 2px solid #faf8f5;
  box-shadow: 0 0 0 2px #c9b99a;
  flex-shrink: 0;
  z-index: 1;
}

.timeline-line {
  position: absolute;
  left: 5px;
  top: 12px;
  bottom: 0;
  width: 2px;
  background: #e5ddd0;
}

.photo-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139, 126, 106, 0.15);
}

.gallery-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.icon {
  display: inline-block;
  object-fit: contain;
}

.icon-menu {
  width: 24px;
  height: 24px;
}

.icon-md {
  width: 24px;
  height: 24px;
}

.icon-sm {
  width: 14px;
  height: 14px;
}

input,
textarea,
select {
  outline: none;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #8b7e6a;
}

.toast {
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.float-anim {
  animation: float 3s ease-in-out infinite;
}
