/* Custom styles for Majik Karpet Kleaners */

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

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

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

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

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

/* Selection color */
::selection {
    background: #FF6B6B;
    color: white;
}

/* Input autofill styling */
input:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

/* Image hover zoom effect */
img {
    transition: transform 0.3s ease;
}

/* Loading state for buttons */
button:active {
    transform: scale(0.98);
}

/* Focus visible styles */
:focus-visible {
    outline: 3px solid #FF6B6B;
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .section-padding {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
}

/* Print styles */
@media print {
    nav, #back-to-top, .cta-banner {
        display: none !important;
    }
}
