/* Custom styles for All Star Appliances */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1728;
}
::-webkit-scrollbar-thumb {
    background: #1e4066;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2e5a87;
}

/* Selection color */
::selection {
    background: rgba(212, 154, 30, 0.3);
    color: #fff;
}

/* Ensure all text meets contrast */
.text-navy-200 { color: #d4e0ea; }
.text-navy-300 { color: #a8bdd4; }
.text-navy-400 { color: #7c9abe; }
.text-navy-500 { color: #5077a8; }

/* Subtle pattern overlay for dark sections */
.bg-navy-950::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(212, 154, 30, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #f5df9a 0%, #d49a1e 50%, #b87a10 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

/* Pulse animation for CTA buttons */
@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 154, 30, 0.4); }
    50% { box-shadow: 0 0 0 12px rgba(212, 154, 30, 0); }
}

.pulse-gold:hover {
    animation: pulse-gold 1.5s ease-in-out infinite;
}
