@import "tailwindcss";

@theme {
  --color-primary-100: #f1f5f9;
  --color-primary-200: #e2e8f0;
  --color-primary-300: #cbd5e1;
  --color-primary-400: #94a3b8;
  --color-primary-500: #64748b;
  
  --color-action-300: #dbcfaa;
  --color-action-400: #b4864d;
  --color-action-500: #906b3e;
  
  --color-navy: #2D4E66;
  --color-navy-dark: #1a2f3d;
  --color-navy-light: #3E5C76;
}

/* Global Styles */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* New Floating Physics for Bones and Balls */
@keyframes physics-float {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -20px) rotate(5deg); }
    50% { transform: translate(-10px, -35px) rotate(-5deg); }
    75% { transform: translate(-20px, -15px) rotate(3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.animate-physics-float {
    animation: physics-float 8s ease-in-out infinite;
}

.animate-physics-float-fast {
    animation: physics-float 5s ease-in-out infinite;
}

.animate-physics-float-slow {
    animation: physics-float 12s ease-in-out infinite;
}

/* Glassmorphism subtle shake for errors */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
.animate-shake { animation: shake 0.2s ease-in-out 0s 2; }

@keyframes fade-in {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.animate-fade-in {
    animation: fade-in 0.3s ease-out forwards;
}

/* Landing Page Specific Animations */
@keyframes flip-in-3d {
  0% { opacity: 0; transform: perspective(1000px) rotateX(-90deg) scale(0.8); }
  100% { opacity: 1; transform: perspective(1000px) rotateX(0) scale(1); }
} 

@keyframes blob {
  0% { transform: translate(0px, 0px) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0px, 0px) scale(1); }
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50% { transform: translateY(-20px) rotate(4deg); }
}

@keyframes float-medium {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -55%) scale(1.02); }
}

@keyframes float-fast {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-15px) rotate(-5deg); }
}

@keyframes shimmer-slide {
  0% { transform: translateX(-150%) skewX(-20deg); }
  50%, 100% { transform: translateX(250%) skewX(-20deg); }
}

.animate-flip-in {
  animation: flip-in-3d 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  transform-origin: top;
}

.animate-blob {
  animation: blob 7s infinite;
}

.animate-scroll-left {
  animation: scroll-left 60s linear infinite;
}

.animate-float-slow {
  animation: float-slow 6s ease-in-out infinite;
}

.animate-float-medium {
  animation: float-medium 7s ease-in-out infinite;
}

.animate-float-fast {
  animation: float-fast 5s ease-in-out infinite;
}

.animate-shimmer {
  animation: shimmer-slide 3s infinite ease-in-out;
}

.pause-on-hover:hover {
  animation-play-state: paused;
}

/* Cinematic Effects */
.cinematic-card {
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s;
}

.cinematic-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(180, 134, 77, 0.3);
}

.cinematic-content {
  transition: transform 0.5s ease;
}

.cinematic-card:hover .cinematic-content {
  transform: translateY(-5px);
}

.bg-reveal {
  transition: opacity 0.5s ease, transform 6s ease;
}

.cinematic-card:hover .bg-reveal {
  opacity: 1;
  transform: scale(1.1);
}

.text-reveal {
  transition: color 0.3s ease;
}

.cinematic-card:hover .text-reveal {
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.desc-reveal {
  transition: color 0.3s ease, opacity 0.3s ease;
}

.cinematic-card:hover .desc-reveal {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Quill Editor Custom Styles */
.quill-wrapper .ql-toolbar.ql-snow {
    border: none;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}
.quill-wrapper .ql-container.ql-snow {
    border: none;
    min-height: 200px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}
.quill-wrapper .ql-editor {
    min-height: 200px;
}
.quill-wrapper .ql-editor.ql-blank::before {
    color: #94a3b8;
    font-style: normal;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Hide Google reCAPTCHA v3 badge globally */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* Mask for Hero Image */
.mask-image-blob {
    mask-image: radial-gradient(circle, black 100%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, black 100%, transparent 100%);
}
