/* Gibson Properties — Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0c120c;
}
::-webkit-scrollbar-thumb {
  background: #2d8a2d44;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c9a22744;
}

/* Selection */
::selection {
  background: rgba(201, 162, 39, 0.3);
  color: #faf9f6;
}

/* Base text rendering */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Navbar scroll state */
.nav-scrolled {
  background: rgba(12, 18, 12, 0.95) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201, 162, 39, 0.1);
}

/* Mobile menu transitions */
.mobile-link {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Gold accent line animation */
.gold-line {
  position: relative;
}
.gold-line::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #c9a227, transparent);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #d4af55, #e8d5a3, #c9a227);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card hover glow */
.card-glow:hover {
  box-shadow: 0 0 40px rgba(201, 162, 39, 0.08);
}

/* Image lazy fade (progressive enhancement) */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

/* Touch device adjustments */
@media (hover: none) and (pointer: coarse) {
  .group:hover {
    transform: none;
  }
  .group:hover img {
    transform: none;
  }
}
