/* Updated color scheme to purple and yellow */

/* Flip Card Styles */
.flip-card {
  perspective: 1000px;
  height: 280px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flip-card-back {
  transform: rotateY(180deg);
}

/* FAQ Accordion Styles */
.faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.5s ease-in;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

/* Cookie Popup Styles */
.cookie-popup {
  position: fixed;
  bottom: -200px;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #5b2c6f 0%, #4a1d5f 100%);
  color: white;
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transition: bottom 0.5s ease-in-out;
  z-index: 9999;
  border-top: 3px solid #ffd700;
}

.cookie-popup.show {
  bottom: 0;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.cookie-content p {
  flex: 1;
  margin: 0;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-content button {
    width: 100%;
  }
}

/* Form Error States */
.border-red-500 {
  border-color: #ef4444 !important;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Additional Utility Styles */
body {
  overflow-x: hidden;
}

/* Image Loading */
img {
  max-width: 100%;
  height: auto;
}

/* Focus States for Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #5b2c6f;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4a1d5f;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* Print Styles */
@media print {
  .cookie-popup,
  header,
  footer {
    display: none;
  }
}
