/* Custom Styles for Design Electric */

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

/* Hero Content Animation - Progressive Enhancement */
@media (prefers-reduced-motion: no-preference) {
    .hero-content {
        animation: fadeInUp 0.8s ease-out forwards;
    }
    
    .service-card {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .service-card.visible {
        animation: fadeInUp 0.6s ease-out forwards;
    }
    
    .gallery-item {
        opacity: 0;
        transform: scale(0.95);
    }
    
    .gallery-item.visible {
        animation: fadeInScale 0.6s ease-out forwards;
    }
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.dark .navbar-scrolled {
    background: rgba(10, 17, 40, 0.95) !important;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #1f9e7d;
}

/* Selection Color */
::selection {
    background: #5ec9ab;
    color: #0a1128;
}

/* Form Focus Styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Mobile Menu Animation */
.mobile-menu-open {
    overflow: hidden;
}
</style>
