/* Raining Cats - Custom Styles */

/* Font Faces */
@font-face {
  font-family: "FuturaStd";
  src: url("/fonts/Futura-Std-Medium.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "FuturaBook";
  src: url("/fonts/Futura-Book-font.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "FuturaCondensed";
  src: url("/fonts/Futura-CondensedMedium-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Bebas";
  src: url("/fonts/BebasNeue-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* Custom color palette */
:root {
  --color-primary: #000000;
  --color-bg: #ffe83b;
  --color-text: #000000;
  --color-text-light: #333333;
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Global font and background */
body {
  font-family: "FuturaStd", "FuturaBook", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
}

/* Heading font */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "FuturaCondensed", sans-serif;
}

/* Hero title uses Bebas */
.hero-title {
  font-family: "Bebas", sans-serif;
  letter-spacing: 0.02em;
}

/* Custom background */
.bg-custom-gradient {
  background-color: var(--color-bg);
}

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

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

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Staggered animation delays */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

/* Custom button styles */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-bg);
  transition: all 0.3s ease;
  border: 2px solid var(--color-primary);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Feature card hover effect */
.feature-card {
  transition: all 0.3s ease;
  background-color: var(--color-bg);
  border: 2px solid var(--color-primary);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  background-color: var(--color-primary);
  color: var(--color-bg);
}

/* Hero emoji animation */
.hero-emoji {
  display: inline-block;
  transition: transform 0.3s ease;
}

.hero-emoji:hover {
  transform: scale(1.1) rotate(5deg);
}

/* Mobile menu animation */
@media (max-width: 640px) {
  .mobile-menu {
    transition: max-height 0.3s ease-in-out;
  }
}

/* Custom focus styles for accessibility */
a:focus,
button:focus {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

/* Link styles */
a {
  color: var(--color-text);
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

/* Download button icon animation */
.download-icon {
  transition: transform 0.3s ease;
}

.btn-primary:hover .download-icon {
  transform: translateY(2px);
}
