/* === Custom Styles for NNC Studios === */

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

/* Navbar styles */
.nav-text {
    color: #0f172a;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #34d399;
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(15, 23, 42, 0.08);
}

.navbar-scrolled .nav-link {
    color: #162d4a !important;
}

.navbar-scrolled .nav-text {
    color: #0f172a !important;
}

/* Mobile menu */
.mobile-link {
    padding: 8px 16px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.mobile-link:hover {
    background: #f0fdf4;
}

/* Hero decorative circles */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
}

.deco-1 {
    width: 400px;
    height: 400px;
    background: #34d399;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.deco-2 {
    width: 250px;
    height: 250px;
    background: #4ade80;
    bottom: 10%;
    left: -50px;
    animation: float 10s ease-in-out infinite reverse;
}

.deco-3 {
    width: 150px;
    height: 150px;
    background: #86efac;
    top: 40%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.deco-4 {
    width: 80px;
    height: 80px;
    background: #bbf7d0;
    top: 20%;
    left: 15%;
    animation: float 7s ease-in-out infinite reverse;
}

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

/* Scroll indicator */
.scroll-indicator {
    animation: bounce 2s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* Service cards */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
}

/* Contact form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f0f4f8;
}

::-webkit-scrollbar-thumb {
    background: #a3b3c9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #748dac;
}

/* Selection color */
::selection {
    background: #bbf7d0;
    color: #0f172a;
}
