/* Custom styles for Heymann Iron & Metal Co */

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

/* Selection color */
::selection {
    background: #e5bb4a;
    color: #102a43;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f4f8;
}
::-webkit-scrollbar-thumb {
    background: #627d98;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #486581;
}

/* Service card icon animation */
.service-card:hover .w-14 {
    transform: scale(1.1) rotate(-3deg);
    transition: transform 0.3s ease;
}

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

/* Gold gradient button shimmer */
.gold-btn {
    position: relative;
    overflow: hidden;
}
.gold-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.gold-btn:hover::after {
    left: 100%;
}

/* Testimonial card hover */
.bg-white\/5:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.15);
    transition: all 0.3s ease;
}

/* Input focus animation */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(217, 164, 28, 0.15);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
    .service-card:hover {
        transform: none;
    }
    .gold-btn::after {
        display: none;
    }
    img.gallery-img {
        transition: none;
    }
}
