/* Custom styles for Duluth Home Inspections */

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

/* Gold shimmer effect */
.gold-shimmer {
    background: linear-gradient(90deg, #c9982e 0%, #f0d078 50%, #c9982e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Float animation for hero arrow */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(180deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

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

/* Reveal animation for scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #c9982e, #b8860b);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f0d078, #c9982e);
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(201, 152, 46, 0.1);
}

/* Card hover effects */
.group:hover .group-hover\:bg-gold-500\/20 {
    background-color: rgba(201, 152, 46, 0.2);
}

/* Gradient hero background */
.gradient-hero {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a2f4a 40%, #2a1f0d 70%, #0d1b2a 100%);
}

/* Glass morphism effect */
.glass {
    background: rgba(13, 27, 42, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

/* Button ripple effect */
button::after,
a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:active::after,
a:active::after {
    width: 300px;
    height: 300px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gradient-hero {
        background: linear-gradient(180deg, #0d1b2a 0%, #1a2f4a 50%, #2a1f0d 100%);
    }
}
