/* Custom styles for Hudson Welding */

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

/* Gold gradient line utility */
.gold-line {
    background: linear-gradient(90deg, #c9a227, #f0d48a, #c9a227);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: #2c2c2c;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c9a227;
}

/* Selection color */
::selection {
    background: rgba(201, 162, 39, 0.3);
    color: #f0d48a;
}

/* Spark animation for hero */
@keyframes spark {
    0%, 100% { opacity: 0; transform: scale(0) translateY(0); }
    50% { opacity: 1; transform: scale(1) translateY(-20px); }
}

/* Subtle pulse for CTA buttons */
@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(201, 162, 39, 0.4); }
    50% { box-shadow: 0 0 20px 4px rgba(201, 162, 39, 0.15); }
}

/* Image hover overlay */
.overflow-hidden {
    position: relative;
}

/* Form focus styles */
input:focus, textarea:focus, select:focus {
    border-color: #c9a227 !important;
    box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.2);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service card shimmer on hover */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.03), transparent);
    transition: left 0.5s ease;
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card:hover::before {
    left: 100%;
}
