/* Doug's Body Shop - Custom Styles */

/* Smooth transitions for all interactive elements */
* {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

/* Enhanced button hover effects */
.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Cookie banner specific styles */
#cookieBanner {
    animation: slideInUp 0.5s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* FAQ accordion styles */
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Form focus enhancements */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Gallery filter button styles */
.filter-btn {
    color: #6B7280;
    background-color: transparent;
}

.filter-btn.active {
    background-color: #1E40AF;
    color: white;
}

.filter-btn:hover:not(.active) {
    background-color: #E5E7EB;
    color: #374151;
}

/* Project item fade effects */
.project-item {
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.3s ease;
}

.project-item.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Hero background parallax effect */
.hero-parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero-parallax {
        background-attachment: scroll;
    }
    
    #cookieBanner {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: none;
        border-radius: 0;
        border-radius: 1rem 1rem 0 0;
    }
}

/* Print styles */
@media print {
    nav, footer, #cookieBanner {
        display: none;
    }
    
    .print-hide {
        display: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-gradient-to-br,
    .bg-gradient-to-r {
        background: #1E40AF !important;
    }
}

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