/* Custom styles for Guarantee Carpet Care */

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

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

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

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

/* Hover effects for cards */
.group:hover .group-hover\:rotate-12 {
    transform: rotate(12deg);
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #C4704B 0%, #e07f67 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle pattern background */
.pattern-bg {
    background-image: radial-gradient(circle at 1px 1px, rgba(196, 112, 75, 0.1) 1px, transparent 0);
    background-size: 20px 20px;
}

/* Focus styles for accessibility */
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(196, 112, 75, 0.2);
}

/* Print styles */
@media print {
    nav,
    #contact,
    footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
    }
}

/* Reduced motion preference */
@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;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .bg-terracotta-500 {
        background-color: #8b482e;
    }
    
    .text-terracotta-600 {
        color: #6f3a25;
    }
}
