@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Animations */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-slide-in-right {
  animation: slideInRight 0.5s ease-out forwards;
}

/* Custom Styles for OrderOnline Form */
.orderonline-embed-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.orderonline-embed-form input,
.orderonline-embed-form select,
.orderonline-embed-form textarea {
  font-family: 'Source Sans Pro', sans-serif;
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 16px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.orderonline-embed-form input:focus,
.orderonline-embed-form select:focus,
.orderonline-embed-form textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.orderonline-embed-form button {
  font-family: 'Lato', sans-serif;
  background: #d4af37;
  color: #000;
  font-weight: bold;
  padding: 14px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.orderonline-embed-form button:hover {
  background: #c19d2a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Testimonial Images */
.testimonial-image {
  transition: transform 0.3s ease;
}

.testimonial-image:hover {
  transform: scale(1.05);
}

/* Lightbox */
#lightbox {
  z-index: 1000;
}

#lightbox-img {
  max-height: 90vh;
  border-radius: 8px;
}

#close-lightbox {
  position: absolute;
  top: -40px;
  right: -10px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* Carousel Navigation */
#prev-testimonial, #next-testimonial {
  transition: all 0.3s ease;
}

#prev-testimonial:hover, #next-testimonial:hover {
  transform: scale(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-content {
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #c19d2a;
}
