/* Minimal Custom CSS for Tailwind Migration */
/* Only animations and effects that are complex to do with pure Tailwind */

/* Mobile responsiveness improvements */
html, body {
  overflow-x: hidden;
  width: 100%;
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
  
  /* Contact items mobile adjustments */
  .contact-item-icon {
    font-size: 2rem !important;
    min-width: 40px !important;
    height: 40px !important;
  }
  
  .contact-item-text {
    font-size: 0.875rem !important;
  }
}

/* Scroll Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.scroll-animate.animate-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-fade {
  opacity: 0;
  transition: opacity 1s ease;
}

.scroll-fade.animate-visible {
  opacity: 1;
}

.scroll-slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.scroll-slide-left.animate-visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.scroll-slide-right.animate-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Animation delays for staggered effect */
.event-card:nth-child(1) {
  transition-delay: 0.1s;
}
.event-card:nth-child(2) {
  transition-delay: 0.2s;
}
.event-card:nth-child(3) {
  transition-delay: 0.3s;
}
.event-card:nth-child(4) {
  transition-delay: 0.4s;
}

.menu-item:nth-child(1) {
  transition-delay: 0.1s;
}
.menu-item:nth-child(2) {
  transition-delay: 0.2s;
}
.menu-item:nth-child(3) {
  transition-delay: 0.3s;
}
.menu-item:nth-child(4) {
  transition-delay: 0.4s;
}

/* Language Selector Active State */
.lang-option.active {
  background-color: #daa520;
  color: #2c1810;
}

/* Floating Button Pulse Animation */
.floating-contact-btn {
  animation: pulse 2s infinite;
}

.floating-contact-btn:hover {
  background: linear-gradient(135deg, #daa520, #c4941e) !important;
  animation: none;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 4px 30px rgba(139, 0, 0, 0.7);
  }
}

/* Mobile-only section visibility */
@media (max-width: 768px) {
  .floating-contact-btn span:last-child {
    display: none;
  }

  .floating-contact-btn {
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
  }

  .floating-contact-btn span:first-child {
    font-size: 1.5rem;
  }
}

/* Mascot Animations */
.mascot {
  animation: mascotAppear 0.8s ease-out 2s forwards;
}

.mascot-inner {
  animation: mascotBounce 2s ease-in-out 3s infinite;
}

.mascot:hover .mascot-inner {
  animation: none;
  transform: scale(1.05);
}

.mascot-svg {
  animation: mascotRotate 3s ease-in-out infinite;
}

.mascot:hover .mascot-svg {
  animation: mascotJump 0.6s ease-in-out infinite;
}

.mascot:hover .mascot-tooltip {
  opacity: 1;
  visibility: visible;
}

@keyframes mascotAppear {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

@keyframes mascotRotate {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}

@keyframes mascotJump {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-8px) rotate(3deg);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mascot {
    width: 80px;
    height: 80px;
    bottom: 100px;
    right: 10px;
  }

  .mascot-tooltip {
    width: 180px;
    font-size: 0.75rem;
    padding: 8px 10px;
    right: -10px;
  }
  
  .floating-contact-btn {
    bottom: 20px !important;
    right: 10px !important;
    width: 60px;
    height: 60px;
    padding: 0 !important;
  }
}

@media (max-width: 480px) {
  .mascot {
    width: 70px;
    height: 70px;
    bottom: 90px;
    right: 10px;
  }

  .mascot-tooltip {
    width: 160px;
    font-size: 0.7rem;
    padding: 6px 8px;
  }
  
  .floating-contact-btn {
    bottom: 15px !important;
    right: 10px !important;
    width: 55px;
    height: 55px;
  }
}
