/* ===== CUSTOM STYLES ===== */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Navbar glass effect */
#navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
  box-shadow: 0 1px 20px rgba(30, 58, 95, 0.08);
}

#navbar:not(.scrolled) {
  background: transparent;
  border-bottom: 1px solid transparent;
}

#navbar:not(.scrolled) .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

#navbar:not(.scrolled) .nav-link:hover {
  color: #fff;
}

/* Mobile nav links */
.mobile-nav-link {
  position: relative;
}

.mobile-nav-link:active {
  color: #c8a44e;
}

/* Reveal animations — progressive enhancement */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .service-card {
    opacity: 0;
    transform: translateY(20px);
  }

  .service-card.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
}

/* Gallery strip hover */
@media (hover: hover) {
  .overflow-hidden img {
    transition: opacity 0.3s ease;
  }
}

/* Selection color */
::selection {
  background: rgba(200, 164, 78, 0.3);
  color: #1c3552;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: #bfcfe3;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #97aed3;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid #c8a44e;
  outline-offset: 2px;
}

/* Subtle gradient text utility */
.text-gradient-gold {
  background: linear-gradient(135deg, #c8a44e, #edc96a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
