/* Custom styles for SanMor HVAC Solutions */

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

/* Custom Gold Gradient Text */
.text-transparent.bg-clip-text.bg-gold-gradient {
    background-clip: text;
    -webkit-background-clip: text;
}

/* Animation for slow zoom in hero */
@keyframes slow-zoom {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.1);
    }
}

.animate-slow-zoom {
    animation: slow-zoom 20s ease-out forwards;
}

/* Service card hover effect */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Gold glow effect */
.glow-gold {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

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

::-webkit-scrollbar-track {
    background: #05080a;
}

::-webkit-scrollbar-thumb {
    background: #3282b8;
    border-radius: 5px;
}

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

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

/* Input focus styles */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.3);
}

/* Button hover effects */
button[type="submit"],
a[href="#contact"] {
    position: relative;
    overflow: hidden;
}

button[type="submit"]::before,
a[href="#contact"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

button[type="submit"]:hover::before,
a[href="#contact"]:hover::before {
    left: 100%;
}

/* Fade in animation for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .animate-slow-zoom {
        animation: none;
    }
    
    .service-card {
        transition: none;
    }
    
    .service-card:hover {
        transform: none;
    }
}
