/* Custom styles for Praegitzer Industries */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #fdf2f4;
}
::-webkit-scrollbar-thumb {
    background: #a01538;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #6b0f1a;
}

/* Selection color */
::selection {
    background: #fce7eb;
    color: #4a0a12;
}

/* Service card subtle lift */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.5s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(107, 15, 26, 0.08);
}

/* Navbar scroll state */
.navbar-scrolled {
    box-shadow: 0 1px 0 rgba(172, 30, 71, 0.08);
}

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

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #a01538;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card {
        transition: none;
    }
    .service-card:hover {
        transform: none;
    }
    #mobile-menu {
        animation: none;
    }
}

/* Thin line decorations */
.divider-line {
    height: 1px;
    background: linear-gradient(to right, transparent, #fce7eb, transparent);
}

/* Image hover zoom */
.relative.overflow-hidden img {
    transition: transform 0.6s ease;
}

.relative.overflow-hidden:hover img {
    transform: scale(1.02);
}
