/* Cookie Popup Styles */
.cookie-popup {
  position: fixed;
  bottom: -300px;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border-top: 1px solid #e5dfd3;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-popup-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Upshop-style floating sphere animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
}

.floating-sphere {
  animation: float 6s ease-in-out infinite;
}

/* Service card expansion effect */
.service-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-card.expanded {
  transform: scale(1.05) !important;
  z-index: 10;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.service-card-front {
  transition: all 0.4s ease;
}

/* Team card interactive styling */
.team-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Case card hover effects */
.case-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Additional Utility Classes */
.border-red-500 {
  border-color: #ef4444 !important;
}

/* Smooth Transitions */
* {
  scroll-behavior: smooth;
}

/* Custom Focus States */
input:focus,
textarea:focus,
select:focus {
  outline: none;
}

/* Ensure images load properly */
img {
  max-width: 100%;
  height: auto;
}

/* Print Styles */
@media print {
  .cookie-popup,
  header,
  footer {
    display: none;
  }
}

/* Accessibility improvements */
button:focus-visible,
a:focus-visible {
  outline: 2px solid #00bfa6;
  outline-offset: 2px;
}

/* Mobile menu animation */
#mobileMenu {
  transition: all 0.3s ease-in-out;
}

/* Form validation error styling */
input.border-red-500,
textarea.border-red-500 {
  animation: shake 0.3s;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}

/* Upshop-inspired gradient text effects */
.gradient-text {
  background: linear-gradient(135deg, #00bfa6 0%, #1a4d4d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Smooth hover transitions for all interactive elements */
a,
button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Custom scrollbar styling to match theme */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f5f1e8;
}

::-webkit-scrollbar-thumb {
  background: #00bfa6;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1a4d4d;
}
