/**
 * Social Monkey
 */

html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #0d9488;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #14b8a6;
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 50%, #0d9488 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Gradient Background */
.hero-gradient {
    background: linear-gradient(135deg, #0a0a0a 0%, #0d1f1f 25%, #0a0a0a 50%, #1a1a0a 75%, #0a0a0a 100%);
    background-size: 400% 400%;
    animation: gradient-shift 20s ease infinite;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    25% { background-position: 50% 100%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 50% 0%; }
    100% { background-position: 0% 50%; }
}

/* Quote Section Gradient */
.quote-gradient {
    background: linear-gradient(135deg, #0d9488 0%, #0a0a0a 50%, #f59e0b 100%);
    background-size: 200% 200%;
    animation: gradient-shift 15s ease infinite;
    opacity: 0.15;
}

/* Grid Pattern */
.grid-pattern {
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Logo Glow Effect */
.logo-glow {
    filter: drop-shadow(0 0 30px rgba(13, 148, 136, 0.3));
    transition: filter 0.5s ease;
}

.logo-glow:hover {
    filter: drop-shadow(0 0 50px rgba(13, 148, 136, 0.5));
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

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

/* Animation Delays */
.animation-delay-100 { animation-delay: 100ms; }
.animation-delay-200 { animation-delay: 200ms; }
.animation-delay-300 { animation-delay: 300ms; }
.animation-delay-400 { animation-delay: 400ms; }
.animation-delay-500 { animation-delay: 500ms; }

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate.animation-delay-100 { transition-delay: 100ms; }
.scroll-animate.animation-delay-200 { transition-delay: 200ms; }
.scroll-animate.animation-delay-300 { transition-delay: 300ms; }
.scroll-animate.animation-delay-400 { transition-delay: 400ms; }
.scroll-animate.animation-delay-500 { transition-delay: 500ms; }

/* Navigation */
#navbar {
    background: transparent;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

#navbar.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Nav Link Underline */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    transition: width 0.3s ease;
    border-radius: 1px;
}

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

/* Menu Item Hover */
.menu-item {
    transition: transform 0.2s ease;
    cursor: default;
}

.menu-item:hover {
    transform: translateX(8px);
}

/* Feature Card Hover */
.feature-card {
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

/* Selection Color */
::selection {
    background: rgba(13, 148, 136, 0.5);
    color: white;
}

/* Focus States */
a:focus,
button:focus {
    outline: 2px solid #14b8a6;
    outline-offset: 2px;
}

/* Mobile Menu - NO BLUR */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

#mobile-menu.open {
    max-height: 500px;
}

/* Button Press Effect */
a[href^="tel"]:active,
a[href^="mailto"]:active {
    transform: scale(0.98);
}

/* Image Loading */
img {
    transition: opacity 0.3s ease;
}

/* Border Transitions */
.border-zinc-800 {
    transition: border-color 0.3s ease;
}

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

    .hero-gradient,
    .quote-gradient {
        animation: none;
        background-size: 100% 100%;
    }
}

/* Print Styles */
@media print {
    #navbar,
    .scroll-animate {
        opacity: 1 !important;
        transform: none !important;
    }

    body {
        background: white;
        color: black;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .text-gradient {
        background: none;
        -webkit-text-fill-color: #14b8a6;
        color: #14b8a6;
    }
}
