/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --color-ocean-blue: #0077B6;
  --color-royal-blue: #1D4ED8;
  --color-safari-gold: #D4A017;
  --color-dark-slate: #1F2937;
  --font-playfair: 'Playfair Display', serif;
  --font-poppins: 'Poppins', sans-serif;
  --font-montserrat: 'Montserrat', sans-serif;
  --background: #ffffff;
  --foreground: #1f2937;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-poppins), sans-serif;
  overflow-x: hidden;
}

/* Typography Overrides */
h1, h2, h3, h4, .font-playfair {
  font-family: var(--font-playfair), serif;
}

button, .font-montserrat {
  font-family: var(--font-montserrat), sans-serif;
}

.font-poppins {
  font-family: var(--font-poppins), sans-serif;
}

/* Tailwind custom color classes */
.text-ocean-blue { color: #0077B6; }
.bg-ocean-blue { background-color: #0077B6; }
.border-ocean-blue { border-color: #0077B6; }

.text-royal-blue { color: #1D4ED8; }
.bg-royal-blue { background-color: #1D4ED8; }
.border-royal-blue { border-color: #1D4ED8; }

.text-safari-gold { color: #D4A017; }
.bg-safari-gold { background-color: #D4A017; }
.border-safari-gold { border-color: #D4A017; }

.text-dark-slate { color: #1F2937; }
.bg-dark-slate { background-color: #1F2937; }

/* Hover utilities */
.hover\:bg-royal-blue:hover { background-color: #1D4ED8; }
.hover\:bg-ocean-blue:hover { background-color: #0077B6; }
.hover\:text-ocean-blue:hover { color: #0077B6; }
.hover\:text-safari-gold:hover { color: #D4A017; }

/* Premium Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

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

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
  border: 2px solid #f1f5f9;
}

::-webkit-scrollbar-thumb:hover {
  background: #0077B6;
}

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

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

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(180deg); }
}

.animate-fadeIn {
  animation: fadeIn 0.4s ease-out forwards;
}

.animate-slideUp {
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-rotate {
  animation: rotate 0.3s ease-out forwards;
}

/* Premium Glassmorphism Card Utility */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Infinite Scrolling Marquee */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  display: flex;
  width: 200%;
  animation: marquee 30s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* Smooth transitions */
* {
  box-sizing: border-box;
}

/* Hero background transitions */
.hero-slide {
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Toast container */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  padding: 14px 22px;
  border-radius: 9999px;
  font-family: var(--font-poppins), sans-serif;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideUp 0.3s ease-out forwards;
}

.toast-success {
  background-color: #065F46;
  color: #ECFDF5;
  border: 1px solid #10B981;
}

.toast-error {
  background-color: #991B1B;
  color: #FEF2F2;
  border: 1px solid #EF4444;
}
