/* Custom Styles for Dee West Electric */

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

/* Custom animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #14452a;
}

/* Geometric pattern overlay */
 geometric-pattern {
    position: relative;
}

.geometric-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(30, 107, 64, 0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(30, 107, 64, 0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(30, 107, 64, 0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(30, 107, 64, 0.03) 75%);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Input focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(30, 107, 64, 0.1);
}

/* Button hover effects */
button:hover,
a:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

button:active,
a:active {
    transform: translateY(0);
}

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(248, 247, 244, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-display {
        font-size: clamp(2rem, 5vw, 3rem);
    }
}
