/* Custom styles for Ironwood Strategic Management */

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

/* Custom animations */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #3b6a5e;
}

/* Form focus effects */
input:focus, textarea:focus, select:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(61, 105, 94, 0.1), 0 2px 4px -1px rgba(61, 105, 94, 0.06);
}

/* Card hover lift effect */
.hover\:shadow-xl {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero gradient text option */
.text-gradient {
    background: linear-gradient(135deg, #243a36 0%, #4d8576 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation transparency transition */
nav {
    transition: all 0.3s ease;
}

nav.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-color: rgba(229, 231, 235, 1);
}

/* Nav text colors when scrolled (white bg) */
nav.scrolled .nav-logo-text {
    color: #111827; /* gray-900 */
}

nav.scrolled .nav-logo-subtext {
    color: #6b7280; /* gray-500 */
}

nav.scrolled .nav-link {
    color: #4b5563; /* gray-600 */
}

nav.scrolled .nav-link:hover {
    color: #b87a4e; /* desert-600 */
}

nav.scrolled .nav-menu-btn {
    color: #4b5563;
}

nav.scrolled .nav-menu-btn:hover {
    color: #b87a4e;
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    opacity: 0;
    transform: translateY(-10px);
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

/* Service card icon transition */
.group:hover .group-hover\:bg-ironwood-700 {
    transition: background-color 0.3s ease;
}

/* Image overlay gradient */
.image-overlay {
    background: linear-gradient(to top, rgba(36, 58, 54, 0.8) 0%, transparent 100%);
}

/* Selection color */
::selection {
    background-color: #c5d8d3;
    color: #243a36;
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #4d8576 #f4f7f6;
}