/* =========================================================
   AURORA THEME - NAVBAR.CSS
   - Global Reset & Base
   - Structural Layout
   - Components (Logo, Menu, Actions)
   - Animations
   - Responsive Media Queries
========================================================= */

/* =========================================================
   1. GLOBAL RESET & BASE
========================================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: "Segoe UI", sans-serif;
    /* background: var(--surface-primary);
    color: var(--text-primary); */
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.35s ease;
}

img {
    display: block;
    max-width: 100%;
}

button {
    border: none;
    outline: none;
    background: var(--button-primary-bg);
    cursor: pointer;
}

ul, ol {
    list-style: none;
}

/* Helper Utility Classes */
.fixed { position: fixed; }
.absolute { position: absolute; }
.sticky { position: sticky; top: 0; }
.relative { position: relative; background: var(--navbar-bg); }

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.mobile-nav,
.mobile-actions {
    display: none;
}

/* =========================================================
   2. NAVBAR LAYOUT
========================================================= */
.navbar {
    position: relative;
    top: 0;
    width: 100%;
    max-width: var(--nav-max-width);
    z-index: 1000;
    padding: var(--space-0);
    background: transparent;
    box-shadow: var(--navbar-shadow);
    margin-top: var(--space-0);
}

.nav-container {
    position: relative;
    width: 100%;
    min-height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--container-padding);
    border-radius: var(--nav-radius);
    background: var(--surface-gradient);
    border: 1px solid var(--border-secondary);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: var(--transition);
}

.nav-container:hover {
    box-shadow: var(--shadow-lg);
}

/* Ambient Top/Bottom Border Gradients */
.nav-container::before,
.nav-container::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
}

.nav-container::before {
    top: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.nav-container::after {
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(248, 193, 70, 0.22), transparent);
}

.nav-right {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    padding-left: 40px;
    transition: all 0.35s ease;
}

/* =========================================================
   3. LOGO SECTION
========================================================= */
.logo-container,
.logo-container-default {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    transition: var(--transition);
}

.logo-image {
    width: 85px;
    height: 85px;
    min-width: 56px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-secondary);
    border: 3px solid rgba(255, 255, 255, 0.70);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder {
    background: var(--surface-gradient);
    color: var(--text-light);
    font-size: 28px;
    font-weight: 700;
    user-select: none;
}

.company-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.company-details h1 {
    margin: 0;
    color: var(--on-surface-gradient);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.company-details span {
    display: block;
    color: var(--text-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: var(--transition);
}

/* Logo Hover State */
.logo:hover {
    transform: translateY(-2px);
}

.logo:hover .logo-image {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18), 0 0 0 6px rgba(0, 184, 148, 0.12);
}

.logo:hover .company-details h1 {
    color: var(--brand-accent);
}

.logo:hover .company-details span {
    color: #ffffff;
}

/* =========================================================
   4. TOP INFO BAR
========================================================= */
.top-info {
    display: flex;
    justify-content: flex-end;
    min-height: 36px;
    gap: 20px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--topbar-divider);
}

.top-info-left,
.top-info-right {
    display: flex;
    gap: 22px;
    list-style: none;
}

.top-info a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--on-surface-gradient);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.top-info a i {
    color: var(--brand-accent);
    font-size: 13px;
    transition: var(--transition);
}

.top-info a:hover {
    color: var(--brand-accent);
    transform: translateY(-1px);
}

.top-info-left a:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 14px;
    margin-left: 18px;
    background: var(--border-light);
}

/* =========================================================
   5. NAVIGATION MENU & LINKS
========================================================= */
.bottom-navbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 0px 0px 7px 0px;
}

.nav-links {
    /* display: flex; */
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-left: 0;
    flex: 1;
}

.nav-links a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.25px;
    color: var(--surface-highlight);
    transition: var(--transition);
}

.nav-links a:not(.quote-btn)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 50px;
    background: var(--brand-accent);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--brand-accent);
    transform: translateY(-2px);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links-menu li,
.nav-links li {
    color: var(--text-light);
    margin: 0 15px;
    position: relative;
    cursor: pointer;
}

/* =========================================================
   6. NAV ACTIONS & BUTTONS
========================================================= */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: 24px;
    flex-shrink: 0;
    cursor: pointer;
}

/* Icon Button */
.icon-btn {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--icon-bg);
    color: var(--icon-color);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: all 0.35s ease;
}

.icon-btn i {
    position: relative;
    z-index: 2;
    font-size: 17px;
    transition: var(--transition);
}

.icon-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--surface-highlight);
    opacity: 0;
    transform: scale(0.4);
    transition: 0.35s ease;
}

.icon-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.icon-btn:hover::before {
    opacity: 1;
    transform: scale(1);
}

.icon-btn:hover i {
    color: var(--icon-hover-color);
}

.icon-btn:first-child:hover {
    transform: translateY(-3px) rotate(8deg);
}

.icon-btn:last-child:hover {
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
}

/* Quote Button */
.quote-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 23px;
    border-radius: 999px;
    background: linear-gradient(135deg, #bffb2e, #8be61a);
    color: #17353d;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(191, 251, 46, 0.35);
    animation: quoteFloat 2.8s ease-in-out infinite;
    transition: all 0.35s ease;
}

.quote-btn i {
    font-size: 15px;
    transition: 0.35s;
}

.quote-btn span {
    position: relative;
    z-index: 2;
}

.quote-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: skewX(-25deg);
    transition: 0.8s;
}

.quote-btn:hover {
    transform: translateY(-4px);
    color: #17353d;
    box-shadow: 0 18px 40px rgba(191, 251, 46, 0.45), 0 0 0 6px rgba(191, 251, 46, 0.15);
}

.quote-btn:hover::before {
    left: 150%;
}

.quote-btn:hover i {
    transform: translateX(3px);
}

.quote-btn:active {
    transform: scale(0.96);
}

/* Mobile Toggle Hamburger */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    color: var(--icon-color);
    font-size: 26px;
    cursor: pointer;
    transition: var(--transition);
}

/* Accessibility Focus States */
.nav-links a:focus-visible,
.menu-toggle:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 3px;
}




/* =========================================================
   7. ANIMATIONS
========================================================= */
@keyframes quoteFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@keyframes royalMenu {
    from {
        opacity: 0;
        transform: translateY(-15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-right.active,
.nav-links.active {
    animation: royalMenu 0.35s ease;
}

/* =========================================================
   8. RESPONSIVE MEDIA QUERIES
========================================================= */

/* Desktop Screens */
@media (min-width: 1600px) {
    .bottom-navbar .nav-links {
        gap: 36px;
    }
}

@media (min-width: 1400px) {
    .single-navbar {
        max-width: 1400px;
    }
}

/* Laptops & Small Desktop */
@media (max-width: 1200px) {
    .nav-right {
        padding-left: 24px;
    }
    .top-info-left,
    .top-info-right {
        gap: 14px;
    }
    .top-info a {
        font-size: 12px;
    }
    .bottom-navbar .nav-links {
        gap: 18px;
    }
    .bottom-navbar .nav-links a {
        font-size: 14px;
    }
    .nav-actions {
        gap: 10px;
    }
    .nav-actions {
        padding: 12px 24px;
    }
}

/* Tablets (Merged 992px Breakpoints) */
@media (max-width: 992px) {
    .desktop-nav,
    .top-info,
    .nav-actions {
        display: none !important;
    }

    .menu-toggle {
        display: flex;
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
    }

    .mobile-actions {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: auto;
    }

    .mobile-quote {
        padding: 10px 18px;
        font-size: 14px;
        animation: none;
    }

    .mobile-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        border-radius: 16px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        z-index: 999999999;
    }

    .mobile-nav.active {
        display: flex;
    }

    .mobile-nav a {
        width: 100%;
        padding: 16px 20px;
        border-bottom: 1px solid #eeeeee;
    }

    .nav-right {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        width: 100%;
        background: var(--nav-mobile-bg, #ffffff);
        border: 1px solid var(--nav-mobile-border, #eeeeee);
        border-radius: 16px;
        box-shadow: var(--shadow-lg);
        padding: 20px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-15px);
        transition: var(--transition);
        z-index: 100;
    }

    .nav-right.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .bottom-navbar {
        display: block;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    /* .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 18px;
        border-radius: 14px;
        background: var(--surface-secondary, #ffffff);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
        border: 1px solid var(--border-primary, #eeeeee);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-15px);
        transition: 0.35s ease;
        z-index: 100;
    } */

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        background: #ffffff;
        border-radius: 18px;
        overflow: hidden;
    }

    .nav-links a {
        width: 100%;
        padding: 16px 20px;
        display: flex;
        align-items: center;
        gap: 15px;
        font-size: 15px;
        border-bottom: 1px solid #eeeeee;
        justify-content: flex-start;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover {
        color: var(--brand-primary);
        padding-left: 16px;
    }

    .nav-links a i {
        width: 20px;
        color: var(--brand-primary);
    }
}

/* Mobile Screens (Merged 768px Breakpoints) */
@media (max-width: 768px) {
    .single-navbar {
        padding: 6px;
    }

    .nav-container {
        min-height: 70px;
        padding: 14px 16px;
    }

    .logo {
        gap: 10px;
    }

    .logo-image {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .company-details h1 {
        font-size: 18px;
    }

    .company-details span {
        font-size: 11px;
        letter-spacing: 0.8px;
    }

    .icon-btn {
        width: 42px;
        height: 42px;
    }

    .icon-btn i {
        font-size: 15px;
    }
}

/* Small Mobile Screens (Merged 576px Breakpoints) */
@media (max-width: 576px) {
    .single-navbar {
        padding: 5px;
    }

    .nav-container {
        min-height: 66px;
        padding: 12px 14px;
        border-radius: 10px;
    }

    .logo-image {
        width: 46px;
        height: 46px;
        min-width: 46px;
        border-width: 2px;
    }

    .logo-placeholder {
        font-size: 22px;
    }

    .company-details h1 {
        font-size: 16px;
    }

    .company-details span {
        display: none;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .nav-right {
        padding: 16px;
    }

    .nav-links {
        padding: 14px;
    }

    .nav-links a,
    .bottom-navbar .nav-links a {
        font-size: 14px;
        padding: 13px 4px;
    }
}