/* Custom premium dark luxury styles for Southeast Trenching and Excavating */

/* Metallic gold shimmer animation */
@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.gold-shimmer {
  background: linear-gradient(
    90deg,
    #C9A84C 0%,
    #E0C068 25%,
    #C9A84C 50%,
    #E0C068 75%,
    #C9A84C 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* Subtle pulsing glow for accent elements */
@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(201, 168, 76, 0.6);
  }
}

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

/* Floating animation for decorative elements */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

/* Hover scale effect for cards */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.02);
}

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

/* Glass morphism effect */
.glass {
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

/* Custom focus styles for accessibility */
button:focus-visible,
a:focus-visible {
  outline: 2px solid #C9A84C;
  outline-offset: 2px;
}

/* Smooth transitions for all interactive elements */
a, button {
  transition: all 0.3s ease;
}

/* Image hover zoom effect */
.image-zoom {
  overflow: hidden;
}

.image-zoom img {
  transition: transform 0.5s ease;
}

.image-zoom:hover img {
  transform: scale(1.1);
}

/* Noise texture overlay for premium feel */
.noise::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Responsive typography adjustments */
@media (max-width: 768px) {
  .font-serif {
    line-height: 1.2;
  }
}

/* Print styles */
@media print {
  .nav-glass,
  .mobile-menu {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}

/* Reduced motion preferences */
@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;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card {
    border-width: 2px;
  }
  
  .btn-primary,
  .btn-secondary {
    border-width: 3px;
  }
}

/* Dark mode is already the primary design, but ensure it works properly */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #0D0D0D;
    color: #E8D5B7;
  }
}
