/* ==========================================================================
   Executive Luxury Header, Navigation & Alerts
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Top Utility Bar
   -------------------------------------------------------------------------- */
.header-topbar {
    background-color: #0b1329;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-topbar a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-topbar a:hover {
    color: #42bac2;
}

.badge-pulse {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(152, 199, 57, 0.15);
    color: #98c739;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(152, 199, 57, 0.3);
}

.pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #98c739;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(152, 199, 57, 0.7);
    animation: pulse-animation 1.6s infinite;
}

@keyframes pulse-animation {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(152, 199, 57, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(152, 199, 57, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(152, 199, 57, 0); }
}

/* --------------------------------------------------------------------------
   2. Main Sticky Navigation Bar
   -------------------------------------------------------------------------- */
.navbar-custom {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(66, 186, 194, 0.14);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

/* --------------------------------------------------------------------------
   3. Brand Logo (Solo Image WebP)
   -------------------------------------------------------------------------- */
.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 2px 0;
}

.navbar-brand-logo {
    height: 56px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-logo-wrap:hover .navbar-brand-logo {
    transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   4. Navigation Links & Underline Interaction
   -------------------------------------------------------------------------- */
.nav-link-custom {
    font-weight: 600;
    font-size: 0.94rem;
    color: #334155 !important;
    padding: 0.5rem 1.1rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: #42bac2;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
}

.nav-link-custom:hover,
.nav-link-custom.active {
    color: #42bac2 !important;
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
    width: 65%;
}

/* --------------------------------------------------------------------------
   5. CTA Schedule Button
   -------------------------------------------------------------------------- */
.btn-nav-schedule-premium {
    background: linear-gradient(135deg, #98c739 0%, #7ea82b 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1.45rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 8px 20px rgba(152, 199, 57, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
}

.btn-nav-schedule-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(152, 199, 57, 0.5);
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   6. Alert Styling
   -------------------------------------------------------------------------- */
.alert-warning {
    background-color: #fffbeb;
    border: 1px solid #fde68a !important;
    color: #92400e;
    border-radius: 14px;
    padding: 1rem 1.25rem;
}

.alert-warning .alert-link {
    color: #b45309;
    font-weight: 700;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   7. Mobile & Tablet Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #ffffff;
        padding: 1.5rem;
        border-radius: 20px;
        margin-top: 14px;
        box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
        border: 1px solid rgba(66, 186, 194, 0.15);
        text-align: center;
    }

    .nav-link-custom {
        padding: 0.75rem 1rem !important;
        font-size: 1rem;
    }

    .nav-link-custom::after {
        display: none;
    }

    .navbar-brand-logo {
        height: 48px;
        max-width: 170px;
    }

    .btn-nav-schedule-premium {
        width: 100%;
        max-width: 300px;
        margin: 10px auto 0 auto;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand-logo {
        height: 42px;
        max-width: 145px;
    }

    .alert {
        font-size: 0.88rem;
    }
}