/* =============================================
   WebLaunch Meerut — Custom Styles
   (Tailwind v4 CDN handles utility classes)
   ============================================= */

/* --- Font Family Tokens --- */
.font-heading {
    font-family: 'Lexend', sans-serif;
}
body {
    font-family: 'Karla', sans-serif;
}

/* --- Brand Logo Image in Header --- */
.brand-logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 2px;
}

/* --- Scroll-to-Top Button Transitions --- */
#scrollTopBtn {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#scrollTopBtn.visible {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* --- Mobile Bottom Navigation Bar --- */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 767px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 50;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid #e2e8f0;
        padding: 6px 0;
        padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px));
        justify-content: space-around;
        align-items: center;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
    }

    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        padding: 6px 10px;
        font-size: 10px;
        font-weight: 600;
        color: #64748b;
        text-decoration: none;
        transition: color 0.2s ease;
        font-family: 'Lexend', sans-serif;
        letter-spacing: 0.01em;
    }

    .mobile-bottom-nav a i {
        font-size: 18px;
        margin-bottom: 1px;
    }

    .mobile-bottom-nav a:hover,
    .mobile-bottom-nav a:active,
    .mobile-bottom-nav a.active {
        color: #4f46e5;
    }

    /* Hide desktop header nav links on mobile (they're in bottom nav) */
    .desktop-nav-links {
        display: none !important;
    }

    /* Footer needs padding above the bottom nav */
    footer {
        padding-bottom: 70px !important;
    }

    /* Move FABs above the bottom nav */
    .fab-container {
        bottom: 80px !important;
    }
}

/* --- Footer: prevent text wrapping on desktop --- */
@media (min-width: 768px) {
    footer .footer-inner {
        flex-wrap: nowrap;
        white-space: nowrap;
    }
    footer .footer-inner > div {
        flex-shrink: 0;
    }
    footer .footer-inner p {
        white-space: normal;
        max-width: none;
    }
}
