/* Guardian Hydro & Cylinder Services — Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0f;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #7e22ce, #d97706);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #9333ea, #f59e0b);
}

/* Selection color */
::selection {
    background: rgba(168, 85, 247, 0.4);
    color: #f3e8ff;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* Input autofill override for dark theme */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #f3e8ff;
    -webkit-box-shadow: 0 0 0px 1000px rgba(10, 10, 15, 1) inset;
    transition: background-color 5000s ease-in-out 0s;
}

/* Service card image hover */
.service-card img {
    transition: transform 0.5s ease;
}
.service-card:hover img {
    transform: scale(1.05);
}

/* Gold line animation on hover */
.gold-line {
    transition: width 0.3s ease;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    .pulse-gold {
        animation: none;
    }
    .gold-shimmer {
        animation: none;
        background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 50%, #d97706 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

/* Print styles */
@media print {
    .nav-glass, .mobile-menu, #menuBtn {
        display: none !important;
    }
    body {
        background: white;
        color: black;
    }
}
