@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Oswald:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

body {
  font-family: 'Inter', sans-serif;
}

.font-serif {
  font-family: 'Playfair Display', serif;
}

.font-oswald {
  font-family: 'Oswald', sans-serif;
}

/* Custom scrollbar for better aesthetics */
::-webkit-scrollbar {
  width: 8px;
}

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

::-webkit-scrollbar-thumb {
  background: #16a34a;
  /* green-600 */
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #15803d;
  /* green-700 */
}

/* Preloader Animations */
@keyframes flyPlane {
  0% {
    transform: translate(-150px, 150px) scale(0.6) rotate(-20deg);
    opacity: 0;
  }

  20% {
    opacity: 1;
    transform: translate(-30px, 30px) scale(1) rotate(-20deg);
  }

  100% {
    transform: translate(350px, -350px) scale(1.8) rotate(-20deg);
    opacity: 0;
  }
}

@keyframes textReveal {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.plane-animation img {
  animation: flyPlane 2.5s cubic-bezier(0.2, 0, 0.4, 1) forwards;
}

.logo-text-reveal {
  animation: textReveal 0.8s ease-out 2.5s forwards;
}

.logo-fade-in {
  animation: fadeIn 0.8s ease-out 2.5s forwards;
}

body.loaded #preloader {
  opacity: 0;
  pointer-events: none;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 40;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-top: 1px border-gray-100;
  z-index: 45;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
  }
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  /* gray-600 */
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 600;
  flex: 1;
}

.bottom-nav-item.active {
  color: #16a34a;
  /* green-600 */
}

.bottom-nav-item svg {
  width: 24px;
  height: 24px;
  margin-bottom: 2px;
}

/* Adjust WhatsApp float to not overlap with bottom nav on mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 5rem;
    /* Move up to clear the 64px nav bar */
    right: 1.5rem;
    width: 50px;
    height: 50px;
  }
}