/* Custom styles for West Seneca NY Locksmith Store */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1A1A2E;
}
::-webkit-scrollbar-thumb {
    background: #35354D;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #E85D4A;
}

/* Selection color */
::selection {
    background: rgba(232, 93, 74, 0.3);
    color: #ffffff;
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hamburger animation */
#mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}
#mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 20px;
}

/* Geometric pattern background for specific sections */
.pattern-grid {
    background-image:
        linear-gradient(rgba(232, 93, 74, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 93, 74, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Hover lift effect for cards */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Coral glow effect */
.coral-glow {
    box-shadow: 0 0 40px rgba(232, 93, 74, 0.2);
}

/* Text gradient */
.text-gradient-coral {
    background: linear-gradient(135deg, #E85D4A 0%, #FF8876 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Focus styles */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
}

/* Large screens */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}
