/* Custom styles for Your Business website */

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

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Custom transitions */
* {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Override Tailwind's smooth scroll if needed */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Custom utility classes */
.shadow-glow {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    outline: none;
}

/* Custom scrollbar for webkit browsers */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background: #737373;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #525252;
}

/* Gallery filter button active state */
.gallery-filter.active {
    background-color: #dc2626;
    color: white;
}

/* Remove default link underlines - force override all browser defaults */
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-style: none !important;
    text-decoration-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

a:focus {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

/* Navigation link styles - force override browser defaults */
nav a.text-red-600,
nav a.text-red-600:link,
nav a.text-red-600:visited,
nav a.text-red-600:hover,
nav a.text-red-600:active {
    color: #dc2626 !important;
}

/* Contact button improvements */
nav a.bg-red-600,
nav a.bg-red-600:link,
nav a.bg-red-600:visited,
nav a.bg-red-600:hover,
nav a.bg-red-600:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 200ms ease;
    color: #ffffff !important;
    background-color: #dc2626 !important;
}

nav a.bg-red-600:hover {
    background-color: #b91c1c !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.3);
}

/* Additional custom styles can be added here */
