/* Custom Styles for Nebbius Website */

/* Base body styles (Font already set in HTML via Google Fonts link) */
body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden; /* Prevent horizontal scrollbars during animations */
}

/* Define custom primary color variables (Optional, but good practice) */
:root {
    --primary-color: #f26d5b;
    --primary-color-dark: #e05a4a;
}

/* Apply primary colors using variables or direct hex codes */
.bg-primary { background-color: var(--primary-color); }
.text-primary { color: var(--primary-color); }
.border-primary { border-color: var(--primary-color); }
.ring-primary { --tw-ring-color: var(--primary-color); } /* For Tailwind focus rings */
.hover\:bg-primary-dark:hover { background-color: var(--primary-color-dark); }
.hover\:text-primary:hover { color: var(--primary-color); }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Active Nav Link Styles */
.nav-active-home,
.nav-active-about,
.nav-active-services,
.nav-active-contact-button { /* Style for the desktop contact button */
    color: var(--primary-color);
    font-weight: 600;
}

/* Specific style for the active contact button background */
.nav-active-contact-button {
    background-color: var(--primary-color-dark); /* Darker background when active */
    /* Add other styles if needed, e.g., border */
}

/* Style for active mobile menu link */
.nav-active-contact-mobile {
    color: var(--primary-color);
    font-weight: 600;
    background-color: #fef3f2; /* Light primary background */
}


/* --- Animation Keyframes --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(242, 109, 91, 0.7); /* Use primary color */
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0 0 10px rgba(242, 109, 91, 0);
    }
}

/* --- Animation Classes --- */
/* Initial state for elements to be animated on scroll */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform; /* Performance hint */
}

.fade-in-up {
    transform: translateY(30px); /* Start slightly lower */
}
.fade-in-left {
    transform: translateX(-30px); /* Start slightly left */
}
 .fade-in-right {
    transform: translateX(30px); /* Start slightly right */
}

/* State when element is visible */
.is-visible {
    opacity: 1;
    transform: translate(0, 0); /* Move to final position */
}

/* Apply pulse animation */
.animate-pulse-button {
    animation: pulse 2s infinite;
}

/* Disable animations if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .animate-pulse-button {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important; /* Ensure visibility */
    transform: none !important; /* Ensure correct position */
  }
  /* Disable specific Tailwind hover transforms if needed */
  .hover\:scale-105:hover,
  .hover\:scale-110:hover {
    transform: none;
  }
   .hover\:-translate-y-1:hover {
    transform: none;
  }
}

/* Add any other custom CSS rules below */

