/* Custom styles for Welcome's Appliances */

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

/* Hero decorative blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(52, 214, 168, 0.3);
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(52, 214, 168, 0.2);
    bottom: 10%;
    right: -3%;
    animation-delay: 3s;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: rgba(51, 102, 179, 0.3);
    top: 40%;
    right: 20%;
    animation-delay: 5s;
}

/* Why-us decorative blobs */
.why-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
}

.why-blob.blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(52, 214, 168, 0.4);
    top: -10%;
    right: -5%;
}

.why-blob.blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(51, 102, 179, 0.3);
    bottom: -10%;
    left: -5%;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Nav link underline effect */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: #34d4a8;
    border-radius: 1px;
    transition: transform 0.2s ease;
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Selection color */
::selection {
    background: rgba(52, 214, 168, 0.3);
    color: #0d1b2a;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .hero-blob,
    .why-blob {
        animation: none;
    }
    .animate-bounce {
        animation: none;
    }
}

/* Scroll reveal animations (progressive enhancement) */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

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

/* Card hover tilt subtle effect */
@media (hover: hover) {
    .group:hover .group-hover\\:scale-105 {
        transform: scale(1.05);
    }
}
