/* Custom Styles for K M Pool */

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

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

::-webkit-scrollbar-track {
    background: #0B1D3A;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #99F6E4;
}

/* Selection Color */
::selection {
    background: #2DD4BF;
    color: #0B1D3A;
}

/* Animation Classes (Progressive Enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .fade-in-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .fade-in-up.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    .fade-in {
        opacity: 0;
        transition: opacity 0.8s ease-out;
    }
    
    .fade-in.visible {
        opacity: 1;
    }
}

/* Hover Effects */
.group:hover .group-hover\\:scale-110 {
    transform: scale(1.1);
}

/* Form Focus Styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
}

/* Button Hover Animation */
button, a {
    transition: all 0.3s ease;
}

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

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(11, 29, 58, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Gradient Text (if needed in future) */
.gradient-text {
    background: linear-gradient(135deg, #2DD4BF 0%, #99F6E4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
}
