/* Custom styles for Living By Faith */

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

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(10, 26, 46, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu link transitions */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* Form focus states */
input:focus,
textarea:focus {
    outline: none;
}

/* Subtle pattern for navy sections */
.bg-navy-pattern {
    background-image: radial-gradient(ellipse at 20% 50%, rgba(217, 164, 30, 0.05) 0%, transparent 50%),
                      radial-gradient(ellipse at 80% 20%, rgba(217, 164, 30, 0.03) 0%, transparent 50%);
}

/* Product card hover glow */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .group:hover .group-hover\:scale-105 {
        transform: none;
    }
    
    .group:hover {
        transform: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

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

::-webkit-scrollbar-track {
    background: #102a43;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #e2b533;
}

/* Selection color */
::selection {
    background: #d9a41e;
    color: #102a43;
}
