@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

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

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, 35%); }
    90% { transform: translate(-10%, 10%); }
}

.animate-fade-up {
    animation: fade-up 0.8s ease forwards;
    opacity: 0;
}

.animate-delay-100 {
    animation-delay: 0.1s;
}

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

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

.animate-grain {
    animation: grain 8s steps(10) infinite;
}

.font-bebas {
    font-family: 'Bebas Neue', sans-serif;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Custom cursor styles */
@media (min-width: 768px) {
    .cursor {
        transition: transform 0.2s ease;
    }
    
    .cursor-hover {
        transform: scale(2);
        background: transparent;
        border: 2px solid #FF5722;
    }
}

/* Mobile menu animation */
#mobileNav {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobileNav.active {
    opacity: 1;
    visibility: visible;
}

/* Logo hover effect */
.logo:hover .logo-expand {
    max-width: 120px;
    opacity: 1;
}

.logo:hover .logo-box {
    padding: 0 14px;
}

/* Hero section adjustments */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 80px;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
}

/* Stats section animation */
.stats-section {
    background: linear-gradient(135deg, #FF5722 0%, #FF7043 100%);
}

/* Testimonial quote styling */
.testimonial-quote {
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Form input focus styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.3);
}

/* Navigation scroll effect */
.nav-scrolled {
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Project card hover effect */
.project-card:hover img {
    transform: scale(1.1);
}

/* Service card icon animation */
.service-icon {
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
}

/* Button hover effects */
.btn-hover-effect:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 87, 34, 0.2);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .cursor, .cursor-trail {
        display: none;
    }
}