/* ============================================ */
/* COMPREHENSIVE NAVBAR - nav prefix            */
/* (Mobile dropdowns removed - show as links)   */
/* ============================================ */

/* Top Bar */
.nav-topbar {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    font-size: 0.8rem;
    border-bottom: 2px solid var(--red);
    position: relative;
    z-index: 101;
    transition: transform 0.3s ease;
  }
  
  .nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .nav-topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-topbar-left {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .nav-topbar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
  }
  
  .nav-topbar-item svg {
    flex-shrink: 0;
  }
  
  .nav-topbar-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
  
  .nav-topbar-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.3s;
  }
  
  .nav-topbar-link:hover {
    color: white;
  }
  
  .nav-topbar-cta {
    background: var(--red);
    color: white;
    padding: 0.3rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
  }
  
  .nav-topbar-cta:hover {
    background: var(--red-dark);
    color: white !important;
    transform: scale(1.05);
  }
  
  .nav-topbar-cta-dot {
    width: 6px;
    height: 6px;
    background: #4CAF50;
    border-radius: 50%;
    display: inline-block;
    animation: navPulse 1.5s ease-in-out infinite;
  }
  
  @keyframes navPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
  }
  
  /* Main Navigation */
  .nav-main {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(230, 57, 70, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s;
  }
  
  .nav-main.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.98);
  }
  
  .nav-main-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
    gap: 1.5rem;
  }
  
  /* Logo */
  .nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    flex-shrink: 0;
  }
  
  .nav-logo-icon {
    font-size: 2rem;
  }
  
  .nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--dark);
  }
  
  .nav-logo-text span {
    color: var(--red);
  }
  
  .nav-logo-tag {
    font-size: 0.6rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-left: 0.3rem;
    font-weight: 500;
    display: none;
  }
  
  @media (min-width: 992px) {
    .nav-logo-tag {
      display: inline;
    }
  }
  
  /* Navigation Menu */
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .nav-item {
    position: relative;
  }
  
  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    color: var(--dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
  }
  
  .nav-link-icon {
    font-size: 1.1rem;
  }
  
  .nav-link:hover,
  .nav-link.active {
    color: var(--red);
    background: rgba(230, 57, 70, 0.04);
  }
  
  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
  }
  
  /* ============================================ */
  /* DESKTOP DROPDOWN (992px+)                    */
  /* ============================================ */
  
  .nav-dropdown-arrow {
    transition: transform 0.3s;
  }
  
  .nav-dropdown-trigger[aria-expanded="true"] .nav-dropdown-arrow {
    transform: rotate(180deg);
  }
  
  .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    border-radius: 16px;
    padding: 2rem;
    min-width: 800px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(230, 57, 70, 0.05);
    z-index: 102;
  }
  
  .nav-dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
  }
  
  .nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 16px;
    height: 16px;
    background: white;
    border-top: 1px solid rgba(230, 57, 70, 0.05);
    border-left: 1px solid rgba(230, 57, 70, 0.05);
  }
  
  .nav-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  
  .nav-dropdown-about .nav-dropdown-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .nav-dropdown-column {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .nav-dropdown-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--cream);
    margin-bottom: 0.5rem;
  }
  
  .nav-dropdown-icon {
    font-size: 1.2rem;
  }
  
  .nav-dropdown-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }
  
  .nav-dropdown-list li a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.3rem 0;
    display: block;
    transition: all 0.3s;
  }
  
  .nav-dropdown-list li a:hover {
    color: var(--red);
    transform: translateX(5px);
  }
  
  /* Dropdown Featured */
  .nav-dropdown-featured {
    background: var(--dark);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
    overflow: hidden;
  }
  
  .nav-dropdown-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(230, 57, 70, 0.1), transparent 60%);
  }
  
  .nav-featured-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
  }
  
  .nav-featured-badge {
    display: inline-block;
    background: var(--red);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.8rem;
  }
  
  .nav-featured-content h4 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  
  .nav-featured-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
  
  .nav-featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--red);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
  }
  
  .nav-featured-btn:hover {
    gap: 1rem;
    color: white;
  }
  
  /* Nav Actions */
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
  }
  
  .nav-search-toggle {
    background: transparent;
    border: none;
    color: var(--dark);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-search-toggle:hover {
    background: rgba(230, 57, 70, 0.04);
    color: var(--red);
  }
  
  .nav-btn-primary {
    background: var(--red);
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
  }
  
  .nav-btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.25);
    gap: 1rem;
  }
  
  .nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }
  
  .nav-mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s;
  }
  
  .nav-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  /* Search Bar */
  .nav-search-bar {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
  
  .nav-search-bar.active {
    max-height: 80px;
  }
  
  .nav-search-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(230, 57, 70, 0.05);
  }
  
  .nav-search-wrapper input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: 2px solid rgba(230, 57, 70, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
  }
  
  .nav-search-wrapper input:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.05);
  }
  
  .nav-search-close {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--gray);
    padding: 0.5rem;
    transition: color 0.3s;
  }
  
  .nav-search-close:hover {
    color: var(--red);
  }
  
  /* ============================================ */
  /* RESPONSIVE - DROPDOWNS REMOVED ON MOBILE    */
  /* ============================================ */
  
  @media (max-width: 1200px) {
    .nav-dropdown-menu {
      min-width: 700px;
    }
    
    .nav-dropdown-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    
    .nav-dropdown-featured {
      display: none;
    }
    
    .nav-dropdown-about .nav-dropdown-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  /* ============================================ */
  /* MOBILE RESPONSIVE - DROPDOWNS REMOVED       */
  /* ============================================ */
  
  @media (max-width: 992px) {
    .nav-topbar {
      display: none;
    }
    
    .nav-mobile-toggle {
      display: flex;
    }
    
    /* Mobile Menu */
    .nav-menu {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: white;
      flex-direction: column;
      padding:0 2rem;
      gap: 0;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
      border-top: 1px solid rgba(230, 57, 70, 0.05);
      z-index: 103;
    }
    
    .nav-menu.active {
      max-height: 600px;
      overflow-y: auto;
    }
    
    .nav-item {
      width: 100%;
      position: relative;
    }
    
    .nav-link {
      padding: 0.8rem 0;
      border-bottom: 1px solid rgba(230, 57, 70, 0.03);
      width: 100%;
      justify-content: flex-start;
    }
    
    .nav-link.active::after {
      bottom: 0;
    }
    
    /* ============================================ */
    /* MOBILE: DROPDOWN CONVERTED TO LINKS        */
    /* ============================================ */
    
    /* Hide dropdown arrow on mobile */
    .nav-dropdown-arrow {
      display: none !important;
    }
    
    /* Remove dropdown trigger behavior */
    .nav-dropdown-trigger {
      pointer-events: all;
      cursor: pointer;
    }
    
    /* Dropdown becomes a simple link on mobile */
    .nav-dropdown-menu {
      position: relative !important;
      top: 0 !important;
      left: 0 !important;
      right: 0 !important;
      transform: none !important;
      opacity: 1 !important;
      visibility: visible !important;
      pointer-events: all !important;
      min-width: auto !important;
      padding: 0 !important;
      box-shadow: none !important;
      border: none !important;
      background: transparent !important;
      max-height: 0 !important;
      overflow: hidden !important;
      transition: none !important;
      border-radius: 0 !important;
      margin: 0 !important;
    }
    
    /* We hide the dropdown content on mobile */
    .nav-dropdown-menu.active {
      max-height: 0 !important;
      padding: 0 !important;
      margin: 0 !important;
      border: none !important;
      background: transparent !important;
    }
    
    /* Show mobile sub-links as indented list items */
    .nav-dropdown-list {
      display: none !important;
    }
    
    /* ============================================ */
    /* MOBILE: SERVICES & ABOUT AS SIMPLE LINKS   */
    /* ============================================ */
    
    /* On mobile, the dropdown triggers become simple links */
    .nav-dropdown-trigger .nav-link-icon {
      font-size: 1.1rem;
    }
    
    /* No dropdown indication on mobile */
    .nav-dropdown-trigger::after {
      display: none !important;
    }
    
    /* Mobile sub-navigation - hidden entirely */
    .nav-dropdown-column,
    .nav-dropdown-title,
    .nav-dropdown-featured,
    .nav-featured-content {
      display: none !important;
    }
    
    /* Hide desktop CTA text */
    .nav-btn-primary span {
      display: none;
    }
  }
  
  @media (max-width: 576px) {
    .nav-container {
      padding: 0 1rem;
    }
    
    .nav-logo-text {
      font-size: 1.2rem;
    }
    
    .nav-logo-icon {
      font-size: 1.5rem;
    }
    
    .nav-btn-primary {
      padding: 0.5rem 1rem;
    }
    
    .nav-btn-primary svg {
      width: 16px;
      height: 16px;
    }
    
    .nav-search-wrapper input {
      font-size: 0.9rem;
      padding: 0.6rem 1rem;
    }
    
    /* Mobile menu padding */
    .nav-menu.active {
      padding: 1rem;
      max-height: 500px;
    }
  }
  
  /* ============================================ */
  /* BODY OVERLAY FOR MOBILE MENU                */
  /* ============================================ */
  
  body.nav-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 98;
    animation: navOverlayFade 0.3s ease;
  }
  
  @keyframes navOverlayFade {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  /* ============================================ */
  /* IMPROVED SCROLLBAR FOR MOBILE MENU          */
  /* ============================================ */
  
  .nav-menu.active::-webkit-scrollbar {
    width: 4px;
  }
  
  .nav-menu.active::-webkit-scrollbar-track {
    background: rgba(230, 57, 70, 0.05);
  }
  
  .nav-menu.active::-webkit-scrollbar-thumb {
    background: var(--red);
    border-radius: 4px;
  }