/* Custom styles on top of Tailwind */

/* Smooth scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #EAEAEA;
}
::-webkit-scrollbar-thumb {
    background: #356362;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #264847;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }

/* Dynamic Backgrounds & Gradients */
.bg-gradient-brand {
    background: linear-gradient(135deg, #264847 0%, #356362 100%);
}

.bg-gradient-gold {
    background: linear-gradient(135deg, #FCB77B 0%, #fcdca4 100%);
}

.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, #FCB77B, #713D26);
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: rgba(38, 72, 71, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Navbar active state */
.nav-link {
    @apply text-gray-700 font-medium hover:text-brand-dark transition-colors duration-200 relative py-2;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #FCB77B;
    transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}
.nav-link.active {
    @apply text-brand-dark font-bold;
}

/* Removed scrolled nav color overrides to keep the text dark on white background */

/* Service Card Micro-interactions */
.service-card {
    transition: all 0.3s ease;
}
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}
.service-icon {
    transition: transform 0.3s ease;
}

/* Pattern Backgrounds */
.pattern-dots {
    background-image: radial-gradient(#356362 1px, transparent 1px);
    background-size: 20px 20px;
}
