/* Custom styles for Brett Woodburne Tile */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0D0D0D;
}

::-webkit-scrollbar-thumb {
    background: #2A2A2A;
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background: #FF6B5B;
    color: #0D0D0D;
}

/* Service card hover glow */
.service-card:hover {
    box-shadow: 0 20px 60px rgba(255, 107, 91, 0.08);
}

/* Gallery item hover effect */
.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(13, 13, 13, 0.8) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Testimonial card hover */
.testimonial-card:hover {
    border-color: rgba(255, 107, 91, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px #1A1A1A inset !important;
    -webkit-text-fill-color: #fff !important;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #FF6B5B;
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

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

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

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
    border-color: #FF6B5B !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 91, 0.1);
}

/* Button press effect */
button:active,
a:active {
    transform: scale(0.98);
}

/* Print styles */
@media print {
    nav,
    #contact,
    .gallery-item::before {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
