/* Custom styles for Handy Hambeltons */

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

/* Scroll reveal animations - progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(10, 22, 40, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

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

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

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

/* Selection color */
::selection {
    background: rgba(245, 166, 35, 0.3);
    color: #f5a623;
}

/* Form select dropdown styling */
select option {
    background: #0f2140;
    color: #ffffff;
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #f5a623;
    outline-offset: 2px;
}

/* Input focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

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

.geometric-float {
    animation: float 6s ease-in-out infinite;
}

.geometric-float-delayed {
    animation: float-delayed 8s ease-in-out infinite;
}

/* Hero text gradient */
.hero-gradient {
    background: linear-gradient(135deg, #f5a623 0%, #f7b84a 50%, #f9cc71 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover glow */
.card-glow:hover {
    box-shadow: 0 0 40px rgba(245, 166, 35, 0.1);
}

/* Pulse animation for trust badges */
@keyframes subtle-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.pulse-slow {
    animation: subtle-pulse 3s ease-in-out infinite;
}
