/* Custom styles and overrides */

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

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

::-webkit-scrollbar-track {
  background: #0D0D0D;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #D4A574, #C49A6C);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #E8C9A0, #D4A574);
}

/* Selection color */
::selection {
  background: rgba(212, 165, 116, 0.3);
  color: #fff;
}

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

/* Animation keyframes */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(212, 165, 116, 0.4);
  }
}

/* Floating animation */
.float {
  animation: float 3s ease-in-out infinite;
}

/* Glow animation */
.glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, #D4A574 0%, #E8C9A0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Image hover effect */
.img-hover {
  transition: transform 0.4s ease;
}

.img-hover:hover {
  transform: scale(1.05);
}

/* Button ripple effect */
.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::after {
  width: 300px;
  height: 300px;
}

/* Card shine effect */
.card-shine {
  position: relative;
  overflow: hidden;
}

.card-shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 165, 116, 0.1),
    transparent
  );
  transition: left 0.5s;
}

.card-shine:hover::before {
  left: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-gradient {
    background: linear-gradient(180deg, #0D0D0D 0%, #1C1C1C 100%);
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}
