/**
 * NAVIGATION DESKTOP - Clean BEM Architecture
 * 
 * Pure desktop navigation CSS - no mobile, no sticky, no theme overrides
 * Clean BEM methodology for maintainable code
 * 
 * @package RentAssistenz  
 * @version 3.0.0 - Modular Split Architecture
 * @priority 5
 */

/* =============================================================================
   DESKTOP NAVIGATION - BEM ARCHITECTURE 
   ============================================================================= */

/* CSS Custom Properties */
:root {
    /* Desktop Navigation Colors */
    --rent-nav-desktop-bg: #ffffff;
    --rent-nav-desktop-text: #333333;
    --rent-nav-desktop-text-hover: #007cba;
    --rent-nav-desktop-border: rgba(0, 124, 186, 0.1);
    
    /* Desktop Navigation Layout */
    --rent-nav-desktop-height: 70px;
    --rent-nav-desktop-padding: 1rem 1.5rem;
    --rent-nav-desktop-item-spacing: 1.5rem;
    --rent-nav-desktop-transition: all 0.3s ease;
}

/* ===== DESKTOP NAVIGATION BASE ===== */

.nav-desktop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* NO min-height - BEM classes should not define layout height */
    padding: var(--rent-nav-desktop-padding);
    background: var(--rent-nav-desktop-bg);
    transition: var(--rent-nav-desktop-transition);
}

.nav-desktop__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Ensure proper spacing from edges */
}

/* ===== DESKTOP LOGO ===== */

.nav-desktop__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    order: 1;
}

.nav-desktop__logo img {
    height: 45px;
    width: auto;
    transition: var(--rent-nav-desktop-transition);
}

/* ===== DESKTOP NAVIGATION MENU ===== */

.nav-desktop__menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--rent-nav-desktop-item-spacing);
}

.nav-desktop__item {
    position: relative;
}

.nav-desktop__link {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--rent-nav-desktop-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--rent-nav-desktop-transition);
    border-radius: 6px;
}

.nav-desktop__link:hover {
    color: var(--rent-nav-desktop-text-hover);
    background: rgba(0, 124, 186, 0.05);
}

.nav-desktop__link--active {
    color: var(--rent-nav-desktop-text-hover);
    font-weight: 600;
}

/* ===== DESKTOP CTA BUTTON ===== */

.nav-desktop__cta {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--rent-nav-desktop-text-hover);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--rent-nav-desktop-transition);
}

.nav-desktop__cta:hover {
    background: #005a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
}

.nav-desktop__cta i {
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* ===== WORDPRESS THEME COMPATIBILITY ===== */

/* NOTE: Theme class styling moved to nav-theme-overrides.css to prevent duplicate navigation bars */
/* This file contains only pure BEM classes for clean desktop navigation */

/* ===== RESPONSIVE DESKTOP ===== */

/* Hide mobile elements on desktop */
@media (min-width: 992px) {
    .nav-mobile,
    .nav-mobile__toggle,
    .navbar-toggler,
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-desktop,
    .nav-desktop__menu {
        display: flex;
    }
}

/* Large desktop optimization */
@media (min-width: 1200px) {
    .nav-desktop__logo img {
        height: 50px;
    }
    
    .nav-desktop__item-spacing {
        --rent-nav-desktop-item-spacing: 2rem;
    }
}

/* =============================================================================
   ACCESSIBILITY & PERFORMANCE
   ============================================================================= */

/* Focus styles for keyboard navigation */
.nav-desktop__link:focus,
.nav-desktop__cta:focus {
    outline: 2px solid var(--rent-nav-desktop-text-hover);
    outline-offset: 2px;
}

/* High contrast support */
@media (prefers-contrast: high) {
    .nav-desktop__link {
        border: 1px solid transparent;
    }
    
    .nav-desktop__link:hover,
    .nav-desktop__link:focus {
        border-color: var(--rent-nav-desktop-text-hover);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .nav-desktop,
    .nav-desktop__link,
    .nav-desktop__cta,
    .nav-desktop__logo img {
        transition: none;
    }
    
    .nav-desktop__cta:hover {
        transform: none;
    }
}