/* Custom Styles for Gulseth Electric */

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Service Card Hover Effect */
.service-card {
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Gold Gradient Text */
.text-gradient-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

::-webkit-scrollbar-thumb {
    background: #047857;
    border-radius: 4px;
}

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

/* Selection Color */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #F5F5DC;
}

/* Form Input Focus Effects */
input:focus,
textarea:focus,
select:focus {
    border-color: #D4AF37 !important;
}

/* Mobile Menu Transitions */
#mobileMenu {
    backdrop-filter: blur(10px);
}

/* Image Hover Zoom */
img {
    transition: transform 0.6s ease;
}

/* Navbar Background Transition */
#navbar.scrolled {
    background: rgba(5, 9, 7, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Glow Effects */
.glow-emerald {
    box-shadow: 0 0 40px rgba(4, 120, 87, 0.3);
}

/* Button Ripple Effect */
button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:active::after {
    width: 200px;
    height: 200px;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-display {
        font-size: 2.5rem;
    }
}

@media (min-width: 769px) {
    .font-display {
        font-size: 3.5rem;
    }
}
