/*
Theme Name: Billionaires Font
Theme URI: https://billionairesfont.com
Author: Anubhav Kumar Srivastava
Author URI: https://billionairesfont.com
Description: Future ready custom WordPress theme with Fonts CPT
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
Text Domain: billionairesfont
*/

       :root {
            --font-serif: 'Playfair Display', serif;
            --font-sans: 'Inter', sans-serif;
            --primary-black: #111;
            --text-gray: #666;
            --accent-blue: #2563eb;
            --border-color: #eee;
        }

        body {
            font-family: var(--font-sans);
            color: var(--primary-black);
            background-color: #fff;
            padding-top: 20px;
        }

        /* --- Navbar Styles --- */
        .navbar {
            padding-bottom: 0; /* Align link borders to bottom */
        }

        .navbar-brand {
            font-family: var(--font-serif);
            font-weight: 700;
            font-size: 1.5rem;
            position: relative;
        }

        .brand-subtitle {
            display: block;
            font-family: var(--font-sans);
            font-size: 0.6rem;
            letter-spacing: 1px;
            color: #999;
            text-transform: uppercase;
            font-weight: 500;
            margin-top: -5px;
        }

        .nav-link {
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            color: #555 !important;
            letter-spacing: 0.5px;
            padding: 1.5rem 1rem !important; /* Tall click area */
            position: relative;
            transition: color 0.2s;
        }

        .nav-link:hover, .nav-item.show .nav-link {
            color: #000 !important;
        }

        /* Active underline for Catalog */
        .nav-item.active-menu .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 1rem;
            right: 1rem;
            height: 2px;
            background-color: #000;
        }

        /* Search Bar */
        .search-container {
            position: relative;
            min-width: 300px;
        }

        .search-input {
            background-color: #f9f9f9;
            border: 1px solid transparent;
            border-radius: 50px;
            padding: 0.6rem 1rem 0.6rem 2.5rem;
            font-size: 0.9rem;
            width: 100%;
            transition: border 0.2s;
        }
        
        .search-input:focus {
            background-color: #fff;
            border-color: #ddd;
            box-shadow: none;
        }

        .search-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #aaa;
        }

        /* --- Mega Menu Specifics --- */
        
        /* 1. Desktop Hover Logic */
        @media (min-width: 992px) {
            .nav-item.dropdown {
                position: static; /* Allows menu to be full width of container */
            }
            
            .dropdown-menu.mega-menu {
                width: 100%;
                left: 0;
                right: 0;
                margin-top: 0;
                border: none;
                border-top: 1px solid var(--border-color);
                border-bottom: 1px solid var(--border-color);
                border-radius: 0;
                box-shadow: 0 10px 30px rgba(0,0,0,0.05);
                display: none; /* Hidden by default */
                padding: 3rem 2rem;
            }

            /* The Hover Magic */
            .nav-item.dropdown:hover .dropdown-menu {
                display: block;
                animation: fadeIn 0.2s ease-in-out;
            }
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* 2. Mega Menu Content Styling */
        .mega-menu-title {
            font-family: var(--font-serif);
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .mega-menu-text {
            color: var(--text-gray);
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .link-bold {
            font-weight: 700;
            text-transform: uppercase;
            font-size: 0.75rem;
            letter-spacing: 0.5px;
            text-decoration: none;
            color: #000;
            border-bottom: 2px solid #ddd;
            padding-bottom: 2px;
            transition: border-color 0.2s;
        }

        .link-bold:hover {
            border-color: #000;
        }

        .list-header {
            font-size: 0.7rem;
            font-weight: 700;
            text-transform: uppercase;
            color: #bbb;
            letter-spacing: 1px;
            margin-bottom: 1rem;
        }

        .menu-list {
            list-style: none;
            padding: 0;
        }

        .menu-list li {
            margin-bottom: 0.8rem;
        }

        .menu-list a {
            text-decoration: none;
            color: #444;
            font-size: 0.95rem;
            transition: color 0.2s;
        }

        .menu-list a:hover {
            color: var(--accent-blue);
        }

        /* 3. Foundry Spotlight Card */
        .spotlight-card {
            background-color: #fcfcfc;
            border: 1px solid #f0f0f0;
            border-radius: 12px;
            padding: 2rem;
            height: 100%;
            position: relative;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
        }

        .spotlight-label {
            font-size: 0.65rem;
            font-weight: 700;
            color: var(--accent-blue);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 0.8rem;
            display: block;
        }

        .spotlight-title {
            font-family: var(--font-serif);
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
        }

        .spotlight-desc {
            font-size: 0.9rem;
            color: var(--text-gray);
            line-height: 1.5;
            margin-bottom: 1.5rem;
        }

        .circle-logo {
            width: 80px;
            height: 80px;
            background: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-serif);
            font-size: 1.8rem;
            font-weight: 700;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            flex-shrink: 0;
            margin-left: 20px;
        }

        .explore-link {
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            text-decoration: none;
            color: #111;
        }

       