/* Custom styles for Alterations & Creations */

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

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

::-webkit-scrollbar-track {
    background: #1a1c20;
}

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

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

/* Selection color */
::selection {
    background: rgba(255, 107, 74, 0.3);
    color: #f6f6f7;
}

/* Animation for floating cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating-card-1 {
    animation: float 3s ease-in-out infinite;
}

.floating-card-2 {
    animation: float 3s ease-in-out infinite 1.5s;
}

/* Hover effects for cards */
.group:hover .group-hover\:bg-coral-500\/20 {
    background-color: rgba(255, 107, 74, 0.2);
}

/* Reduce motion for accessibility */
@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;
    }
}

/* Print styles */
@media print {
    nav,
    #contact,
    button {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
