body {
  font-family: "Poppins", sans-serif;
  background-color: #f8fafc;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #2b4c7e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1e3a8a;
}

/* Hide scrollbar for carousel but keep functionality */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Smooth Tab & Page Transition */
.fade-in {
  animation: fadeIn 0.4s ease-in-out forwards;
}

.fade-out {
  animation: fadeOut 0.3s ease-in-out forwards;
}

.tab-content {
  transition: opacity 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
/* Loading Screen Styles */
.loading-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.loading-container.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-content {
  text-align: center;
  animation: float 3s ease-in-out infinite;
}

.logo-badge {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #60a5fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
  animation: pulse-badge 2s ease-in-out infinite;
}

.coffee-spinner {
  width: 80px;
  height: 100px;
  margin: 0 auto 30px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coffee-cup {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 0 0 15px 15px;
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
}

.coffee-cup::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, #3b82f6 0%, #1e40af 100%);
  animation: fillCup 2s ease-in-out infinite;
}

.coffee-handle {
  width: 20px;
  height: 30px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 0 15px 15px 0;
  position: absolute;
  right: -15px;
  top: 5px;
  border-left: none;
}

.steam {
  position: absolute;
  top: -20px;
  left: 50%;
  width: 4px;
  height: 20px;
  background: rgba(59, 130, 246, 0.6);
  border-radius: 2px;
  animation: steam 1.5s ease-in-out infinite;
}

.steam:nth-child(1) {
  left: calc(50% - 15px);
  animation-delay: 0s;
}
.steam:nth-child(2) {
  left: calc(50%);
  animation-delay: 0.3s;
}
.steam:nth-child(3) {
  left: calc(50% + 15px);
  animation-delay: 0.6s;
}

.loading-text {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-top: 20px;
  letter-spacing: 0.5px;
}

.loading-text span {
  display: inline-block;
  animation: blink 1.4s infinite;
}

.loading-text span:nth-child(2) {
  animation-delay: 0.2s;
}
.loading-text span:nth-child(3) {
  animation-delay: 0.4s;
}

.subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin-top: 10px;
  font-weight: 300;
  letter-spacing: 1px;
}

@keyframes fillCup {
  0% {
    height: 0%;
  }
  50% {
    height: 100%;
  }
  100% {
    height: 0%;
  }
}

@keyframes steam {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(-30px);
  }
}

@keyframes pulse-badge {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
  }
  50% {
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.6);
  }
}

@keyframes blink {
  0%,
  60%,
  100% {
    opacity: 0.3;
  }
  30% {
    opacity: 1;
  }
}

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