/* Custom styles for Todo Tax website */

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

/* Body font */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Selection color */
::selection {
  background-color: rgba(212, 168, 50, 0.3);
  color: #f2f7f0;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a1708;
}
::-webkit-scrollbar-thumb {
  background: #2c5f24;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3d7a32;
}

/* Gold gradient text */
.text-gold-gradient {
  background: linear-gradient(135deg, #f0d68a 0%, #d4a832 50%, #e2bf54 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navigation scroll state */
.nav-scrolled {
  background-color: rgba(10, 23, 8, 0.95) !important;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* Service card hover effect */
.service-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Button shine effect */
.btn-shine {
  position: relative;
  overflow: hidden;
}
.btn-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}
.btn-shine:hover::after {
  left: 100%;
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Gold line decoration */
.gold-line {
  height: 3px;
  width: 60px;
  background: linear-gradient(90deg, #d4a832, #f0d68a, #d4a832);
  border-radius: 2px;
}

/* Form input focus styles */
.form-input:focus {
  border-color: #d4a832;
  box-shadow: 0 0 0 3px rgba(212, 168, 50, 0.15);
  outline: none;
}

/* Mobile menu animation */
#mobile-menu {
  animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
  .service-card {
    transition: none;
  }
  .service-card:hover {
    transform: none;
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .gold-line {
    width: 40px;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .service-card {
    padding: 2rem;
  }
}
