/* Base Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #fef5f0;
}

/* Updated ticker animation for scrolling text */
/* Ticker Animation */
.ticker-wrapper {
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  animation: ticker 30s linear infinite;
  padding-right: 100%;
}

.ticker-item {
  display: inline-block;
  padding: 0 2rem;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Added service pill styles for tags */
/* Service Pills */
.service-pill {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: white;
  border: 2px solid black;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  transition: all 0.3s ease;
  cursor: pointer;
}

.service-pill:hover {
  background-color: black;
  color: white;
  transform: translateY(-2px);
}

/* Added card flip animation */
/* Card Flip Animation */
.card-flip {
  perspective: 1000px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.card-flip:hover {
  transform: rotateY(5deg) rotateX(5deg);
}

.card-front {
  backface-visibility: hidden;
}

/* Cookie Popup Styles */
.cookie-popup {
  position: fixed;
  bottom: -200px;
  left: 0;
  right: 0;
  background: black;
  color: white;
  padding: 2rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: bottom 0.5s ease-in-out;
  border-top: 4px solid white;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cookie-content p {
  flex: 1;
  margin: 0;
  min-width: 300px;
  font-size: 0.95rem;
}

.cookie-content button {
  flex-shrink: 0;
}

/* Updated form error state colors */
/* Form error state */
.border-red-500 {
  border-color: #dc2626 !important;
}

.text-red-500 {
  color: #dc2626 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-content p {
    min-width: 100%;
  }

  .cookie-content button {
    width: 100%;
  }
}

/* Updated scrollbar colors to match design */
/* Custom scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #fef5f0;
}

::-webkit-scrollbar-thumb {
  background: black;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #333;
}

/* Removed loading animation, keeping images clean */
/* Image transitions */
img {
  transition: opacity 0.3s ease-in-out;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid black;
  outline-offset: 2px;
}

/* Added smooth fade-in animations */
/* Fade in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Print styles */
@media print {
  .cookie-popup,
  header,
  footer {
    display: none;
  }
}

/* Added hover effects for interactive elements */
/* Hover effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Text selection color */
::selection {
  background-color: black;
  color: #fef5f0;
}

::-moz-selection {
  background-color: black;
  color: #fef5f0;
}
