/* Custom Stylings for Minnale Elevators */

:root {
    --primary-blue: #2563eb;
    --dark-blue: #1e3a8a;
    --deep-blue: #172554;
}

html {
    scroll-behavior: initial;
    /* GSAP ScrollSmoother would override this if used, but we'll use normal scrolling for now */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-blue);
}

/* Glassmorphism Classes */
.glass-nav {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ease-expo {
    transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
}

@media (max-width: 768px) {
    section {
        padding: 3rem 1.25rem !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }

    .hero-tag {
        font-size: 0.75rem !important;
    }

    .hero-desc {
        font-size: 0.95rem !important;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
}

.glass-nav-scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

/* Animations */
@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

.loading-text {
    letter-spacing: 0.5em;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* Parallax Adjustments */
.hero-bg,
.parallax-bg {
    will-change: transform;
}

/* Utility */
.clip-path-slant {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

/* Product Card Effects */
.product-card:hover {
    transform: translateY(-15px);
    transition: transform 0.3s ease;
}

/* Floating Animation */
.floating-img {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Contact Input focus */
input:focus~label,
select:focus~label,
textarea:focus~label {
    color: var(--primary-blue);
}

/* Hide Scrollbar */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}