/* Set body background to black to prevent white flash */
body {
  background-color: #000000 !important;
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
  overflow-x: hidden;
}

/* Custom animations and styles for Tailwind */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.animate-fade-in-down {
  animation: fadeInDown 1.2s ease;
}

.animate-fade-in-up {
  animation: fadeInUp 1.2s ease 0.3s both;
}

.animate-fade-in {
  animation: fadeIn 1s ease 1.2s forwards;
}

.animation-delay-1200 {
  animation-delay: 1.2s;
}

/* Background radial gradient utility */
.bg-radial-gradient {
  background: radial-gradient(circle at center, var(--tw-gradient-from), var(--tw-gradient-to));
}

/* Intro animation styles (keep existing) */
.intro-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
  z-index: 1000;
  transition: opacity 1s ease-out;
  overflow: hidden;
}

.animation-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 80vh;
  max-height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin-bottom: 30px;
  z-index: 50;
}

.main-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sushi-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 40;
}

.sushi-item {
  position: absolute;
  max-width: 180px;
  height: auto;
  transform-origin: center;
}

.main-content {
  opacity: 0;
  transition: opacity 1s ease;
}

.main-content.visible {
  opacity: 1;
}

.hidden {
  display: none;
}

/* Store status badge styles - now handled by Tailwind */

/* Particles */
.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background-color: #d4af37;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 10px 2px rgba(212, 175, 55, 0.7);
}

/* Mobile menu styles */
@media (max-width: 768px) {
  #main-nav {
    display: none !important;
  }
  
  #main-nav #mobile-menu-close {
    display: none !important;
  }
  
  #main-nav.active {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    width: 70% !important;
    max-width: 300px !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.95) !important;
    border-left: 1px solid #d4af37 !important;
    padding: 5rem 2rem 2rem !important;
    z-index: 1000 !important;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5) !important;
    animation: slideInRight 0.3s ease !important;
  }
  
  #main-nav.active #mobile-menu-close {
    display: block !important;
  }
  
  @keyframes slideInRight {
    from {
      transform: translateX(100%);
    }
    to {
      transform: translateX(0);
    }
  }
  
  #main-nav ul {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.5rem !important;
  }
  
  #main-nav li {
    margin: 0 !important;
    width: 100% !important;
  }
  
  #main-nav a {
    display: block !important;
    font-size: 1.3rem !important;
    padding: 0.5rem 0 !important;
    width: 100% !important;
    font-weight: 600 !important;
  }
  
  .logo-container {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
  }
  
  .sushi-item {
    max-width: 100px !important;
  }
}

/* Reset Tailwind's hidden class conflict */
.main-content.hidden {
  display: none !important;
}

/* Modal styles (keep existing modals working) */
.map-modal, .pdf-modal, .impressum-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.map-modal-content, .pdf-modal-content, .impressum-modal-content {
  background-color: #000000;
  margin: 15% auto;
  padding: 2rem;
  border: 1px solid #d4af37;
  border-radius: 8px;
  width: 80%;
  max-width: 500px;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}