/* Custom Styles for Thomas Walters Electric */

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

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

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Service Card Hover Effect */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #5ebf81, #22824a);
    transition: height 0.3s ease;
}

.service-card:hover::before {
    height: 100%;
}

/* Geometric Shape Animations */
.geometric-shape {
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

#mobile-menu.active {
    max-height: 400px;
}

/* Button Hover Glow */
.btn-glow:hover {
    box-shadow: 0 0 20px rgba(94, 191, 129, 0.5);
}

/* Text Selection Color */
::selection {
    background-color: #5ebf81;
    color: #041a0e;
}

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

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

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

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