/* Base & Typography */
html {
  scroll-behavior: smooth;
}

body {
  background-color: #060607;
}

::selection {
  background-color: rgba(123, 45, 59, 0.5);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0f0f11;
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

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

@keyframes floatDelay {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

.absolute.top-0.right-0 {
  animation: float 6s ease-in-out infinite;
}

.absolute.top-40.right-20 {
  animation: floatDelay 7s ease-in-out infinite;
  animation-delay: 0.5s;
}

.absolute.top-80.right-4 {
  animation: floatSlow 8s ease-in-out infinite;
  animation-delay: 1s;
}

/* Service Cards */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(212, 69, 101, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.service-card:hover::before {
  opacity: 1;
}

/* Feature Cards */
.feature-card {
  padding: 2rem 1rem;
  border-radius: 1rem;
  border: 1px solid transparent;
  transition: all 0.5s ease;
}

.feature-card:hover {
  border-color: rgba(212, 164, 64, 0.15);
  background: rgba(24, 24, 27, 0.8);
}

/* Testimonial Cards */
.testimonial-card {
  position: relative;
  overflow: hidden;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(123, 45, 59, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.testimonial-card:hover::after {
  opacity: 1;
}

/* Navbar */
#navbar {
  backdrop-filter: blur(0px);
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background-color: rgba(6, 6, 7, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Mobile Menu */
#mobileMenu {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobileMenu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

#mobileMenu.closed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Gradient text utility */
.text-gradient-burgundy {
  background: linear-gradient(135deg, #d44565, #f55a7a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Select styling */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

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

.mobile-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #e0a840;
  transition: width 0.3s ease;
}

.mobile-link:hover::after {
  width: 100%;
}

/* Smooth image loading */
img {
  loading: lazy;
}

/* Focus visible */
:focus-visible {
  outline: 2px solid rgba(212, 164, 64, 0.5);
  outline-offset: 2px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .absolute.top-0.right-0,
  .absolute.top-40.right-20,
  .absolute.top-80.right-4 {
    display: none;
  }
}
