/* 
    Jk Exteriors Custom Styles
    Vibrant Modern Theme: Charcoal & Coral
*/

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #1A1A1A; /* charcoal-950 fallback */
    color: #F3F4F6;
}

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

::-webkit-scrollbar-track {
    background: #1A1A1A;
}

::-webkit-scrollbar-thumb {
    background: #2A2A2A;
    border-radius: 5px;
}

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

/* Hero Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

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

/* Service Card Hover Effect */
.service-card {
    background: linear-gradient(145deg, #2A2A2A 0%, #1A1A1A 100%);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.service-card:hover {
    box-shadow: 0 20px 40px -10px rgba(255, 107, 107, 0.15);
}

/* Geometric Shapes */
.geometric-shape {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}

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

#mobile-menu.open {
    max-height: 400px;
    opacity: 1;
}

/* Form Focus Styles */
input:focus, select:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

/* Utility for text readability on gradient backgrounds */
.text-shadow {
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Loading state for buttons */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
