/* Custom styles for components that need specific styling */
/* Side image hover animation */
@keyframes hover-float {
  0%, 100% {
    transform: translateY(-50%) translateX(0px) translateY(0px);
  }
  25% {
    transform: translateY(-50%) translateX(5px) translateY(-8px);
  }
  50% {
    transform: translateY(-50%) translateX(-3px) translateY(6px);
  }
  75% {
    transform: translateY(-50%) translateX(4px) translateY(-4px);
  }
}
/* Albert image positioned on the left side */
.albert-left {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
  animation: hover-float 8s ease-in-out infinite;
  animation-delay: -4s;
  /* Start at 50% of the animation */
}

.doll-right {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: auto;
  opacity: 0.6;
  animation: hover-float 8s ease-in-out infinite;
  animation-delay: -4s;
  /* Offset animation to create different movement pattern */
}

/* Mobile view - blur Albert image */
@media (max-width: 768px) {
  .albert-left {
    filter: brightness(1.2) contrast(1.1) blur(8px);
    opacity: 0.3;
  }

  /* Blur the background effects */
  #ambient-background {
    filter: brightness(1.2) contrast(1.1) blur(8px);
  }

  /* Disable normal download buttons, replace with mobile download buttons */
  #download-buttons-desktop {
    display: none;
  }

  #download-buttons-mobile {
    display: block;
  }

  .doll-right {
    display: none;
  }
}
@media (min-width: 768px) {
  #download-buttons-desktop {
    display: block;
  }

  #download-buttons-mobile {
    display: none;
  }
}
/* Button styles */
.btn-primary {
  @apply bg-white text-primary px-6 py-3 rounded-lg font-semibold transition-all duration-300 hover:bg-gray-50 hover:-translate-y-0.5 shadow-lg hover:shadow-xl;
}

.btn-secondary {
  @apply bg-transparent text-white border-2 border-white px-6 py-3 rounded-lg font-semibold transition-all duration-300 hover:bg-white hover:text-primary;
}

/* Mini button styles for single page layout */
.btn-primary-mini {
  @apply bg-primary text-white px-4 py-2 rounded-lg font-medium transition-all duration-300 hover:bg-primary/90 hover:-translate-y-0.5 shadow-md hover:shadow-lg text-sm;
}

/* Download Buttons */
.download-button {
  @apply bg-gradient-to-r from-primary to-secondary text-white px-8 py-4 rounded-lg font-semibold text-lg transition-all duration-300 hover:scale-105 hover:shadow-xl transform shadow-lg;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 8px;
  min-width: 200px;
  min-height: 100px;
  padding: 20px;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.download-button svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.download-button:hover {
  border-color: rgba(255, 255, 255, 0.4);
  scale: 1.05;
}

.windows-download {
  background-color: #0078d4;
}

.mac-download {
  background: #cecece;
}

/* Big CTA Button */
.big-cta-button {
  @apply bg-gradient-to-r from-primary to-secondary text-white px-32 py-16 rounded-full font-bold text-5xl transition-all duration-500 hover:scale-110 hover:shadow-3xl transform shadow-2xl;
  min-width: 600px;
  min-height: 200px;
  height: 100px;
  background: linear-gradient(135deg, #2563eb 0%, #667eea 50%, #764ba2 100%);
  border: 4px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.big-cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.big-cta-button:hover::before {
  left: 100%;
}

/* Service card styles */
.service-card {
  @apply bg-white p-8 rounded-xl shadow-lg text-center transition-all duration-300 hover:-translate-y-2 hover:shadow-2xl;
}

/* Mini service card styles for single page layout */
.service-card-mini {
  @apply bg-white p-3 rounded-lg shadow-md text-center transition-all duration-300 hover:-translate-y-1 hover:shadow-lg;
}

/* Stat card styles */
.stat-card {
  @apply bg-white p-8 rounded-xl shadow-lg text-center;
}

/* Mini stat card styles for single page layout */
.stat-card-mini {
  @apply bg-white p-3 rounded-lg shadow-md text-center;
}

/* Social link styles */
.social-link {
  @apply px-4 py-2 bg-gray-700 rounded-lg transition-colors duration-300 hover:bg-primary;
}

/* Mini social link styles for single page layout */
.social-link-mini {
  @apply px-2 py-1 bg-gray-700 rounded text-xs transition-colors duration-300 hover:bg-primary;
}

/* Mobile menu animations */
.mobile-menu-button.active span:nth-child(1) {
  @apply rotate-45 translate-y-1.5;
}

.mobile-menu-button.active span:nth-child(2) {
  @apply opacity-0;
}

.mobile-menu-button.active span:nth-child(3) {
  @apply -rotate-45 -translate-y-1.5;
}

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

/* Ambient background - handled by canvas */
body {
  position: relative;
  overflow-x: hidden;
  background: #1a1a1a;
}

/* Header container */
.header-container {
  background: rgba(0, 0, 0, 0.3) !important;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

/* Main content background overlay */
.main-content {
  /* background: rgba(0, 0, 0, 0.2); */
  backdrop-filter: blur(0px);
  /* border: 1px solid rgba(255, 255, 255, 0.1); */
  border-radius: 20px;
  margin: 20px;
  margin-top: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  height: calc(100vh - 120px);
}

/* Animation for service cards */
@-webkit-keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    -webkit-transform: translateY(30px);
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}
.service-card {
  -webkit-animation: fadeInUp 0.6s ease forwards;
  animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) {
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}

.service-card:nth-child(2) {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.service-card:nth-child(3) {
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

.service-card:nth-child(4) {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

/* Ripple effect animation */
@-webkit-keyframes ripple {
  to {
    -webkit-transform: scale(4);
    transform: scale(4);
    opacity: 0;
  }
}
@keyframes ripple {
  to {
    -webkit-transform: scale(4);
    transform: scale(4);
    opacity: 0;
  }
}
/* Notification animation */
@-webkit-keyframes slideIn {
  from {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideIn {
  from {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    opacity: 1;
  }
}